Skip to content

Serial communication

Maximilian Inckmann edited this page Apr 17, 2021 · 4 revisions

Serial communication (only for interested people)

General information

  • Baudrate: 9600
  • Serial is used to provide debug information.
  • Serial is used for the first setup.
  • Controlling the ESP over Serial isn't possible yet.
  • For each command-value pair please send the command first, make a new line and post then the value!!!

Commands:

WiFi-Network-SSID: setSSID --> Expected value: char* with maximum length of 32
WiFi-Network-Password: setPW --> Expected value: char* with maximum length of 64
Server-IP-Address: setServer --> Expected value: char[16]
AES-Key: setKey --> Expected value: 16 ints between 0 and 255 seperated by comma
MasterID: setID --> Expected value: char[5] ([a-Z0-9])

Answers

The answers of the ESP are either FAIL or SUCCESS.