I am trying to send GPS data to holograms cloud and then route to a URL. Everything is working well except I notice that it takes me about 3 seconds to execute the hologramCloud.sendMessage() function - I time the send using millis() within the program. I am sending approximately 50 bytes of data.
Is that three seconds actually the time it takes to execute the send? Is there anyway to send data at a faster rate?
I would ideally love to send GPS coordinates at least every 500 ms, but it sounds like this isn’t possible. What times can I expect to see realistically?
I am considering buffering up a series of packets and then sending all at once. Any feedback would be greatly appreciated
For your use case I’d recommend using a MQTT provider instead our our cloud router. Sounds like you need to open one TCP connection then stream location data. Check out the following providers: