Zephyr API Documentation  3.0.0
A Scalable Open Source RTOS
3.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
shell.h File Reference
#include <bluetooth/mesh.h>

Go to the source code of this file.

Macros

#define BT_MESH_SHELL_CUR_FAULTS_MAX   4
 
#define BT_MESH_SHELL_HEALTH_PUB_DEFINE(_name)
 

Variables

struct bt_mesh_health_srv bt_mesh_shell_health_srv
 External reference to health server. More...
 
struct bt_mesh_health_cli bt_mesh_shell_health_cli
 External reference to health client. More...
 
struct bt_mesh_prov bt_mesh_shell_prov
 External reference to provisioning handler. More...
 

Macro Definition Documentation

◆ BT_MESH_SHELL_CUR_FAULTS_MAX

#define BT_MESH_SHELL_CUR_FAULTS_MAX   4

Maximum number of faults the health server can have.

◆ BT_MESH_SHELL_HEALTH_PUB_DEFINE

#define BT_MESH_SHELL_HEALTH_PUB_DEFINE (   _name)
Value:
#define BT_MESH_SHELL_CUR_FAULTS_MAX
Definition: shell.h:16
#define BT_MESH_HEALTH_PUB_DEFINE(_name, _max_faults)
Definition: health_srv.h:144

A helper to define a health publication context for shell with the shell's maximum number of faults the element can have.

Parameters
_nameName given to the publication context variable.

Variable Documentation

◆ bt_mesh_shell_health_cli

struct bt_mesh_health_cli bt_mesh_shell_health_cli
extern

External reference to health client.

◆ bt_mesh_shell_health_srv

struct bt_mesh_health_srv bt_mesh_shell_health_srv
extern

External reference to health server.

◆ bt_mesh_shell_prov

struct bt_mesh_prov bt_mesh_shell_prov
extern

External reference to provisioning handler.