How to get UBX messages on UART1 (Pixhawk connector) on simpleRTK2B

Q&A forumCategory: QuestionsHow to get UBX messages on UART1 (Pixhawk connector) on simpleRTK2B
Dmitriy Zakharkin asked 4 months ago
Hi
I am new to the board and u-center. I was able to connect base and rover boards, I can connect to UART1 of the rover (Pixhawk connector) and receive messages.
However, only NMEA messages published on UART1, and I want to receive UBX messages only.
The default  value for CFG-UART1OUTPROT set to 1 for UBX, NMEA, RTCM3X.
When i disable NMEA messages (CFG-UART1OUTPORT-NMEA set to 0), the board stop sending data. Reverting value back to1 enable NMEA messages.
But, I am can’t get any UBX messages.
I tried to search for answers but only found how to enable NMEA (this is how i figure out to toggle the value).
Is it possible to publish UBX messages on UART1?
How would I do this?
I have simpleRTK2B:
FWVER=HPG 1.32
PROTVER=27.31
MOD=ZED-F9P
GPS;GLO;GAL;BDS
SBAS;QZSS

Thanks you

3 Answers
Ardusimple Staff answered 4 months ago
Hi Dmitry,
The configuration in CFG-UART1OUTPROT is just a filter. It allows the receive to output these protocols over these UART1, but it doesn’t enable messages.
By default only NMEA messages are enabled. If you disable them, it is normal that no other messages are output.
You need to go to every individual message that you want to enable (for example NAV-PVT) and enable it, then the receiver will start outputting this data.

clive1 answered 4 months ago
Via UBX-CFG-MSG or keys like CFG-MSGOUT-UBX_NAV_PVT_UART1

Dmitriy Zakharkin answered 4 months ago
Thank you all!
It is working now as expected.
I had to enable both, CFG-MSGOUT-UBX_NAV_PVT_UART1 and CFG-UART1OUTPROT-UBX.

Want to learn more about GPS/RTK?

1. Our engineering team will contact you to solve any questions
2. We will keep you updated about promotions and new product releases
3.You will only hear from us when we have important news, we won’t spam your email