A simplest framework of IOT
Demo is simulation of MOBIKE system
winxos 2017-07-20
- UDP SERVER (OR MQTT EQ)
- ARDUINO DEVICE(ESP8266)
- HTTP SERVER(USING FLASK IN DEMO)
- APP(USING WEB BROWSER)
- User scan the QR code in DEVICE. The QR code encode the http request contain server host and device id or others.
- App deal the Authorization, and pass the id to http server.
- Http server pass through the command to the UDP server(OR MQTT server).
- Each DEVICE keep alive with UDP server.
- UDP server route the command to the DEVICE through ID.
- After the Device received the command, unlock, send 'unlocked' message to the UDP server.
- UDP server pass through the message to the HTTP server.
- HTTP server pass through 'unlocked' message to App.