[LP-269] UAVObjects updates stream services for IoT analysis
Pablo Francisco Pérez Hidalgo (approved)
Branch: pfcoperez/librepilot:iot_streamservice
Branch: librepilot/librepilot:next
Merged
Merged pull request
Merged in pfcoperez/librepilot/iot_streamservice (pull request #212)
This PR adds a multiple client TCP/IP socket stream where each UAVDataObject value is published after changes on it. The information is transmitted in text format being each object encoded in a JSON string.
The server won't send anything until at least one client gets connected. Hence, the system performance gets barely affected.
NOTE
From now, the service is neither configurable through LP GUI nor through settings XML file. Work to offer that functionality has been started but I wanted to check the functionality LibrePilot team reception before investing more time on that.
Further configurable options could be:
Select which objects should be published.
Optional Timestamp/Flight-time field at each published JSON.