* new: REQ_TYPE_SUBSCRIBE and REQ_TYPE_UNSUBSCRIBE

This commit is contained in:
Scott Powell
2026-09-04 15:13:17 +10:00
parent b4e37044ed
commit 9bc6060831
3 changed files with 116 additions and 22 deletions
+5
View File
@@ -28,6 +28,11 @@ struct ClientInfo {
unsigned long ack_timeout;
uint8_t push_failures;
} room;
struct {
uint16_t scope_region_id; // scope to use when sending telemetry to this client/subscriber
uint8_t min_deltas_len;
uint8_t min_deltas[14]; // LPP encoded
} sensor;
} extra;
bool isAdmin() const { return (permissions & PERM_ACL_ROLE_MASK) == PERM_ACL_ADMIN; }