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)
183183 return " sempRtcmReadCrc" ;
184184 return nullptr ;
185185}
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)
201201 return " sempUbloxCkB" ;
202202 return nullptr ;
203203}
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);
277277// RTCM parse routines
278278bool sempRtcmPreamble (SEMP_PARSE_STATE * parse , uint8_t data );
279279const char * sempRtcmGetStateName (const SEMP_PARSE_STATE * parse );
280+ uint16_t sempRtcmGetMessageNumber (const SEMP_PARSE_STATE * parse );
280281
281282// u-blox parse routines
282283bool sempUbloxPreamble (SEMP_PARSE_STATE * parse , uint8_t data );
283284const char * sempUbloxGetStateName (const SEMP_PARSE_STATE * parse );
285+ uint16_t sempUbloxGetMessageNumber (const SEMP_PARSE_STATE * parse );
284286
285287// Unicore binary parse routines
286288bool sempUnicoreBinaryPreamble (SEMP_PARSE_STATE * parse , uint8_t data );
You can’t perform that action at this time.
0 commit comments