Zephyr API 3.6.99
|
Heartbeat publication configuration parameters. More...
#include <cfg_cli.h>
Data Fields | |
uint16_t | dst |
Heartbeat destination address. | |
uint8_t | count |
Logarithmic Heartbeat count. | |
uint8_t | period |
Logarithmic Heartbeat publication transmit interval in seconds. | |
uint8_t | ttl |
Publication message Time To Live value. | |
uint16_t | feat |
Bitmap of features that trigger Heartbeat publications. | |
uint16_t | net_idx |
Network index to publish with. | |
Heartbeat publication configuration parameters.
uint8_t bt_mesh_cfg_cli_hb_pub::count |
Logarithmic Heartbeat count.
Decoded as (1 << (count - 1)) if count is between 1 and 0x11, 0 if count is 0, or "indefinitely" if count is 0xff.
When used in Heartbeat publication set, this parameter denotes the number of Heartbeat messages to send.
When returned from Heartbeat publication get, this parameter denotes the number of Heartbeat messages remaining to be sent.
uint16_t bt_mesh_cfg_cli_hb_pub::dst |
Heartbeat destination address.
uint16_t bt_mesh_cfg_cli_hb_pub::feat |
Bitmap of features that trigger Heartbeat publications.
Legal values are BT_MESH_FEAT_RELAY, BT_MESH_FEAT_PROXY, BT_MESH_FEAT_FRIEND and BT_MESH_FEAT_LOW_POWER
uint16_t bt_mesh_cfg_cli_hb_pub::net_idx |
Network index to publish with.
uint8_t bt_mesh_cfg_cli_hb_pub::period |
Logarithmic Heartbeat publication transmit interval in seconds.
Decoded as (1 << (period - 1)) if period is between 1 and 0x11. If period is 0, Heartbeat publication is disabled.
uint8_t bt_mesh_cfg_cli_hb_pub::ttl |
Publication message Time To Live value.