Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Heartbeat . More...

Data Structures

struct  bt_mesh_hb_pub
 Heartbeat Publication parameters. More...
 
struct  bt_mesh_hb_sub
 Heartbeat Subscription parameters. More...
 
struct  bt_mesh_hb_cb
 Heartbeat callback structure. More...
 

Macros

#define BT_MESH_HB_CB_DEFINE(_name)
 Register a callback structure for Heartbeat events.
 

Functions

void bt_mesh_hb_pub_get (struct bt_mesh_hb_pub *get)
 Get the current Heartbeat publication parameters.
 
void bt_mesh_hb_sub_get (struct bt_mesh_hb_sub *get)
 Get the current Heartbeat subscription parameters.
 

Detailed Description

Heartbeat .

Macro Definition Documentation

◆ BT_MESH_HB_CB_DEFINE

#define BT_MESH_HB_CB_DEFINE ( _name)

#include <zephyr/bluetooth/mesh/heartbeat.h>

Value:
#define STRUCT_SECTION_ITERABLE(struct_type, varname)
Defines a new element for an iterable section.
Definition iterable_sections.h:216
Heartbeat callback structure.
Definition heartbeat.h:79

Register a callback structure for Heartbeat events.

Registers a callback structure that will be called whenever Heartbeat events occur

Parameters
_nameName of callback structure.

Function Documentation

◆ bt_mesh_hb_pub_get()

void bt_mesh_hb_pub_get ( struct bt_mesh_hb_pub * get)

#include <zephyr/bluetooth/mesh/heartbeat.h>

Get the current Heartbeat publication parameters.

Parameters
getHeartbeat publication parameters return buffer.

◆ bt_mesh_hb_sub_get()

void bt_mesh_hb_sub_get ( struct bt_mesh_hb_sub * get)

#include <zephyr/bluetooth/mesh/heartbeat.h>

Get the current Heartbeat subscription parameters.

Parameters
getHeartbeat subscription parameters return buffer.