Skip to main content

Module bearer

Module bearer 

Source
Expand description

What Mesh puts on the advertising and GATT bearers: beacons (AD type Mesh Beacon), PB-ADV (AD type PB-ADV: links and provisioning transactions), and Proxy PDUs on the Mesh Proxy and Provisioning GATT services.

Modules§

proxy
Proxy PDU message types.

Structs§

PbAdv
One PB-ADV PDU: link, transaction number and Generic Provisioning PDU.
ProxyRx
Reassembles Proxy PDUs into (type, message).
TransactionRx
Reassembles one PB-ADV transaction.

Enums§

Beacon
A Mesh beacon.
Generic
A Generic Provisioning PDU, as carried in PB-ADV.

Functions§

fcs
The FCS of 3GPP TS 27.010 (as in RFCOMM): CRC-8 with polynomial x^8 + x^2 + x + 1, reflected, initial 0xFF, ones’ complemented.
proxy_segments
Splits a message into Proxy PDUs for an ATT MTU (each write carries MTU - 3).