nebkat / esp32-xbee Goto Github PK
View Code? Open in Web Editor NEWESP32 XBee UART Interface
License: GNU General Public License v3.0
ESP32 XBee UART Interface
License: GNU General Public License v3.0
When I set the subnet my network to /23, either statically or via DHCP, it shows as /16 in the UI. (10.0.8.200/23, router is 10.0.9.1)
Separately from NTRIP, it would be very useful to enable accessing the NMEA stream over bluetooth. This would ease integration with various devices, especially software that already has bluetooth support, which seem to be the standard approach for "external GPS".
(While it would also be nice to have a way for a computer with bluetooth to proxy NTRIP, this request is just about access to the NMEA output stream.)
What version of ESP-IDF are you using to build v0.5.4?
Hello author, first of all thank you for your open source
I tried to download the code and use esp-idf to compile it and got some errors in variable definition. It should be caused by the wrong idf version.
May I ask which version of esp-idf you are using?
Just a suggestion, but could you consider setting this up as a VS Code / Platform IO project?
The PlatformIO 'Arduino' plugin for VS Code is pretty solid these days and streamlines the ESP32 build and upload process across all supported platforms. Might be useful as an alternative to using pre-built binaries and separate upload tools.
Hello, I would like to build up a RTK Caster with the software. However, I do not have an xbee_esp32, but an ESP32_DEV_KIT_V4 (https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html). I can access the web interface without any problems.
My GPS hardware is an ublox C099-F9P application board. There I have set up everything to send data to the UART pins of the Arduino header. To which pins of the ESP32 do I have to connect the GPS? Pins 1 and 3 of the Uart0 on the board labeled TX/RX do not work. Do I also have to connect RTS/CTS pins?
Thanks in advance
Dear Mr. Ceetkovic,
I use your ESP32 software for transferring NTRIP data on the Ardusimple UBLOX F9 boards (XBEE socket) for my private hobby model airplane building.
Here once very many thanks for the really successful and very useful software.
My question is if you would be willing against a PayPal payment to introduce two small changes that would certainly be helpful for all users.
I would like to have multiple profiles that stores all the data you can enter in the web interface in one profile. That way I can easily switch from one profile to another on the go without having to enter Ntrip caster, passwords, etc. In the profile all input fields should be stored. On a smartphone in cold winter, this is a pain ;-)
In the private area I would like to switch between a free NTRIP server and if it must be accurate, a paid, and also often change the WLAN or the own SSID.
In Germany it is forbidden to transmit other data than the "NMEA 0183 GGA" when using the official NTRIP caster of the Government. But if you set UBLOX-F9 to output other data sets to UART2, they will also be transmitted to the NTRIP CASTER. Here there are already complaints and warnings from the surveying offices in Germany. Of course I can set in UBLOX that only the one GGA data set is output via UART2, but then I can no longer receive other data sets that I need for my APP.
So the request would be a software option in the setup to specify if to the NTRIP CASTER only GGA records should be transmitted, and ideally also if you could enter the time interval (ideally every 60 seconds).
Many thanks in advance,
Christoph Reiter from Germany
Hello, I am trying to establish communication with an ESP32 as socket client and another one as socket server.
However, the socket client always restarts with the following reason:
$PESP,WIFI,STA,IP,192.168.1.177/24,192.168.1.251*5A
$PESP,SOCK,CLI,TCP,CONNECTING,192.168.1.149:23*2C
$PESP,SOCK,CLI,TCP,CONNECTED,192.168.1.149:23*6D
$PESP,SOCK,CLI,TCP,DISCONNECTED,192.168.1.149:23*33
$PESP,SOCK,CLI,TCP,CONNECTING,192.168.1.149:23*2C
$PESP,SOCK,CLI,TCP,CONNECTED,192.168.1.149:23*6D
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:1396
load:0x40078000,len:10956
load:0x40080400,len:3360
0x40080400: _init at ??:?
entry 0x4008060c
$PESP,INIT,START,v0.5.2-16-g674b108-dirty,PANIC*09
The connect message is received from the socket server. I can also send single characters back and forth between the ESPs. But the socket client esp always restarts
Best Regards
I programmed a Huzzah esp32 and works now, although I had to enter TX/RX pins in config.c as the configuration html page seemed to have no effect on changing those pins.
Anyway I need to change frequently between two hotspots ( two users) and I found setting up using 192.168.4.1 is quite a painful, and somewhat erratic procedure.
A useful facility would be to auto connect to two or more preset hotspot SSIDs / Passwords.
So similar to a PC autoconnecting to multiple wifi SSID's whichever one is available.
I guess the html interface could remain unchanged and just enter multiple SSIDs and passwords as comma seperated values.
hi. i have got an eary version from ardusimple.
i did follow your firmware update step by step - it did not work at me
solution: i need to press boot some times to start the flashing...
I'm using a DJI controller with a built-in screen and unfortunately, when the controller is connected directly to the WiFi Master ESP_Xbee_XXXX wifi network there is a network error message on the DJI controller side of things. When both the controller and WiFi NTRIP Master are attached to an external router, everything works as expected. How can I get the DJI controller to work directly with the WiFi Master? I'm using v0.5.2
It's super exciting that the Ardusimple GNSS board with the WiFi NTRIP Master attachment is able to act as a local NTRIP host for the DJI RTK products but I'd love to get rid of the unnecessary external wifi router.
I have a simpleRTK2B with an esp32 xbee module since this week.
At the beginning I was able to connect to the esp32 WiFi-Hotspot and browse to the Configuration Page. But after a short time it didn't work anymore. I cannot browse to the Configuration Page (ip: 192.168.4.1). I have now reflashed the esp32 (v0.5.2) - that worked perfektly. However, this did not solve the problem. I can connect to the esp32 WiFi hotspot, but I cannot browse to the configuration page. Can you help me please...
thanks, and best regards Georg
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).
--- BKG Ntrip Client output on connection to mount point ---
Maximum distance between my fields are 60km.
I want to place more base stations on the warehouses near the fields.
But there are only 2G mobile internet.
SIM800L cheap and 2G internet speed for RTCM is enough.
P.S.: Caster has good internet connection and can make NEAR base selection.
Hello,
I'm already using v0.5.2 and it's working great but because of this issue, I want to switch to at least v0.5.3 because it's causing me some issues at times.
The problem is that I don't see XBEE WiFi Hotspot anymore after flashing any version higher than v0.5.2.
I tried everything and still had no success. Tried flashing both v0.5.3 and v0.5.4, wiping config, etc, but nothing helps.
Do you know what's the problem and how can I help you debug it in case you don't know what's the fix for this issue?
Update:
On the serial monitor (v0.5.2) I can see this:
$PESP,WIFI,AP,SSID,ESP_XBee_7D7075,V,O*28
$PESP,WIFI,AP,IP,192.168.4.1/24*08
And it's okay, it's working...
On v0.5.4 I also see the same messages
$PESP,WIFI,AP,SSID,ESP_XBee_7D7075,V,O*28
$PESP,WIFI,AP,IP,192.168.4.1/24*08
But the hotspot is invisible...
Next, I tried to connect to real WiFi on v0.5.2 (everything works fine) and then updated to v0.5.4 and this is log
$PESP,INIT,START,v0.5.4,POWERON*55
$PESP,WIFI,AP,SSID,ESP_XBee_7D7075,V,O*28
$PESP,WIFI,AP,IP,192.168.4.1/24*08
$PESP,WIFI,STA,CONNECTING,XXXXX,P,F*1F
$PESP,INIT,COMPLETE*05
$PESP,WIFI,STA,CONNECTED,XXXXX*48
$PESP,WIFI,STA,IP,192.168.1.180/24,192.168.1.1*55
$PESP,WIFI,STA,DISCONNECTED,XXXXX,200,UNKNOWN*6C
$PESP,WIFI,STA,RECONNECTING,XXXXX,1*03
$PESP,WIFI,STA,DISCONNECTED,XXXXX,4,AUTH*2A
$PESP,WIFI,STA,RECONNECTING,XXXXX,2*00
$PESP,WIFI,STA,DISCONNECTED,XXXXX,205,UNKNOWN*69
$PESP,WIFI,STA,RECONNECTING,XXXXX,3*01
$PESP,WIFI,STA,DISCONNECTED,XXXXX,4,AUTH*2A
$PESP,WIFI,STA,RECONNECTING,XXXXX,4*06
$PESP,WIFI,STA,DISCONNECTED,XXXXX,205,UNKNOWN*69
$PESP,WIFI,STA,RECONNECTING,XXXXX,5*07
I'm trying to use the WiFi NTRIP Master as a Socket Server to connect the MapIt GIS Spatial application to a simpleRTKBlite board. On Android 10 everything worked as expected, because the hotspot IP address was always the same and I was able to enter a fix IP in the MapIt application. But on Android 11 the last two areas (/16) are changing if we reenable the hotspot. Therefore I'm not able to set a fixed IP anymore and always have to reenter the address, which is very annoying.
BR
T
My esp32 wont connect to rtk2go. The led for wifi blinks twice while the wifi hotspot led blinks ones then fades away. The led for WIFI server doesn't blink at all.
In config page it says I'm connected to my localnetwork and I get a IP address.
In the log I get the following error.
ERROR | NTRIP_SERVER | ../main/ntrip_server.c:133 (ntrip_server_task): Could not connect to host |
---|
What does it mean?
As you can see in the terminal, the Nrtrip master is restarting every three seconds. I tried a full reset with the boot button, but it dosen´t work. Because of the restarts, is not providing it´s hotspot, so I can not program it. I have tried the versions 0.5.2, 0.4.2 and 0.4.4 , nothing helps. What can I do?
Thank you for your help!
Debugging a wifi performance degradation issue I discovered that the hotspot (ESP_XBee_xxxxx) is hogging 8 wifi channels by transmitting with a 40MHz bandwidth (HT40).
I believe this is the default unless set lower with esp_wifi_set_bandwidth or otherwise in the configuration.
Given that there is never likely to be sufficient throughput to warrant that I suggest this be changed to 20Mhz (HT20) which is the conventional default.
Just got a ZED-F9P + Xbee ESP32 wifi setup yesterday. Out of the box, I had no problems getting everything setup and connected per the instructions.
Then, I wanted to add a bit of security to the ESP32 Xbee, so I added a password along with the SSID. That's when things went downhill.
I couldn't find the device on Wifi anymore. I reflashed with firmware v0.5.2 in hopes to undo whatever got screwed up. I've included the "wipe config" file as well (though I'm not sure if it matters what list order that one is in, or if I'm including it correctly).
I still can't see the Xbee device SSID anywhere on wifi (tried laptop and phone, neither can see an SSID being broadcast). I've tried v0.5.1 firmware as well...no luck.
Any suggestions? I'm stuck.
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):
Configuration of the ArduSimple WiFI NTRIP Master board:
$PESP,INIT,START,v0.5.2,OTHER_WATCHDOG*13 �[0;32mI (00:00:00.096) MAIN: ╔══════════════════════════════════════════════╗�[0m �[0;32mI (00:00:00.096) MAIN: ║ ESP32 XBee v0.5.2 ║�[0m �[0;32mI (00:00:00.096) MAIN: ╠══════════════════════════════════════════════╣�[0m �[0;32mI (00:00:00.096) MAIN: ║ Compiled: 01:20:26 Feb 12 2020 ║�[0m �[0;32mI (00:00:00.096) MAIN: ║ ELF SHA256: dd4176185d6e2f52 ║�[0m �[0;32mI (00:00:00.096) MAIN: ║ ESP-IDF: v4.1-dev-2226-g7f4309d0f-dirty ║�[0m �[0;32mI (00:00:00.097) MAIN: ╟──────────────────────────────────────────────╢�[0m �[0;32mI (00:00:00.097) MAIN: ║ Reset reason: OTHER_WATCHDOG ║�[0m �[0;32mI (00:00:00.097) MAIN: ╟──────────────────────────────────────────────╢�[0m �[0;32mI (00:00:00.097) MAIN: ║ Author: Nebojša Cvetković ║�[0m �[0;32mI (00:00:00.097) MAIN: ║ Source: https://github.com/nebkat/esp32-xbee ║�[0m �[0;32mI (00:00:00.097) MAIN: ╚══════════════════════════════════════════════╝�[0m �[0;32mI (00:00:02.621) WIFI: WIFI_STA_CONNECTING: GRAUNETE (with password), fast scan�[0m $PESP,WIFI,STA,CONNECTING,GRAUNETE,P,F*52 �[0;32mI (00:00:02.624) WIFI: WIFI_EVENT_STA_STOP�[0m �[0;32mI (00:00:02.712) WIFI: WIFI_EVENT_STA_START�[0m �[0;32mI (00:00:02.811) WEB: Starting server on port: '80'�[0m $PESP,INIT,COMPLETE*05 �[0;32mI (00:00:03.339) WIFI: WIFI_EVENT_STA_CONNECTED: ssid: GRAUNETE�[0m $PESP,WIFI,STA,CONNECTED,GRAUNETE*05 �[0;32mI (00:00:05.597) WIFI: IP_EVENT_STA_GOT_IP: ip: 192.168.2.35/24, gw: 192.168.2.1�[0m $PESP,WIFI,STA,IP,192.168.2.35/24,192.168.2.1*6A �[0;32mI (00:00:05.601) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A �[0;32mI (00:00:05.682) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B �[0;32mI (09:29:36.913) MAIN: Synced time from SNTP�[0m �[0;33mW (09:29:42.197) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,DISCONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*25 �[0;32mI (09:29:42.206) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A �[0;32mI (09:29:42.278) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B �[0;33mW (09:29:52.277) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,DISCONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*25 �[0;32mI (09:29:52.294) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A �[0;32mI (09:29:52.371) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B �[0;33mW (09:30:02.367) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,DISCONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*25 �[0;32mI (09:30:02.376) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A �[0;32mI (09:30:02.446) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B �[0;33mW (09:30:12.447) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,DISCONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*25 �[0;32mI (09:30:12.456) NTRIP_CLIENT: Connecting to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTING,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*3A �[0;32mI (09:30:12.533) NTRIP_CLIENT: Successfully connected to www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m $PESP,NTRIP,CLI,CONNECTED,www.sapos-nw-ntrip.de:2101,VRS_3_4G_NW*7B �[0;33mW (09:30:22.527) NTRIP_CLIENT: Disconnected from www.sapos-nw-ntrip.de:2101/VRS_3_4G_NW�[0m
I was looking at our public caster at RTK2go.com this morning and noticed the following (getting rejected)
SOURCE 8XXXto#SWAFTi /LippenHoweHuizen
Source-Agent: NTRIP ESP32_XBee_Ntrip_Server/1.0
This uses three spaces between the un-encoded password and the mountPt. [I have damaged both strings to protect the innocence). Bottom line is that HTTP (and hence NTRIP) want to see one a single space as the delimiter here. Anything else is invalid, although many devices try to make allowances.
It is not clear to me how esp32-xbee allowed this to be created as an input, but the white space should be trimmed down to make it a valid request. Ideally it should be impossible for the end user to create this.
Hello,
Well done for your development, it's really cool.
Currently I have 1 simpleRTK2B and 1 WiFi NTRIP Master. I easily send RTCM message to rtk2go.com with NTRIP server connection.
But, Is it also possible to send the UBX protocol messages from F9P to NTRIP/socket server with the Wifi NTRIP MASTER (messages UBX-RXM-RAWX and UBX-RXM-SFRBX) ?
I activated this from u-center:
and
but no UBX data comes out of the NTRIP MASTER
Thank you in advance
Best regards
Hello.
I am working (experimenting) on transmitting the RTCM messages with MQTT frames via Mosquito Brocker and TLS connection.
I have seen this idea on:
https://github.com/GeoscienceAustralia/gnss-mqtt
http://www.ignss2018.unsw.edu.au/sites/ignss2018/files/u80/Slides/D2-S3-ThC-Wang.pdf
https://esprtk.wordpress.com
I know it is not the actual standard of transmitting RTCM data, but there are some advanages for DIY projects. e.g Building a secure "caster" / broker was very easy.
Please consider to include a MQTT feature in your software.
thx
Are you planing to provide a secure (TLS) NTRIP connection with NTRIP2_client.c and NTRIP2_server.c?
Would be a very interresting feature for me.
thank you for your great work on this projekt already!
I'd like to add an I2C port (Stemma QT/QUIIC) port and use a ESP32-WROOM-32UE module (Same module but with an IPEX/uFL antenna connector) in the esp32-xbee form factor.
Can you upload a Gerber or Eagle board design file to work off of?
Hi nebkat,
I want to setup a base station on the University of Applied Sciences Weihenstephan which has - as lots of Universities - a WPA2-Enterprise secured Eduroam network.
An example of an implementation of the WPA2-Enterprise standard to esp32 can be found here – https://forum.arduino.cc/index.php?topic=556705.0.
Could such a code be implemented? Eduroam or other Radius server access etc. would be great for e.g. universities!
Thank´s!
Steffen
I have an ArduSimple RTK2B PRO board along with a WiFi NTRIP Master module. When I try to set a password for a WiFi hotspot, the module crashes. It stops being visible for the wifi connection, 5s reset doesn't work, update frimware also has no effect. Only using the ERASE option in ESP32 DOWNLOAD TOOL and then uploading the firmware helps.
I tested on version 0.52 and 0.54. I tried setting different security options (WPA-PSK, WPA/2-PSK (recomended)), always the effect is the same - the LEDs flash, but you can not connect to the board over wifi (it is not visible).
Greetings!
I have a boot loop with version 0.4.2, reflashing doesn't help, full reset doesn't work.
Terminal Output:
$PESP,WIFI,AP,SSID,ESP_XBee_D4A4F5,V,O28
$PESP,INIT,START,v0.4.2,SOFTWARE03
$PESP,WIFI,AP,SSID,ESP_XBee_D4A4F5,V,O28
$PESP,INIT,START,v0.4.2,SOFTWARE03
$PESP,WIFI,AP,SSID,ESP_XBee_D4A4F5,V,O28
$PESP,INIT,START,v0.4.2,SOFTWARE03
$PESP,WIFI,AP,SSID,ESP_XBee_D4A4F5,V,O28
$PESP,INIT,START,v0.4.2,SOFTWARE03
To deal with those situations where wifi simply ceases to function for no apparent reason I was just wondering whether some sort of belt and braces test so Xbee can tell if it is connected to the rest of the world would be useful rather than relying solely on the disconnection event to trigger action.
Maybe periodically pinging the gateway while wifi is expected to be up to verify connection and resetting the wifi if it is unreachable.
Bug? Configuration page indicates "WiFi Not Active" even though i am able to connect to the configuration page over wifi on my network (not as a hotspot).
Trimble rovers needs 1008 message.
Where the best place for message injection?
1008 message should go after 1005 or 1006 message.
Also, for GLONASS corrections support, 1230 message need corrections (or injection also).
The whole thread with this problems, tests and code (1008 message injection) is here:
How to use ZED-F9P as a base station for Trimble
I installed the latest firmware on a classic ESP32 connected to a Ublox Zedf9P GNSS card via serial and I changed the TX and RX pins from 1.3 to 17.16 from the web interface but I can't send the receiver into differential correction. Ntrip client ok and wifi ok. I read that some "adjustments" would be needed to make it work on classic esp32, maybe I missed something? some idea?
I haven't had a chance to update my ESP bc it's stuck in a device right now..
but does the IP forwarding/NATP from a recent release mean that I can connect to my home wifi router from the esp32-Xbee and then essentially forward that connection to another wifi device? How would I then access that wifi device from my home network?
Thanks
Is it possible to configurate how often the position is sendet to the base station? Or which intervall is used now?
Thanks for your help.
Please add to wiki Pinout.
Note the 2 x 10pin headers 22.00 mm (0.866 in) apart of 2.00 mm (0.079 in) headers with 0.50 mm (0.020 in) square pins. These differ from the more common 2.54 mm (0.100 in) headers with 0.64 mm (0.025 in) square pins or precision machined 0.50 mm (0.020 in) round pins.
It’s open source - please link hardware files.
Hello, I am trying to compile with PlatformIO and espidf framework, but i still have lots of errors.
I moved the /main files to the /src folder and some other small adjustments, but it is still not working.
Help needed! Has anyone a good guideline for this?
I tried compiling the esp32-xbee project by myself, but the button.h (and probably button.c) are missing.
Tried to find the component in the internet, the most similar was https://github.com/craftmetrics/esp32-button.
But this library has no "duration" property. After removing the access to the "duration" property the esp32-xbee project could be compiled.
It would be nice if you could add this missing components to the project or give a hint where to find them. Thank you!
I have experienced a number of issues attempting to run v0.4.2 simultaneously as an NTRIP server and TCP server which may be related. To rule out power fluctuations power is supplied to simplertk2b simultaneously and independently via both USB sockets.
when running continuously esp32-xbee disconnects both NTRIP and TCP every 20865 seconds. This results in a loss of coverage eg because RTKLIB STRSVR which connects to esp-xbee socket takes 10 seconds to timeout retrying and a further 10 seconds after reconnecting to get up and running with useful data.
esp32-xbee is also experiencing "panic" resets. I have attached logs and core_dumps of a couple of recent occasions. In the second instance I have included some heap_info outputs to see if this was caused by stack overflow. In each instance you can see effect no.1 happening 5hrs 50 mins after the TCP socket was first set up.
after a few days esp32-xbee seems to lose wifi connectivity needing sometimes a full reset (>5 secs on boot button) to get running again. Because of issues no.1 and no.2 above I've not investigated whether this is a problem with my wifi or with xbee.
Are any of thee issues addressed in the new v0.4.3 just posted?
core_dumpand log2.zip
core_dumpandlog1.zip
PS I am not sure what purpose uart_log(buffer, n) has in log.c in the current implementation but I wonder whether it should be called regardless of whether xRingbufferSend returns an error when the ring buffer gets full.
PPS Just a suggestion - could there be an option for a fixed wifi IP (rather than DCHP) to ensure the socket server always comes up on the same address?
Hey,
I'm currently working on a web app which communicates to the esp32-xbee. My goal is to receive the data directly on client side (browser/ mobile browser). It works perfectly on server side over tcp. Unfortunately it is not yet possible for browsers to receive data over tcp as far as I know. So my question is: are there any future plans to send the nmea data from the socket server over http?
thank you!
Many folks use this software to connect to the public SNIP NTRIP Caster found at RTK2go.com:2101. This message is to alert you to an important change in how free public access is now given to any NTRIP Client devices (rovers).
Please log in using your email as the User Account name and a password of 'none' for access. Without a valid email, the machine will now disconnect you. After repeated bad attempts your IP may be block for a short while. Every NTRIP Client device needs an email, and you can use the same email multiple times. You can read more at RTK2go.com
This was done to allow the Caster to automatically send users back an informative email when there are repeated problems with their connection. The email states the problem and how to correct it. The Caster (and owner) will protect your email, and not use it in any other way or share it with others. As one of the busiest Casters on the planet, we needed to implement this rule to better manage all the bad connection received each day. We thank you for you understanding.
If you are sending your Base Station data to the public SNIP NTRIP Caster at RTK2go.com:2101 (an NTRIP Server) there are no changes in your settings. Please use the same settings you received when you made your reservation. Any problem with connecting are already returned to the email associated with your registration.
Sorry for the inconvenience this change may cause.
Regards, David Kelley, SNIP Program Manager
I am using the Ardu simpleRTK2B Board in Connection with ESP32 XBEE Board. I am connected to the Berlin SAPOS System (NTRIP Caster). I use the same WIFI connection to store and analyse the GPS Data via the TCP Socket Server. The Berlin authorities have informed me that my NTRIP Client sends further Information to the caster on top of the required NMEA GGA messages which is not allowed. They asked me to disable those messages. I had not been aware that the NTRIP Client on the ESP32 XBEE Board would sent all Messages which are enabled in the U-BLOX FP9 to the Caster. I strongly suggest a Software change whereby the NTRIP Client only forwards compliant NMEA GGA messages as defined in the official NTRIP Protocol to the Caster.
V3 of the Ardu simpleRTK2B Board allows for all the UBX messages to be send to the XBEE Board. This would flood the NTRIP Caster even more.
Many Thanks in advance for considering my proposal
The Code would be very simple. Just filter out all messages with the sentence Formatter equals 'GGA'
I'd like to create a custom NTRIP client in Python without ESP32-XBee Master device.
POWER+GPS
USB port?POWER+GPS
USB port?This would be really helpful if people want to add the RTK feature to the simpleRTK2B board by other Linux-based SBCs like Raspberry Pi or so.
Thanks!
P.S. I have checked this file - https://github.com/nebkat/esp32-xbee/blob/master/main/ntrip_client.c
Everything looks clear except the UART port that ESP32 is using...
Hi,
I keep receiving this in my log file, and when the http page refreshes. The full error is:
25 | 19:45:11.669ms | WARN | httpd_parse | parse_block: request URI/header too long |
---|---|---|---|---|
26 | 19:45:11.670ms | WARN | httpd_txrx | httpd_resp_send_err: 431 Request Header Fields Too Large - Header fields are too long for server to interpret |
I'm using v0.5.2 with NTRIP server configured to work with rtk2go.com.
Without packet capturing I don't think I can get the full header etc, so any advice on how best to achieve this most welcome!
A great product, will be very handy...
Jon
Hi
I would like to sure that setting UART communication (UART0, or 1 or 2) is really working. I tried to use UART1 only for GNSS connection and leave UART0 as main admin connection. What I saw was no matter which UART I checked and which PIN RX TX was set, RTCM data flows only over UART0.
Maybe I did something wrong or latest firmware have not support UART setting yet?
Best regards
Lukasz
I just got a Xbee Ntrip and I am trying to configure it and I can load the configuration page but when I make any change to configure my WIFI credentials and then submit they are not retained. I have tried to reconnect to my network and I cannot locate the IP of the Xbee. If I go back into the configuration page everything that I changed is back to default settings. Am I missing something?
Hi nebkat
I am trying to build esp32-xbee with esp idf tools in Ubuntu but facing problem as follows.
../main/main.c:30:10: fatal error: button.h: No such file or directory
#include "button.h"
^~~~~~~~~~
compilation terminated.
[819/867] Building C object esp-idf/ma...iles/__idf_main.dir/ntrip_caster.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.