This is an IoT device, which monitors the electrical device and sends the data to their network over the internet. We worked on a mobile application to monitor this low voltage monitoring device in real time.
- Connect with the device over a secured Wifi access point automatically from the application itself, the user must not be annoyed of doing it from the phone settings.
- Communicate via UDP protocol with the device and show real time data received from the device. This was the most complicated part as of programming UDP sockets over a mobile app, designing the solution to run continuously in an optimal way. It has to be robust and able to receive > Parse > show the data in real time.
- Error handling and retry mechanism for sending/receiving a UDP response is tricky as there is nothing like "response" in UDP, everything is a request! This again gets more complicated based on the standard IoT device request/response formats.