green-fox-academy / huli-smarthome-device-static-fuchsit

0 stars 0 forks source link

REST interface design & documentation #11

Open zkauker opened 6 years ago

zkauker commented 6 years ago

getDeviceParams()

The master board requests all our configuration to be able to register our device to the Google IoT Core

  1. device identifier
  2. device type
  3. Public SSL key

connectToGoogle()

This task is about just being able to accept the connection parameters, which are:

  1. MQTT host
  2. MQTT port
  3. command topic
  4. status topic

In the first iteration just print these to the serial port.

The API interface should be documented on wiki (link comes later)