summaryrefslogtreecommitdiffstats
path: root/src/fig
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-23 15:30:23 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-23 15:30:23 +0200
commit02128c92b1cbe5a7c12739872e477e95f0ccf8f5 (patch)
treef5fe916fda77df1e126a4ebcbbece56545816155 /src/fig
parent263b13f0c81952d2355607cce0212916c6f4040e (diff)
downloaddabmux-02128c92b1cbe5a7c12739872e477e95f0ccf8f5.tar.gz
dabmux-02128c92b1cbe5a7c12739872e477e95f0ccf8f5.tar.bz2
dabmux-02128c92b1cbe5a7c12739872e477e95f0ccf8f5.zip
Update FIG0/9 to EN 300 401 V2.1.1
Diffstat (limited to 'src/fig')
-rw-r--r--src/fig/FIG0.cpp4
-rw-r--r--src/fig/FIG0.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/fig/FIG0.cpp b/src/fig/FIG0.cpp
index 4ac4e5e..c9e57dd 100644
--- a/src/fig/FIG0.cpp
+++ b/src/fig/FIG0.cpp
@@ -777,7 +777,7 @@ FillStatus FIG0_9::fill(uint8_t *buf, size_t max_size)
fig0_9->Extension = 9;
fig0_9->ext = 0;
- fig0_9->lto = 0; // Unique LTO for ensemble
+ fig0_9->rfa1 = 0; // Had a different meaning in EN 300 401 V1.4.1
if (ensemble->lto_auto) {
time_t now = time(NULL);
@@ -799,6 +799,8 @@ FillStatus FIG0_9::fill(uint8_t *buf, size_t max_size)
buf += 5;
remaining -= 5;
+ /* No extended field, no support for services with different ECC */
+
fs.num_bytes_written = max_size - remaining;
fs.complete_fig_transmitted = true;
return fs;
diff --git a/src/fig/FIG0.h b/src/fig/FIG0.h
index 3a0113b..dcd0df1 100644
--- a/src/fig/FIG0.h
+++ b/src/fig/FIG0.h
@@ -421,7 +421,7 @@ struct FIGtype0_9 {
uint8_t CN:1;
uint8_t ensembleLto:6;
- uint8_t lto:1;
+ uint8_t rfa1:1;
uint8_t ext:1;
uint8_t ensembleEcc;
uint8_t tableId;