To work with CASIC it needs to read/write binary data into GPS chip.
We can write into Serial1. But.
When I try to read directly from it I get nothing.
Here some output like bunch of pieces of NMEA messages is expected.
But nothing comes in.
When I set callback on 'GPS-raw' I receive them.
But it is not what I am looking for. I need to get raw bytes from Serial1.
'GPS-raw' does some parsing into string lines. That is what I am trying to avoid.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
To work with CASIC it needs to read/write binary data into GPS chip.
We can write into Serial1. But.
When I try to read directly from it I get nothing.
Here some output like bunch of pieces of NMEA messages is expected.
But nothing comes in.
When I set callback on 'GPS-raw' I receive them.
But it is not what I am looking for. I need to get raw bytes from Serial1.
'GPS-raw' does some parsing into string lines. That is what I am trying to avoid.