Actions
Bug #639
closediot.c code is all wrong
Start date:
11 Jul 2018
Due date:
% Done:
100%
Estimated time:
Severity:
01 - Critical
Description
The original iot.c code in piboxd expected devices to send a bunch of data that piboxd would handle. But the new REST API doesn't need that. Instead it just needs to do the following:
- 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.
Related issues
Actions