I have connected the LG290P using usb to computer (the usb port is connected to uart1). The uart1 works very good, in qgnss managed to get RTK fix. Now I have connected a bluetooth module to uart2. I would like to receive and send data throught bluetooth.
No NMEA messages arrive to uart2.
Is it possible to configure to send messages to uart2 or do I have to use uart1?
It’s possible to enable NMEA messages to be sent on any of the three UARTs. Get a copy of the LG290P protocol specification document - it has the details on how.
This isn’t the latest version but it has what you need:
//Configure the message rate on current interface:
$PQTMCFGMSGRATE,W,<MsgName>,<Rate>[,<MsgVer/Offset>]*<Checksum><CR><LF>
//Configure the message rate for a specific interface:
$PQTMCFGMSGRATE,W,<PortType>,<PortID>,<MsgName/MsgID>,<Rate>[,<MsgVer/Offset>]*<Check
sum><CR><LF>
//Read the message rate configuration on current interface:
$PQTMCFGMSGRATE,R,<MsgName>[,<MsgVer/Offset>]*<Checksum><CR><LF>
//Read the message rate configuration for a specific interface:
$PQTMCFGMSGRATE,R,<PortType>,<PortID>,<MsgName/MsgID>[,<MsgVer/Offset>]*<Checksum><C
R><LF>
For example: to enable the GGA message on UART2, you would send: $PQTMCFGMSGRATE,W,1,2,GGA,1*09
Thank you very much!
I tried different bauds and commands. The serial was connected but didn’t understand that I have to enable different messages to UART2.
I couldn’t configure the uart2 port from uart1. Somehow the commands didn’t work. Didn’t know why. I connected computer to uart2 and then used the commands to configure current interface. Now the uart2 works fine.
The v03 firmware version for the LG290P added the ability to change the message rates for any port, and not just the port you’re sending the command from.
However, the command reference that is available on Quectel.com is still the original revision without the updates made in the v03 and v04 firmware.
Perhaps a Quectel employee can update the version on the site or send you a copy.