The hardware has a USB-C port which supports a USB-CDC serial interface to allow for debugging and configuration of the hardware and powering the device. A USB connection is not required if these features are not needed.
Structure
<command> <password> <topic> <data>
Password field is only required if the USB password is enabled
Topic and Data fields are command specific
All commands and topics are lowercase
Command is terminated by a CR or NL characters (Return or New Line)
Commands <command>
Description | Explanation |
| Write a device setting (see device settings table) |
| Read a device setting (see device settings table) |
| Emulate an MQTT command if |
| Returns command help text |
| Returns the Gumband Firmware Version |
| Restart the Gumband device |
| Restart into the bootloader (device firmware update) |
| Print the peripheral and property structure |
Device Settings <topic> <data>
Command | Topic | Data |
|
| read device MAC |
|
|
|
|
|
|
|
| Set default gateway |
|
| Set subnet mask |
|
| Set preferred dns ip (set to |
|
| Set master server IP (or address) and port |
|
| Set exhibit server IP and port |
|
|
|
|
| Set device authentication token - generated in the Gumband dashboard when adding new hardware |
|
| Set device hardware ID - generated in the Gumband dashboard when adding new hardware |
|
| Write user data location 32 single byte locations available OR
|
|
|
|
|
| Set USB password - 6 to 16 characters, set to |
|
|
When MQTT over USB is enabled: Any valid MQTT topic with corresponding data is supported |