Expand description
Capability codes advertised via PROP_CAPS.
Constants§
- ADMIN
CAP_ADMIN— the device can be managed over the mesh by the nodes listed inPROP_DEV_ADMINS. RequiresCAP_DEV_IDENTITY, since an administrator addresses the device identity, andCAP_CMD_MULTI, so an administrator may rely on the multi-property commands.- ADVERT
CAP_ADVERT— the device announces itself on a schedule of its own (PROP_ADVERT_INTERVAL,PROP_BEACON_INTERVAL,PROP_STARTUP_BEACON). RequiresCAP_DEV_IDENTITY, since what an advertisement carries is the device identity.- ALERT
CAP_ALERT— the device has some means of making itself physically conspicuous on demand (PROP_ALERT). It says nothing about which means, so a host must not assume audibility.- BATTERY
CAP_BATTERY- BLE
CAP_BLE— the device has a Bluetooth transport whose reachability it can turn on and off (PROP_BLE_ENABLED,PROP_BLE_LINK). It says nothing about the stack underneath, and in particular does not promise that clearingPROP_BLE_ENABLEDpowers a radio down.- CMD_
MULTI CAP_CMD_MULTI— the device acceptsCMD_PROP_MULTI_GETandCMD_PROP_MULTI_SETand answers them withCMD_PROP_ARE.- DEV_
IDENTITY CAP_DEV_IDENTITY- DEV_
NAME CAP_DEV_NAME- GNSS
CAP_GNSS— a GNSS receiver is fitted, so the positioning properties exist and the wall clock has a source that can set itself. RequiresCAP_TIME.- HOST_
AUTO_ ACK CAP_HOST_AUTO_ACK(requiresCAP_HOST_KEYSandCAP_HOST_RX_QUEUE)- HOST_
FILTER CAP_HOST_FILTER- HOST_
KEYS CAP_HOST_KEYS(requiresCAP_HOST_FILTER)- HOST_
RX_ QUEUE CAP_HOST_RX_QUEUE(requiresCAP_HOST_FILTER)- IDENT
CAP_IDENT— the device serves and configures its own advertised node identity (PROP_IDENT,PROP_IDENT_ROLE,PROP_IDENT_MOBILE). RequiresCAP_DEV_IDENTITY.- ILLUMINANCE
CAP_ILLUMINANCE— an ambient light sensor is fitted, soPROP_ILLUMINANCEreads a measurement rather than nothing.- MAC_
BACKHAUL CAP_MAC_BACKHAUL— the device can carry the host on a point-to-point link to its own node (PROP_MAC_BACKHAUL). RequiresCAP_REPEATER: without a repeater there is nothing on the far side of that link to carry the host’s traffic onward.- PHY_
DUTY_ LIMIT CAP_PHY_DUTY_LIMIT- PHY_
LORA CAP_PHY_LORA- REBOOT
CAP_REBOOT— the device can restart its hardware on command (CMD_REBOOT). A device that cannot — one whose ULCP session is a process rather than a board — leaves this out and answers the commandSTATUS_UNIMPLEMENTED.- REPEATER
CAP_REPEATER— the device can act as an autonomous mesh repeater (PROP_MAC_REPEATER_ENABLED). RequiresCAP_DEV_IDENTITY.- SAVE
CAP_SAVE- STATS
CAP_STATS— the device keeps traffic counters and will report them (PROP_STAT_*). The forwarding counters additionally requireREPEATER: a session with no node of its own behind it never repeats anything, and reporting zero forwards would read as a repeater that has done nothing rather than as no repeater at all.- TIME
CAP_TIME— the device keeps a wall clock (PROP_TIME,PROP_TZ_OFFSET). It says nothing about where the time comes from or whether it survives a power cycle.- WRITABLE_
RAW_ STREAM CAP_WRITABLE_RAW_STREAM