- I’m thinking parsing an ASCII stream is a special function, only needed for ascii streaming hardware. it should be part of the GPS-Driver not part of the premium-libary.
2)there are many different MNEA messages to stream with many different values.
dose it make sense to parse a ‘HHMMSS.SSSS’ value to a 10 based float and then
calculate right angle.
3)my idea is spliting the byte stream in an array of byte[] and the user can encode first the byte[0] value to see the message and decide wich values are needed.
maybe we need some generally functions like
float.parse(byte[])
integer.parse(byte[])
string.parse(byte[])
…
float.parse(byte[],start,length)
integer.parse(byte[][],start,length)
string.parse(byte[][],start,length)
…