ELECTRON 3G and UDP

I am new to the electron and would like to use it to send data periodically (every six minutes) from a oceanographic instrument. I read that the ELECTRON uses UDP and therefore cannot guarantee the data packet will be received. What options do I have to make sure all data is received and that it is correct? Would I need to create my own handshaking?

Thanks

Tom M.

If you are using Particle.publish() this function will retry to publish 3~5 times to deliver the message to get an ACK.
And if you need to make 100% sure you could Particle.subscribe() to the same event to get notified when the cloud actually received the message and if you don’t get the subscription note, retry the publish.

2 Likes