File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -183,3 +183,10 @@ const char * sempRtcmGetStateName(const SEMP_PARSE_STATE *parse)
183
183
return " sempRtcmReadCrc" ;
184
184
return nullptr ;
185
185
}
186
+
187
+ // Get the message number
188
+ uint16_t sempRtcmGetMessageNumber (const SEMP_PARSE_STATE *parse)
189
+ {
190
+ SEMP_SCRATCH_PAD *scratchPad = (SEMP_SCRATCH_PAD *)parse->scratchPad ;
191
+ return scratchPad->rtcm .message ;
192
+ }
Original file line number Diff line number Diff line change @@ -201,3 +201,10 @@ const char * sempUbloxGetStateName(const SEMP_PARSE_STATE *parse)
201
201
return " sempUbloxCkB" ;
202
202
return nullptr ;
203
203
}
204
+
205
+ // Get the message number
206
+ uint16_t sempUbloxGetMessageNumber (const SEMP_PARSE_STATE *parse)
207
+ {
208
+ SEMP_SCRATCH_PAD *scratchPad = (SEMP_SCRATCH_PAD *)parse->scratchPad ;
209
+ return scratchPad->ublox .message ;
210
+ }
Original file line number Diff line number Diff line change @@ -277,10 +277,12 @@ const char * sempNmeaGetSentenceName(const SEMP_PARSE_STATE *parse);
277
277
// RTCM parse routines
278
278
bool sempRtcmPreamble (SEMP_PARSE_STATE * parse , uint8_t data );
279
279
const char * sempRtcmGetStateName (const SEMP_PARSE_STATE * parse );
280
+ uint16_t sempRtcmGetMessageNumber (const SEMP_PARSE_STATE * parse );
280
281
281
282
// u-blox parse routines
282
283
bool sempUbloxPreamble (SEMP_PARSE_STATE * parse , uint8_t data );
283
284
const char * sempUbloxGetStateName (const SEMP_PARSE_STATE * parse );
285
+ uint16_t sempUbloxGetMessageNumber (const SEMP_PARSE_STATE * parse );
284
286
285
287
// Unicore binary parse routines
286
288
bool sempUnicoreBinaryPreamble (SEMP_PARSE_STATE * parse , uint8_t data );
You can’t perform that action at this time.
0 commit comments