nebkat / esp32-xbee

ESP32 XBee UART Interface
GNU General Public License v3.0
89 stars 46 forks source link

How to verify NTRIP client is working #17

Closed greymfm closed 4 years ago

greymfm commented 4 years ago

Hi, congrats for this great product! I'm trying to use a 'Ardusimple WiFi NTRIP Master module' to send RTCM3 data to a 'simpleRTK2B board'.

I have tested my NTRIP client before in ublox u-center for this NTRIP server and it worked. Then I switched to the 'Ardusimple NTIRP master board' to try the same (using the same NTRIP server that I could successfully connect via u-center).

I have tried firmware versions 0.4.4 and latest 0.5.2. It seems it's getting a succesfull connection to my NTRIP server but getting no further data. The XBEE->GPS LED on the simpleRTK2B board is not blinking. I'm outputting the WiFI NTRIP master serial line - Should there be data (RTCM3) on the serial line? Below is the serial output of the WiFI NTRIP master module. Any ideas how I can further debug this? Thanks! Regards, Alexander

Configuration of the simpleRTKB2B board: I have enabled NMEA (as protocol in+out as well as NMEA message $GPRMC for UART2): grafik

grafik

Configuration of the ArduSimple WiFI NTRIP Master board: grafik

grafik

grafik

$PESP,INIT,START,v0.5.2,OTHER_WATCHDOG*13 I (00:00:00.096) MAIN: ╔══════════════════════════════════════════════╗ I (00:00:00.096) MAIN: ║ ESP32 XBee v0.5.2 ║ I (00:00:00.096) MAIN: ╠══════════════════════════════════════════════╣ I (00:00:00.096) MAIN: ║ Compiled: 01:20:26 Feb 12 2020 ║ I (00:00:00.096) MAIN: ║ ELF SHA256: dd4176185d6e2f52 ║ I (00:00:00.096) MAIN: ║ ESP-IDF: v4.1-dev-2226-g7f4309d0f-dirty ║ I (00:00:00.097) MAIN: ╟──────────────────────────────────────────────╢ I (00:00:00.097) MAIN: ║ Reset reason: OTHER_WATCHDOG ║ I (00:00:00.097) MAIN: ╟──────────────────────────────────────────────╢ I (00:00:00.097) MAIN: ║ Author: Nebojša Cvetković ║ I (00:00:00.097) MAIN: ║ Source: https://github.com/nebkat/esp32-xbee ║ I (00:00:00.097) MAIN: ╚══════════════════════════════════════════════╝ I (00:00:02.621) WIFI: WIFI_STA_CONNECTING: GRAUNETE (with password), fast scan $PESP,WIFI,STA,CONNECTING,GRAUNETE,P,F*52 I (00:00:02.624) WIFI: WIFI_EVENT_STA_STOP I (00:00:02.712) WIFI: WIFI_EVENT_STA_START I (00:00:02.811) WEB: Starting server on port: '80' $PESP,INIT,COMPLETE*05 I (00:00:03.339) WIFI: WIFI_EVENT_STA_CONNECTED: ssid: GRAUNETE $PESP,WIFI,STA,CONNECTED,GRAUNETE*05 I (00:00:05.597) WIFI: IP_EVENT_STA_GOT_IP: ip: 192.168.2.35/24, gw: 192.168.2.1 $PESP,WIFI,STA,IP,192.168.2.35/24,192.168.2.1*6A I (00:00:05.601) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A I (00:00:05.682) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B I (09:29:36.913) MAIN: Synced time from SNTP W (09:29:42.197) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,DISCONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*25 I (09:29:42.206) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A I (09:29:42.278) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B W (09:29:52.277) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,DISCONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*25 I (09:29:52.294) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A I (09:29:52.371) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B W (09:30:02.367) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,DISCONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*25 I (09:30:02.376) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A I (09:30:02.446) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B W (09:30:12.447) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,DISCONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*25 I (09:30:12.456) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A I (09:30:12.533) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B W (09:30:22.527) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW

greymfm commented 4 years ago

Problem solved - Solution: Caster is expecting NMEA from the board, and you are not sending NMEA through UART2. Make sure GGA message is active on UART2 at 115'200bps.