chore: cleanup
This commit is contained in:
@@ -21,14 +21,6 @@
|
||||
#define HOMIE_STATE_DISCONNECTED "disconnected"
|
||||
#define MAX_PAYLOAD_LENGTH 256
|
||||
|
||||
// TODO:
|
||||
// Property definitions
|
||||
typedef enum {
|
||||
PROP_STATE, // for relay
|
||||
PROP_MOISTURE, // for soil sensor
|
||||
PROP_TEMPERATURE, // for soil sensor and thermometer
|
||||
} device_property_t;
|
||||
|
||||
// Parse Homie topic format: homie/node-id/device-name/property/[set|get]
|
||||
// Returns: 1 if successful, 0 if invalid format or buffer overflow
|
||||
static uint8_t parse_homie_topic(const char* topic, size_t topic_len,
|
||||
|
||||
Reference in New Issue
Block a user