What I found out for the moment is the following:
In GNSS lib file gnss.cpp
around line 657 I have removed enable_ubx();
and baud(115200);
. After that all works perfectly.
What does this code?
So, enable_ubx()
sends a config to the ZOE-M8B to set baud rate 115200. After that baud(115200)
upgrades the baud rate of the actual serial connection to 115200.
What is the problem?
After change the baud rate on the Ublox ZOE-M8B chip and upgrade the baud rate on the actual serial connection, no more data comes from the chip.
The init
routine in the example code finishes (I have removed the if
around, so that the code can continue).
Waiting for GNSS to receive something...
NMEA: $GNTXT,01,01,02,u-blox AG - www.u-blox.com*4E
NMEA: $GNTXT,01,01,02,HW UBX-M8030 00080000*60
NMEA: $GNTXT,01,01,02,ROM CORE 3.51 (19dc23)*2E
NMEA: $GNTXT,01,01,02,FWVER=SPG 3.51*43
NMEA: $GNTXT,01,01,02,PROTVER=23.01*18
NMEA: $GNTXT,01,01,02,GPS;GLO;GAL;BDS*77
NMEA: $GNTXT,01,01,02,SBAS;IMES;QZSS*49
NMEA: $GNTXT,01,01,02,GNSS OTP=GPS;GLO*37
NMEA: $GNTXT,01,01,02,LLC=FFFFFFFF-FFFFFFEB-FFFFFFFF-FFFFFFFF-FFFFFF7D*59
NMEA: $GNTXT,01,01,02,ANTSUPERV=AC SD PDoS SR*3E
NMEA: $GNTXT,01,01,02,ANTSTATUS=DONTKNOW*2D
NMEA: $GNTXT,01,01,02,PF=3FF*4B
// NO MORE OUTPUT HERE!
Any idea what can be the problem? Can someone help me to decode the ubx_cfg_prt[]
config to understand if it is right?