philrandal / gpsctl

GPS control and configuration for U-Blox GPS on Raspberry Pi 3B...
MIT License
44 stars 4 forks source link

The specified baud rate ("460800") is not a valid one #18

Closed MaffooClock closed 1 year ago

MaffooClock commented 1 year ago

I have my MAX-M8Q set to use a baud rate of 460800, and it works fine. And just to confirm, it is also listed as a valid option in UBX-13003221 (page 36).

I would like to suggest that you add { 460800, B460800 } to validRates[]

https://github.com/philrandal/gpsctl/blob/d50e6b25c9c94edb261774a117bb02831c2f173e/sl_serial.c#L125-L144

I may submit a PR a little later if that's welcome.

philrandal commented 1 year ago

Thanks for the report.

Fixed in release v1.17