Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
bt_mesh_cfg_hb_sub Struct Reference

#include <cfg_cli.h>

Data Fields

uint16_t src
 
uint16_t dst
 
uint8_t period
 
uint8_t count
 
uint8_t min
 
uint8_t max
 

Detailed Description

Heartbeat subscription configuration parameters.

Field Documentation

◆ count

uint8_t bt_mesh_cfg_hb_sub::count

Logarithmic Heartbeat subscription receive count. The decoded Heartbeat count is (1 << (count - 1)) if count is between 1 and 0xfe, 0 if count is 0 and 0xffff if count is 0xff.

Ignored in Heartbeat subscription set.

◆ dst

uint16_t bt_mesh_cfg_hb_sub::dst

Destination address to receive Heartbeat messages on.

◆ max

uint8_t bt_mesh_cfg_hb_sub::max

Maximum hops in received messages, ie the longest registered path from the publishing node to the subscribing node. A Heartbeat received from an immediate neighbor has hop count = 1.

Ignored in Heartbeat subscription set.

◆ min

uint8_t bt_mesh_cfg_hb_sub::min

Minimum hops in received messages, ie the shortest registered path from the publishing node to the subscribing node. A Heartbeat received from an immediate neighbor has hop count = 1.

Ignored in Heartbeat subscription set.

◆ period

uint8_t bt_mesh_cfg_hb_sub::period

Logarithmic subscription period to keep listening for. The decoded subscription period is (1 << (period - 1)) seconds, or 0 seconds if period is 0.

◆ src

uint16_t bt_mesh_cfg_hb_sub::src

Source address to receive Heartbeat messages from.


The documentation for this struct was generated from the following file: