Expand description
Property identifiers.
Constants§
- ADVERT_
INTERVAL - Seconds between unsolicited advertisements (
PROP_ADVERT_INTERVAL) — UINT32, 0 to send none. An advertisement carries the signed node identity and goes out with no flood hops and no source route, so it reaches the neighbours that can hear the device directly and stops there. The accepted range is [MIN_AUTO_ANNOUNCE_INTERVAL_S] to [MAX_AUTO_ANNOUNCE_INTERVAL_S], and the value is a floor rather than a period: the device scatters each send later by up to a quarter of it. RequiresCAP_ADVERT. - ALERT
- Locate-alert state (
PROP_ALERT) — what the device is currently doing to draw attention to where it physically is. Volatile: never saved, unaffected byCMD_RST,ALERT_NONEafter every reset. RequiresCAP_ALERT. - BATTERY
- Battery status snapshot (
PROP_BATTERY). - BEACON_
INTERVAL - Seconds between unsolicited beacons (
PROP_BEACON_INTERVAL) — UINT32, 0 to send none. A beacon carries no payload and goes out with a flood budget and the trace-route and trace-signal options, so what it announces is the path back to the device rather than who the device is. Same range and same scatter asADVERT_INTERVAL. RequiresCAP_ADVERT. - BLE_
BOND_ COUNT - How many Bluetooth bonds the device is holding
(
PROP_BLE_BOND_COUNT) —UINT8, read-only. RequiresCAP_BLE; a device whose bonds it cannot manage answersSTATUS_PROP_NOT_FOUND. - BLE_
ENABLED - Whether the device is reachable over Bluetooth
(
PROP_BLE_ENABLED) — BOOL, default 1. RequiresCAP_BLE. - BLE_
LINK - How far the Bluetooth transport has got with whoever is on the
other end of it (
PROP_BLE_LINK) —UINT8, read-only, one ofcrate::ble::BleLinkState. RequiresCAP_BLE. - BLE_
PAIRING - Whether a pairing window is open (
PROP_BLE_PAIRING) — BOOL, read-write. RequiresCAP_BLE; a device that does not manage its own bonds answersSTATUS_PROP_NOT_FOUND. - BLE_
PAIRING_ PIN - Persisted, write-only BLE pairing passkey (
PROP_BLE_PAIRING_PIN). - CAPS
- Supported capability list (
PROP_CAPS). - DEV_
ADMINS - Nodes authorized to manage this device over the mesh
(
PROP_DEV_ADMINS) — a multiple-value property whose items are 32-octet Ed25519 public keys, reported verbatim. An empty list disables node management. RequiresCAP_ADMIN. - DEV_
CHANNEL_ KEYS - Device identity channel keys (
PROP_DEV_CHANNEL_KEYS). - DEV_
DISCOVERABLE - Whether the device identity answers Identity Requests
(
PROP_DEV_DISCOVERABLE) — BOOL, default 1. RequiresCAP_DEV_IDENTITY. - DEV_KEY
- Device identity public key (
PROP_DEV_KEY). - DEV_
MODEL - Hardware model name (
PROP_DEV_MODEL) — what the board is, whereDEV_VERSIONis what it runs. Optional and ungated: a device that cannot name its own hardware refuses the get. - DEV_
NAME - Human-readable device name (
PROP_DEV_NAME). - DEV_
PEERS - Device identity peer list (
PROP_DEV_PEERS). - DEV_
PRIVATE_ KEY - Device identity private key, write-only (
PROP_DEV_PRIVATE_KEY). - DEV_
VERSION - device firmware version string (
PROP_DEV_VERSION). - GNSS_
ALTITUDE - Altitude of the last fix (
PROP_GNSS_ALTITUDE) —INT32_LEmeters above the WGS-84 ellipsoid, matching the units of node identity option 2. Empty when there is no fix. RequiresCAP_GNSS. - GNSS_
ENABLED - Whether the GNSS receiver is powered (
PROP_GNSS_ENABLED) — BOOL, default 0. Off means the lowest power state the receiver reaches; a board whose receiver RTC is the board’s only clock keeps that domain alive regardless. RequiresCAP_GNSS. - GNSS_
FIX - Fix quality (
PROP_GNSS_FIX) —UINT8, 0 none, 1 two-dimensional, 2 three-dimensional. Reads 0 while the receiver is disabled. RequiresCAP_GNSS. - GNSS_
IDENT_ PRECISION - Precision the advertised location is clamped to
(
PROP_GNSS_IDENT_PRECISION) —UINT81–7, default 5. RequiresCAP_GNSS. - GNSS_
IDENT_ UPDATE - Whether position fixes update the advertised node identity
(
PROP_GNSS_IDENT_UPDATE) — BOOL, default 0. RequiresCAP_GNSS. - GNSS_
LOCATION - Last position fix (
PROP_GNSS_LOCATION) — 0–7 octets in the variable-precision interleaved format. Empty means no fix has been obtained this power cycle. RequiresCAP_GNSS. - GNSS_
PRECISION - Estimated horizontal accuracy of the last fix
(
PROP_GNSS_PRECISION) —UINT16_LEdecimeters. An estimate derived from the receiver’s dilution of precision, not a measured error bound. Empty when there is no fix. RequiresCAP_GNSS. - GNSS_
SATELLITES - Satellite counts (
PROP_GNSS_SATELLITES) —UINT8satellites used in the solution, optionally followed byUINT8satellites in view. Reads 0 while the receiver is disabled. RequiresCAP_GNSS. - GNSS_
TIME_ TRUST - Whether receiver-derived time may set the wall clock
(
PROP_GNSS_TIME_TRUST) — BOOL, default 1. Cleared, neither a fix nor a receiver-RTC read touchesPROP_TIME, which leaves a manually-set clock proof against a jammed or spoofed sky. Position reporting is unaffected. RequiresCAP_GNSS. - HOST_
AUTO_ ACK - Acknowledgement-delegation enable (
PROP_HOST_AUTO_ACK). - HOST_
CHANNEL_ KEYS - Host channel keys (
PROP_HOST_CHANNEL_KEYS). - HOST_
KEY - Tethered host identity public key (
PROP_HOST_KEY). - HOST_
PEER_ KEYS - Host pairwise peer keys (
PROP_HOST_PEER_KEYS). - HOST_
RX_ FILTERS - Host receive filter table (
PROP_HOST_RX_FILTERS). - HOST_
RX_ QUEUE_ CAPACITY - Inbound queue capacity in frames (
PROP_HOST_RX_QUEUE_CAPACITY). - HOST_
RX_ QUEUE_ COUNT - Frames currently queued (
PROP_HOST_RX_QUEUE_COUNT). - HOST_
RX_ QUEUE_ DROPPED - Cumulative frames dropped from the queue (
PROP_HOST_RX_QUEUE_DROPPED). - IDENT
- The device identity’s complete signed node-identity blob
(
PROP_IDENT), served through a deferred signing effect. - IDENT_
ALTITUDE - Altitude the device identity advertises (
PROP_IDENT_ALTITUDE) — a minimal-length signed integer (seecrate::sint) of meters above the WGS-84 ellipsoid, or empty. Advertised only alongside a location. Same writability rule asIDENT_LOCATION; requiresCAP_IDENT. - IDENT_
LOCATION - Location the device identity advertises (
PROP_IDENT_LOCATION) — 0–7 octets in the variable-precision interleaved format, empty to advertise none. The value carries its own precision, so a location entered by hand needs no separate precision setting. - IDENT_
MOBILE - Whether the device identity advertises the
MOBcapability bit (PROP_IDENT_MOBILE) — mobile versus fixed, which is orthogonal to tethered versus standalone. - IDENT_
ROLE - Advertised
ROLEbyte of the device identity (PROP_IDENT_ROLE). Empty means “derive it from what the device is actually doing”. - ILLUMINANCE
- Ambient illuminance (
PROP_ILLUMINANCE) —UINT32_LEmillilux. Millilux rather than lux because the interesting region for an indicator that should not be intrusive at night is below one lux. Sampled when read; empty when the sensor could not be read. A board reports its clamped maximum above the sensor’s saturation point rather than extrapolating past it. RequiresCAP_ILLUMINANCE. - INTERFACE_
TYPE - Interface type discriminator (
PROP_INTERFACE_TYPE). - LAST_
STATUS - Status of the last operation (
PROP_LAST_STATUS). - MAC_
BACKHAUL - Carry the host on a point-to-point link to the device’s own node
instead of the shared medium (
PROP_MAC_BACKHAUL). Session-scoped. - MAC_
PROMISCUOUS - Deliver all received frames, bypassing host receive filtering
(
PROP_MAC_PROMISCUOUS). Session-scoped. - MAC_
REPEATER_ DEFAULT_ REGION - Region code inserted into untagged flood packets
(
PROP_MAC_REPEATER_DEFAULT_REGION) — one 2-octet code, or empty to never tag. - MAC_
REPEATER_ ENABLED - Autonomous MAC-layer repeater/forwarding enable (
PROP_MAC_REPEATER_ENABLED). - MAC_
REPEATER_ MIN_ RSSI - Minimum received RSSI in dBm for flood forwarding
(
PROP_MAC_REPEATER_MIN_RSSI) — INT16, or empty for no threshold. - MAC_
REPEATER_ MIN_ SNR - Minimum received SNR in whole dB for flood forwarding
(
PROP_MAC_REPEATER_MIN_SNR) — INT8, or empty for no threshold. - MAC_
REPEATER_ REGIONS - Regions the device identity flood-forwards for
(
PROP_MAC_REPEATER_REGIONS) — multiple-value, each item 1 to 24 octets of UTF-8 naming a region in its string form, empty for “forward regardless of region code”. The device derives the 2-octet forwarding codes itself; the strings are what it advertises, since a hash-derived code names nothing. - PHY_
DUTY_ LIMIT - Duty-cycle limit (
PROP_PHY_DUTY_LIMIT). - PHY_
DUTY_ NOW - Transmit duty usage over the past hour (
PROP_PHY_DUTY_NOW). - PHY_
ENABLED - PHY enabled flag (
PROP_PHY_ENABLED). - PHY_
FREQ - Frequency in kHz (
PROP_PHY_FREQ). - PHY_
LORA_ BW - LoRa bandwidth in Hz (
PROP_PHY_LORA_BW). - PHY_
LORA_ CR - LoRa coding rate (
PROP_PHY_LORA_CR). - PHY_
LORA_ SF - LoRa spreading factor (
PROP_PHY_LORA_SF). - PHY_
LORA_ SW - LoRa sync word, SX126x-style 16-bit (
PROP_PHY_LORA_SW). - PHY_MTU
- Maximum
STR_PHY_RAWdata size in octets (PROP_PHY_MTU). - PHY_
RSSI - Current RSSI in dBm (
PROP_PHY_RSSI). - PHY_
TX_ POWER - TX power in dBm (
PROP_PHY_TX_POWER). - PROTOCOL_
VERSION - Protocol major/minor version (
PROP_PROTOCOL_VERSION). - SAVED
- Whether a saved snapshot exists (
PROP_SAVED). - STARTUP_
BEACON - Whether the device emits one beacon once it comes up
(
PROP_STARTUP_BEACON) — BOOL, default 1. RequiresCAP_ADVERT. - STAT_
FORWARDED - Receptions this node chose to repeat (
PROP_STAT_FORWARDED) —UINT32_LE, counted at the decision rather than at the transmit, so a repeat the channel never let out is counted here and not inSTAT_TX_PACKETS. RequiresCAP_STATSandCAP_REPEATER. - STAT_
FORWARD_ CANCELLED - Queued repeats dropped after the destination’s acknowledgement was
overheard (
PROP_STAT_FORWARD_CANCELLED) —UINT32_LE. Airtime this node did not have to spend. RequiresCAP_STATSandCAP_REPEATER. - STAT_
FORWARD_ DROPPED - Receptions this node would have repeated and declined under the
operator’s forwarding policy (
PROP_STAT_FORWARD_DROPPED) —UINT32_LE: an exhausted flood budget, a signal below the configured minimum RSSI or SNR, or a region the repeater does not serve. Duplicates and traffic addressed to this device are not policy decisions and are not counted. RequiresCAP_STATSandCAP_REPEATER. - STAT_
RX_ ACCEPTED - Receptions the device’s own node acted on
(
PROP_STAT_RX_ACCEPTED) —UINT32_LE. Frames addressed to an attached host’s identity are that host’s business and are not counted here. RequiresCAP_STATSandCAP_REPEATER. - STAT_
RX_ BAD_ CRC - Receptions the radio rejected on CRC (
PROP_STAT_RX_BAD_CRC) —UINT32_LE. These never reach the MAC: the bytes are unusable and the frame is dropped where it was demodulated. A count that climbs with a quiet packet count is interference or a marginal link. RequiresCAP_STATS. - STAT_
RX_ NON_ UMSH - Receptions that passed CRC but are not UMSH packets
(
PROP_STAT_RX_NON_UMSH) —UINT32_LE. The test is the first octet’s protocol version and reserved bits, so a truncated UMSH frame still counts as UMSH; this is somebody else’s traffic on the same sync word. RequiresCAP_STATS. - STAT_
RX_ PACKETS - Receptions off the air that are UMSH packets
(
PROP_STAT_RX_PACKETS) —UINT32_LE, counted whoever they were addressed to. RequiresCAP_STATS. - STAT_
TX_ CHANNEL_ BUSY - Transmits the channel-activity check held back
(
PROP_STAT_TX_CHANNEL_BUSY) —UINT32_LE. Counted per attempt, so one frame that retries several times before it airs is counted several times here and once inSTAT_TX_PACKETS. RequiresCAP_STATS. - STAT_
TX_ PACKETS - Frames that reached the air (
PROP_STAT_TX_PACKETS) —UINT32_LE, counted for every client of the radio, the attached host included. RequiresCAP_STATS. Seecrate::statsfor what the counters share: they wrap, they are not saved,CMD_RSTdoes not touch them, and the only value a write may carry is zero. - TIME
- Wall-clock time (
PROP_TIME) —UINT32_LEseconds since the Unix epoch, or empty when the device does not know what time it is. Unsigned, so the encoding is wrap-free into 2106. RequiresCAP_TIME. - TZ_
OFFSET - Local time-zone offset from UTC (
PROP_TZ_OFFSET) —INT16_LEminutes, default 0. UnlikePROP_TIMEthis always has a value: where the device is configured to be is known even when what time it is is not. RequiresCAP_TIME. - UPTIME
- Seconds since the device booted (
PROP_UPTIME). Optional and ungated, likeDEV_MODEL: a device with no monotonic clock to answer from refuses the get. Reads next toLAST_STATUS, which says why the device last reset — this says how long ago.