I am using this with a raspberry pi, serial connected. For reasons, I need to use this as serial and not I2C.
I have connected the serial RX/TX lines from the GPS board to the RPi TX/RX serial. I have connected ground and am using the RPi 3.3 to power the GPS board.
TLDR: Is it possible to change the serial baud rate, and if so what is the command or sequence of commands to do so?
Details:
Using the screen terminal utility with /dev/serial0 at 9600 I see NMEA data being produced on the serial port. I would like to change the serial baud rate. I am using the MTK251 command but it seems to have no effect. For example, using the command example from the data sheet
$PMTK251,38400*27
I get a response of
$PMTK001,251,2*37
According to the protocol doc, the “2” means “valid command/packet but action failed”.
Just to be sure I am formatting commands correctly and have the line ends correct I can send this
$PMTK605*31
and get this response.
$PMTK705,AXN_5.1.1_3333_17090118,8530,XA1110,1.0*33
So I am pretty confident I am sending commands correctly.
Is it possible to change the serial baud rate, and if so what is the command or sequence of commands to do so?
Thanks for reading.