NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
bt_mesh_hb_sub Struct Reference

#include <heartbeat.h>

Public Attributes

uint32_t period
 
uint32_t remaining
 
uint16_t src
 
uint16_t dst
 
uint16_t count
 
uint8_t min_hops
 
uint8_t max_hops
 

Detailed Description

Heartbeat Subscription parameters.

Member Data Documentation

◆ count

uint16_t bt_mesh_hb_sub::count

The number of received Heartbeat messages so far.

◆ dst

uint16_t bt_mesh_hb_sub::dst

Destination address to received Heartbeats on.

◆ max_hops

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.

◆ min_hops

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.

◆ period

uint32_t bt_mesh_hb_sub::period

Subscription period in seconds.

◆ remaining

uint32_t bt_mesh_hb_sub::remaining

Remaining subscription time in seconds.

◆ src

uint16_t bt_mesh_hb_sub::src

Source address to receive Heartbeats from.