nebkat / esp32-xbee

ESP32 XBee UART Interface
GNU General Public License v3.0
87 stars 44 forks source link

NTRIP Caster not working #44

Open ralphkink opened 3 years ago

ralphkink commented 3 years ago

Problem: esp32-xbee in caster mode does not sent valid messages and crashes the module after some time.

Setup:

Clients: I've tried two different NTRIP clients:

Symptoms:

Is this a know bug? Anything I can do on my end? Big thanks in advance for any help provided!

Additional information / Attachments: (see below)

--- u-center log file --- 10:02:33 Send mountpoint request (base) 10:02:33 Data received from server (15bytes). 10:02:55 Ending NTRIP session. 10:02:55 Closing connection to server. 10:02:58 Connection error received (10035). 10:02:58 Server connection closed. 10:06:24 Ending NTRIP session. 10:06:24 NTRIP session already closed. 10:06:24 Start NTRIP session. 10:06:24 Connected to NTRIP server. 10:06:24 Send mountpoint request () 10:06:24 Data received from server (184bytes). 10:06:24 Connection error received (0). 10:06:24 Ending NTRIP session. 10:06:24 Closing connection to server. 10:06:24 Server connection closed. 10:06:27 Start NTRIP session. 10:06:27 Connected to NTRIP server. 10:06:27 Send mountpoint request (base) 10:06:27 Data received from server (15bytes).

--- XBEE web site --- corrupt web page

--- BKG Ntrip Client output on connection to mount point --- image

ralphkink commented 3 years ago

Meanwhile, I was able to solve the problem, but would still consider this a bug (or at least room for improvement) for esp32-xbee. Root cause was:

So the esp32-xbee did not receive any data from the ZED-FP9, and hence the Caster did not send any data (or incomplete data?). This is causing the u-center NTRIP clients to do disconnects and new connection requests over and over again. 

As far as I can tell, the repeated connects/disconnects seem to destabilize the esp32-xbee, eventually leading to a crash after about 15mins.