iot.c code is all wrong
|Status:||Closed||Start date:||11 Jul 2018|
|Target version:||Iron Man - 002 - MVP|
|Severity:||01 - Critical|
- Check if the ipaddr of the requester is already registered.
- If so, return non-200 code
- If not registered then
- gen UUID
- build url back to device
- curl to the device URL
That's it. The rest of the processing goes through the REST API and nodejs. Much simpler than what I have in piboxd now, whose only job now is to handle multicast "pings" (re: finding each other) from Jarvis and IoT devices.
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
This is done now, though I think I checked in the fixes against RM #610. I stripped the old code out because it tried to do things that actually belong to the imrest server. That reduced the iot.c code to just acking the multicast discovery requests.
Tested against the imlightsw code and works.
Committed and pushed.