Jarvis Protocol » History » Version 1
Hammel, 22 Jan 2018 12:42
1 | 1 | Hammel | h1. Jarvis Protocol |
---|---|---|---|
2 | |||
3 | # Jarvis creates a JSON packet with command |
||
4 | # Jarvis connects to REST interface on server node. |
||
5 | # Server node processes requests into IoT command |
||
6 | # Server node issues REST call to IoT device |
||
7 | |||
8 | h2. Components |
||
9 | |||
10 | # Jarvis Java application on desktop |
||
11 | # nodejs based REST interface on PiBox |
||
12 | ## Restify handles REST API |
||
13 | ## Restify provides hooks for https setup |
||
14 | |||
15 | h2. Issues |
||
16 | |||
17 | # Generate key/cert at boot time on PiBox |
||
18 | # Allow Jarvis to register to receive key |
||
19 | |||
20 | See https://cloud.google.com/iot/docs/how-tos/credentials/keys |