Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
Heartbeat Subscription parameters. More...
#include <heartbeat.h>
Data Fields | |
uint32_t | period |
Subscription period in seconds. | |
uint32_t | remaining |
Remaining subscription time in seconds. | |
uint16_t | src |
Source address to receive Heartbeats from. | |
uint16_t | dst |
Destination address to received Heartbeats on. | |
uint16_t | count |
The number of received Heartbeat messages so far. | |
uint8_t | min_hops |
Minimum hops in received messages, ie the shortest registered path from the publishing node to the subscribing node. | |
uint8_t | max_hops |
Maximum hops in received messages, ie the longest registered path from the publishing node to the subscribing node. | |
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.