Project

General

Profile

Jarvis Protocol » History » Version 2

Hammel, 22 Jan 2018 12:43

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 2 Hammel
## Requires nodejs to be installed in PiBox core
15 1 Hammel
16
h2. Issues
17
18
# Generate key/cert at boot time on PiBox
19
# Allow Jarvis to register to receive key
20
21
See https://cloud.google.com/iot/docs/how-tos/credentials/keys