From 477345c3411cbf25ac6a1011845eca067f6e75bf Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 7 Aug 2015 10:54:59 +0200 Subject: Move FIG0/17 to rate A_B --- src/fig/FIG.h | 12 +++++++----- src/fig/FIG0.h | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/fig/FIG.h b/src/fig/FIG.h index 6bcb42b..207b299 100644 --- a/src/fig/FIG.h +++ b/src/fig/FIG.h @@ -54,11 +54,12 @@ enum class FIG_rate { every fourth transmission frame. In transmission mode IV, this should be the first FIB (of the three) associated with the first CIF (of the two) in every alternate transmission frame (see clause 5.1). */ - A, // at least 10 times per second - B, // once per second - C, // once every 10 seconds - D, // less than once every 10 seconds - E, // all in two minutes + A, // at least 10 times per second + A_B, // between 10 times and once per second + B, // once per second + C, // once every 10 seconds + D, // less than once every 10 seconds + E, // all in two minutes }; /* Helper function to calculate the deadline for the next transmission, in milliseconds */ @@ -67,6 +68,7 @@ inline int rate_increment_ms(FIG_rate rate) switch (rate) { case FIG_rate::FIG0_0: return 96; // Is a special case case FIG_rate::A: return 100; + case FIG_rate::A_B: return 200; case FIG_rate::B: return 1000; case FIG_rate::C: return 10000; case FIG_rate::D: return 30000; diff --git a/src/fig/FIG0.h b/src/fig/FIG0.h index 1ba59df..8797931 100644 --- a/src/fig/FIG0.h +++ b/src/fig/FIG0.h @@ -108,7 +108,7 @@ class FIG0_17 : public IFIG public: FIG0_17(FIGRuntimeInformation* rti); virtual FillStatus fill(uint8_t *buf, size_t max_size); - virtual FIG_rate repetition_rate(void) { return FIG_rate::A; } + virtual FIG_rate repetition_rate(void) { return FIG_rate::A_B; } virtual const int figtype(void) const { return 0; } virtual const int figextension(void) const { return 17; } -- cgit v1.2.3