Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <heartbeat.h>
Data Fields | |
uint32_t | period |
uint32_t | remaining |
uint16_t | src |
uint16_t | dst |
uint16_t | count |
uint8_t | min_hops |
uint8_t | max_hops |
Heartbeat Subscription parameters.
uint16_t bt_mesh_hb_sub::count |
The number of received Heartbeat messages so far.
uint16_t bt_mesh_hb_sub::dst |
Destination address to received Heartbeats on.
uint8_t bt_mesh_hb_sub::max_hops |
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.
uint8_t bt_mesh_hb_sub::min_hops |
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.
uint32_t bt_mesh_hb_sub::period |
Subscription period in seconds.
uint32_t bt_mesh_hb_sub::remaining |
Remaining subscription time in seconds.
uint16_t bt_mesh_hb_sub::src |
Source address to receive Heartbeats from.