NimBLE-Arduino 2.1.2
|
Bluetooth Mesh. More...
Classes | |
struct | bt_mesh_cfg_cli |
Macros | |
#define | BT_MESH_PUB_PERIOD_100MS(steps) ((steps) & BIT_MASK(6)) |
Helper macro to encode model publication period in units of 100ms. | |
#define | BT_MESH_PUB_PERIOD_SEC(steps) (((steps) & BIT_MASK(6)) | (1 << 6)) |
Helper macro to encode model publication period in units of 1 second. | |
#define | BT_MESH_PUB_PERIOD_10SEC(steps) (((steps) & BIT_MASK(6)) | (2 << 6)) |
Helper macro to encode model publication period in units of 10 seconds. | |
#define | BT_MESH_PUB_PERIOD_10MIN(steps) (((steps) & BIT_MASK(6)) | (3 << 6)) |
Helper macro to encode model publication period in units of 10 minutes. | |
Bluetooth Mesh.
#define BT_MESH_PUB_PERIOD_100MS | ( | steps | ) | ((steps) & BIT_MASK(6)) |
Helper macro to encode model publication period in units of 100ms.
steps | Number of 100ms steps. |
#define BT_MESH_PUB_PERIOD_10MIN | ( | steps | ) | (((steps) & BIT_MASK(6)) | (3 << 6)) |
Helper macro to encode model publication period in units of 10 minutes.
steps | Number of 10 minute steps. |
#define BT_MESH_PUB_PERIOD_10SEC | ( | steps | ) | (((steps) & BIT_MASK(6)) | (2 << 6)) |
Helper macro to encode model publication period in units of 10 seconds.
steps | Number of 10 second steps. |
#define BT_MESH_PUB_PERIOD_SEC | ( | steps | ) | (((steps) & BIT_MASK(6)) | (1 << 6)) |
Helper macro to encode model publication period in units of 1 second.
steps | Number of 1 second steps. |