[][src]Module bluetooth_mesh::device_state

Device State Manager used to storing device state and having an config client control it.

Structs

ConfigStates
DeviceState

Contains all the persistant Bluetooth Mesh device data. This struct needs to be serialized/saved somehow when the program shuts down or you will lose all your crypto keys. Normal operations should use just immutable functions (including increasing SequenceNumbers) but config clients and others will use mutable references to configure the node.

DeviceStateBuilder
ModelInfo
Models
SeqCounter

Atomic SeqCounter so no PDUs get the same SeqNumber. Sequence Numbers are a finite resource (only 24-bits) that only get reset every IVIndex update. Also segmented PDUs require sequential Sequence Number.

SeqRange