Expand description
The access layer (Mesh Protocol 3.7): opcodes and the messages of the
foundation models (Configuration, sent with the device key) and of the
Generic OnOff and Level models. Opcode names come from the SIG’s
assigned numbers (bluetooth_numbers::mesh_opcode).
Modules§
- op
- Configuration and Generic opcodes the provisioner uses.
Structs§
- Composition
- Composition Data page 0.
- Element
- One element of a node.
Enums§
- Generic
Status - A Generic OnOff or Level Status: present (and target, when moving).
- ModelId
- A model: a SIG model (16 bits) or a vendor’s (company, model).
Functions§
- appkey_
add - Config AppKey Add.
- generic_
status - Parses a Generic OnOff or Level Status.
- key_
indexes - Two 12-bit key indexes packed in three octets, little-endian.
- level_
set - Generic Level Set (or Set Unacknowledged).
- message
- An access payload: opcode then parameters.
- model_
app_ bind - Config Model App Bind.
- model_
pub_ set - Config Model Publication Set: publish to
addresswithapp_index, TTL, period (raw byte), retransmit count and interval steps. - model_
sub_ add - Config Model Subscription Add.
- name
- The opcode’s name.
- onoff_
set - Generic OnOff Set (or Set Unacknowledged): on or off, with a transaction identifier.
- split
- Splits an access payload into opcode and parameters.
Type Aliases§
- Opcode
- An opcode: 1 octet (
0x00-0x7e), 2 octets (0x8000-0xbfff), or 3 octets (0xc0xxxx, a vendor’s, with its company identifier).