diff --git a/openrtx/include/rtx/rtx.h b/openrtx/include/rtx/rtx.h index 60f37dab..35c0ce0a 100644 --- a/openrtx/include/rtx/rtx.h +++ b/openrtx/include/rtx/rtx.h @@ -55,9 +55,14 @@ typedef struct uint8_t can : 4, /**< M17 Channel Access Number */ _unused : 4; - char source_address[10]; /**< M17 call source address */ - char destination_address[10]; /**< M17 call routing address */ - bool invertRxPhase; /**< M17 RX phase inversion */ + char source_address[10]; /**< M17 call source address */ + char destination_address[10]; /**< M17 call routing address */ + bool invertRxPhase; /**< M17 RX phase inversion */ + bool lsfOk; /** M17 LSF is valid */ + char M17_dst[10]; /** M17 LSF destination */ + char M17_src[10]; /** M17 LSF source */ + char M17_orig[10]; /** M17 LSF traffic originator */ + char M17_refl[10]; /** M17 LSF reflector module */ } rtxStatus_t; diff --git a/openrtx/src/rtx/rtx.cpp b/openrtx/src/rtx/rtx.cpp index b5155a6c..44001cbd 100644 --- a/openrtx/src/rtx/rtx.cpp +++ b/openrtx/src/rtx/rtx.cpp @@ -59,6 +59,11 @@ void rtx_init(pthread_mutex_t *m) rtxStatus.txToneEn = 0; rtxStatus.txTone = 0; rtxStatus.invertRxPhase = false; + rtxStatus.lsfOk = false; + rtxStatus.M17_src[0] = '\0'; + rtxStatus.M17_dst[0] = '\0'; + rtxStatus.M17_orig[0] = '\0'; + rtxStatus.M17_refl[0] = '\0'; currMode = &noMode; /*