This might be one of those things that "everyone knows," but I missed the memo. Is there any way to input a string variable which includes commas?
For example, in NMEA 0183 "sentences," all field delimiters are commas. Of course, one option is to change all commas to something else, like semicolons or just spaces. Which I have done, and then afterwards replaced that delimiter with a proper comma.
Is there any way I could input the actual NMEA string as one variable, then in the next step split out each character? I didn't see anything about this limitation in the wiki.
Here is an example of a NMEA 0183 GLL sentence, from a GPS receiver (identified by GP), which provides geo position, UTC time, and "mode," always in ASCII:
$GPGLL,3953.88008971,N,10506.75318910,W,034138.00,A,D*7A
The last two characters, after the * character, are the XOR-based checksum, as two hex characters.
For example, in NMEA 0183 "sentences," all field delimiters are commas. Of course, one option is to change all commas to something else, like semicolons or just spaces. Which I have done, and then afterwards replaced that delimiter with a proper comma.
Is there any way I could input the actual NMEA string as one variable, then in the next step split out each character? I didn't see anything about this limitation in the wiki.
Here is an example of a NMEA 0183 GLL sentence, from a GPS receiver (identified by GP), which provides geo position, UTC time, and "mode," always in ASCII:
$GPGLL,3953.88008971,N,10506.75318910,W,034138.00,A,D*7A
The last two characters, after the * character, are the XOR-based checksum, as two hex characters.