If my particle loses power or its network connection, the TCP socket in the kegbot app is not closed and remains in an ESTABLISHED state. This leads to all future sensor data being lost to the app.
It looks like the USB Controller / Manager classes have some sort of watchdog implemented to ensure the connection to the arduino kegboard remain functional. This functionality does not seem to exist in the NetworkController class. To help maintain a consistent connection to the particle it may work to implement some sort of status ping and response to ensure the board is properly communicating with the app.
If my particle loses power or its network connection, the TCP socket in the kegbot app is not closed and remains in an ESTABLISHED state. This leads to all future sensor data being lost to the app.
It looks like the USB Controller / Manager classes have some sort of watchdog implemented to ensure the connection to the arduino kegboard remain functional. This functionality does not seem to exist in the NetworkController class. To help maintain a consistent connection to the particle it may work to implement some sort of status ping and response to ensure the board is properly communicating with the app.