Gary said:
> Weird... Since ttyACM0 is USB, maybe a driver thing.
Yes, I'm using the USB port rather than the serial port.
The question is: Which driver? Linux or U-Blox?
--
These are my opinions. I hate spam.
___
devel mailing list
devel@nt
Yo Hal!
On Sat, 03 Jun 2023 21:53:34 -0700
Hal Murray via devel wrote:
> Gary said:
> > To open to read binary:
> > tty = open("/dev/ttyACM0", "rb")
> > The line will be binary. Getting just the NMEA out will be fun.
>
> Thanks. That's what I needed.
Good.
> There is no problem getti
Gary said:
> To open to read binary:
> tty = open("/dev/ttyACM0", "rb")
> The line will be binary. Getting just the NMEA out will be fun.
Thanks. That's what I needed.
There is no problem getting just the NMEA. I'm using isASCII to detect the
garbage cases.
I get things like:
### Not
Yo Hal!
On Mon, 29 May 2023 15:22:43 -0700
Hal Murray via devel wrote:
> Can somebody give me a lesson on this area?
>
> The code is:
> tty = open("/dev/ttyACM0")
> forever:
> line = tty.readline()
> a) How do I read mostly ASCII without crashing when there is
> non-ASCII?
To open to
Can somebody give me a lesson on this area?
The code is:
tty = open("/dev/ttyACM0")
forever:
line = tty.readline()
a) How do I read mostly ASCII without crashing when there is non-ASCII?
b) Why is a u-Blox LEA-M8T sending me non-ASCII crap?
This is coming from the USB port. It's ru