Zephyr Project API  3.3.0
A Scalable Open Source RTOS
shell.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_mesh_shell_target
 

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...
 
struct bt_mesh_shell_target bt_mesh_shell_target_ctx
 External reference to shell target context. 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:143

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.

◆ bt_mesh_shell_target_ctx

struct bt_mesh_shell_target bt_mesh_shell_target_ctx
extern

External reference to shell target context.