I am trying to run an RTK Surveyor unit as a base station and it will get a fix, and transmit to another unit (Surveyor Express) via ESPNow radios. However, when I check the SD card after a session, the ubx file that it creates is empty (0 kb size and no data written to the file).
The SD card is a 16GB size and works correctly otherwise.
The surveyor Express unit I have will successfully write the log files to an SD card when it is in base mode.
Is there a setting I’ve missed? I thought I had the 2 units configured similarly when run as a base station.
…so, the Surveyor won’t log while in base mode?
Be sure to enable logging Data Logging Menu - SparkFun RTK Product Manual
Can you check your firmware version?
I did verify that logging to the SD card was enabled, and I have successfully captured a log file from this device in the past. The only thing that I’ve changed since that log file collection is that I’ve acquired a Surveyor Express and I had them in RTK mode using the ESPNOW radio communication.
It creates a log file, but doesn’t write any data to that file. I see a file name with a .ubx extension that I am expecting, but it is zero bytes and is completely blank.
I checked the firmware and I was on v4.0, and I just upgraded to v4.1 tonight. I’m going to test it again tomorrow afternoon.
I will probably use it as a rover tomorrow since the Express will reliably store a log file as a base station. I will also test the Surveyor as a base before I finish though to see if the firmware update changed anything.
I updated the firmware and reset the device to factory defaults. I also formatted the 16GB SD card (FAT32) to ensure there was no issue with the SD card.
I verified via serial config that logging is enabled. The device will obtain a survey-in fix in base mode and will successfully transmit corrections via ESPNow radio to my Surveyor Express device.
However, if I use it as a rover (with the Surveyor Express as the base), then it will not get an RTK fix solution (using ESPNow). The status of the device in this mode when I connect to it in SW Maps on my iPhone is “Invalid solution” (or something similar with invalid). I don’t know if these 2 issues are related or not though.
@sparky - is this a limitation of the firmware/hardware implemented when using ESP-Now per chance?
I had wondered that as well, but my Surveyor Express unit logs data to the SD card will transmitting over ESPNow with no issues.
How different is the actual hardware implementation between those 2 models?