i have a rutx50 in my camper and would like to send nmea-sentences to my server every 10 seconds. That works perfectly!
But if I’m on the road and drive into a mobile dead zone, this service should cache the data and then send it to my server as a single sentences or in a bundle. But this caching wont work.
Can you tell me which options I need to activate and where exactly to use the cache? Or to put it another way: Can you tell me what the cache is for and how exactly it works?
You can see my current settings in the screenshots.
I am a software developer myself and would be willing to help if there are bugs.
The NMEA forwarding cache section is used to select how and where the NMEA forwarding cache data should be stored. You need to choose between RAM or Flash memory for storing the cache, as well as specify the maximum number of NMEA sentences.
From your screenshots, it appears that you are using an older version of RutOS firmware. It is always recommended to have the latest version on your device, as the newest releases include improvements and issue fixes. You can download latest firmware (7.10) for RUTX50 here: https://wiki.teltonika-networks.com/view/RUTX50_Firmware_Downloads
Thank you for the answer. I have just installed the latest firmware and will test throughout the day to see whether anything has changed in the behavior.
EDIT: I’ve since tested the behavior again and haven’t noticed any change.
With my setting, the NMEA service sends data to my NMEA server every 10 seconds.
As soon as I’m offline, of course no data arrives at the server. When I’m back online, it only continues from that exact point in time and I don’t receive any cached data from the period when I was offline.
Regardless of this, it would still be important to understand what the expected behavior is?
How does the NMEA service behave when the router is offline? Does it then collect the GPS data, cache it and send it again when the router is online again? And if so, does it send the collected data as a single request or bundled? Unfortunately there is no documentation on this and nothing else that I was able to google for information.
The NMEA forwarding cache functions as a buffer when a device cannot send NMEA sentences to a server, such as during a connection loss. The data is stored until the device is back online.
I have tested this functionality using the Hercules app as a Host. When the connection is active, NMEA sentences are continuously forwarded to the app. During a connection interruption, no sentences are transmitted; however, once the connection is re-established, all accumulated sentences are forwarded to the Host in a single batch.
I hope this clarifies how the NMEA forwarding cache operates. If you have any further questions, feel free to ask.
I have configured the default settings in the NMEA configuration, with the only modifications being the Hostname IP updated to the server’s (Hercules) IP address. Additionally, I enabled one of the NMEA sentence settings for testing purposes (e.g., GPGGA).
Thank you! I had it configured almost the same. Only the protocol for me was on UDP. But then I’ll test it 1-on-1 with your settings over the next few days and give feedback here.