|
ESPectre SDK 2.8.0-280-gac7af68
Wi-Fi CSI motion sensing for ESP32 firmware
|
Device identity and broker settings. More...
#include <espectre_protocol.h>
Public Attributes | |
| uint64_t | device_id {ESPECTRE_DEFAULT_DEVICE_ID} |
| Stable device identity. | |
| std::string | device_label {ESPECTRE_DEFAULT_DEVICE_LABEL} |
| Human-readable name. | |
| std::string | mqtt_host |
| Broker hostname or IP. | |
| uint16_t | mqtt_port {1883} |
| std::string | mqtt_username |
| Broker credentials. | |
| std::string | mqtt_password |
| std::string | topic_prefix {ESPECTRE_TOPIC_PREFIX} |
| Topic root. | |
Device identity and broker settings.
Frontends persist this so a device keeps its identity and connection across reboots and reprovisioning.
Definition at line 68 of file espectre_protocol.h.
| uint64_t espectre::EspectreDeviceConfig::device_id {ESPECTRE_DEFAULT_DEVICE_ID} |
Stable device identity.
Zero means use the runtime-generated value.
Definition at line 70 of file espectre_protocol.h.
| std::string espectre::EspectreDeviceConfig::device_label {ESPECTRE_DEFAULT_DEVICE_LABEL} |
Human-readable name.
Empty falls back to the formatted device id.
Definition at line 72 of file espectre_protocol.h.
| std::string espectre::EspectreDeviceConfig::mqtt_host |
Broker hostname or IP.
Empty disables MQTT: IMqttTransport::setup() fails.
Definition at line 74 of file espectre_protocol.h.
| uint16_t espectre::EspectreDeviceConfig::mqtt_port {1883} |
Definition at line 75 of file espectre_protocol.h.
| std::string espectre::EspectreDeviceConfig::mqtt_username |
Broker credentials.
Leave empty for anonymous brokers.
Definition at line 77 of file espectre_protocol.h.
| std::string espectre::EspectreDeviceConfig::mqtt_password |
Definition at line 78 of file espectre_protocol.h.
| std::string espectre::EspectreDeviceConfig::topic_prefix {ESPECTRE_TOPIC_PREFIX} |
Topic root.
Change it only if you also change every consumer.
Definition at line 80 of file espectre_protocol.h.