Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <cfg_cli.h>
Data Fields | |
uint16_t | dst |
uint8_t | count |
uint8_t | period |
uint8_t | ttl |
uint16_t | feat |
uint16_t | net_idx |
Heartbeat publication configuration parameters.
uint8_t bt_mesh_cfg_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_hb_pub::dst |
Heartbeat destination address.
uint16_t bt_mesh_cfg_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_hb_pub::net_idx |
Network index to publish with.
uint8_t bt_mesh_cfg_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_hb_pub::ttl |
Publication message Time To Live value.