Xbee 3 parse UART buffer

Hi all,

Not sure if I am asking the question in the right category.

I am using Xbee 3 with micropython; I have a adafruit GPS attach to UART and reading the buffer.
is there a parse function, or library that can be used? If there is, how do I add it? If not how can I parse the buffer correctly?

Thank you,
Anthony

Your best bet would be to try and use https://github.com/inmcm/micropyGPS

It looks like you need to feed it the sentences from the uart and it will then be available as functions.

micropyGPS looks more functional but Digi does offer an example specifically for the XBee 3 here:
https://github.com/digidotcom/xbee-micropython/tree/master/samples/gps_uart

Nicholas Wilson
Your IoT
https://www.YourIoT.com.au

Thank you very much for your reply. It worked! Just need to change the Uart to stdin/stdout

Anthony