[][src]Module bluetooth_mesh::address

Bluetooth Mesh Addresses. All address are 16-bit except for Virtual Addresses. Virtual Address are 128-bit UUIDs but only a 16-bit hash of the UUID is sent with message.

Bits (16)Type
0b0000 0000 0000 0000Unassigned
0b0xxx xxxx xxxx xxxxUnicast
0b10xx xxxx xxxx xxxxVirtual
0b11xx xxxx xxxx xxxxGroup

Endian depends on layer!! Little: Access/Foundation Big: Everything else

Structs

AddressError
GroupAddress

Group Address. Some Group Address are reserved.

UnicastAddress

Element Unicast Address. Each Element has one Unicast assigned to it.

VirtualAddress

Stores the 14-bit hash and full 128 bit virtual UUID. Only the 14-bit hash is sent with messages over the air. During the application decryption process, the UUID is supplied to the AES CCM decryptor as associated data. If the hash matches but the decryption fails (MIC doesn't match), the message doesn't belong to that VirtualAddress.

VirtualAddressHash

Only stores the 14 bit hash of the virtual UUID. For the full 128 bit UUID, look at VirtualAddress

Enums

Address

Constants

ADDRESS_LEN