summaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-03-17 19:28:34 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-03-17 19:32:24 +0100
commitd2a4c375f1ef7af7c7bc4f02ad2dc0d919f2c488 (patch)
treee6efc78727f45627d246708661343fcfc9f9d6b8 /src/ConfigParser.cpp
parent75cbae6e7446686ff36fae15016b3f8eb76b1ad6 (diff)
downloaddabmux-d2a4c375f1ef7af7c7bc4f02ad2dc0d919f2c488.tar.gz
dabmux-d2a4c375f1ef7af7c7bc4f02ad2dc0d919f2c488.tar.bz2
dabmux-d2a4c375f1ef7af7c7bc4f02ad2dc0d919f2c488.zip
Setup FIG0/13 for Broadcast Website with profiles 01 FF
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index eb30e3a..fd367ec 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -824,10 +824,15 @@ void parse_ptree(
// This was previously hardcoded in FIG0/13 and means "MOT, start of X-PAD data group"
ua.xpadAppType = 12;
+ ua.xpadAppType_valid = true;
}
else if (ua_value == "spi") {
ua.uaType = FIG0_13_APPTYPE_SPI;
ua.xpadAppType = 16;
+ ua.xpadAppType_valid = true;
+ }
+ else if (ua_value == "website") {
+ ua.uaType = FIG0_13_APPTYPE_WEBSITE;
}
if (component->isPacketComponent(ensemble->subchannels)) {
@@ -858,6 +863,7 @@ void parse_ptree(
// This was previously hardcoded in FIG0/13 and means "MOT, start of X-PAD data group"
ua.xpadAppType = 12;
+ ua.xpadAppType_valid = true;
if (component->isPacketComponent(ensemble->subchannels)) {
component->packet.uaTypes.push_back(ua);