Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
shell.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_SHELL_H_
7#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_SHELL_H_
8
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
16#define BT_MESH_SHELL_CUR_FAULTS_MAX 4
17
24#define BT_MESH_SHELL_HEALTH_PUB_DEFINE(_name) \
25 BT_MESH_HEALTH_PUB_DEFINE(_name, \
26 BT_MESH_SHELL_CUR_FAULTS_MAX);
27
30 /* Current destination address */
32 /* Current net index */
34 /* Current app index */
36};
37
40
43
46
49
52
55
58
61
64
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif /* ZEPHYR_INCLUDE_BLUETOOTH_MESH_SHELL_H_ */
struct bt_mesh_dfu_srv bt_mesh_shell_dfu_srv
External reference to Firmware Update Server.
struct bt_mesh_prov bt_mesh_shell_prov
External reference to provisioning handler.
struct bt_mesh_rpr_cli bt_mesh_shell_rpr_cli
External reference to Remote Provisioning Client.
struct bt_mesh_health_srv bt_mesh_shell_health_srv
External reference to health server.
struct bt_mesh_blob_srv bt_mesh_shell_blob_srv
External reference to BLOB Transfer Server.
struct bt_mesh_health_cli bt_mesh_shell_health_cli
External reference to health client.
const struct bt_mesh_models_metadata_entry health_srv_meta[]
External reference to health server metadata.
struct bt_mesh_dfu_cli bt_mesh_shell_dfu_cli
External reference to Firmware Update Client.
struct bt_mesh_shell_target bt_mesh_shell_target_ctx
External reference to shell target context.
struct bt_mesh_blob_cli bt_mesh_shell_blob_cli
External reference to BLOB Transfer Client.
Bluetooth Mesh Profile APIs.
__UINT16_TYPE__ uint16_t
Definition: stdint.h:89
BLOB Transfer Client model instance.
Definition: blob_cli.h:289
BLOB Transfer Server instance.
Definition: blob_srv.h:131
Firmware Update Client model instance.
Definition: dfu_cli.h:184
Firmware Update Server instance.
Definition: dfu_srv.h:176
Health Client Model Context.
Definition: health_cli.h:27
Mesh Health Server Model Context.
Definition: health_srv.h:150
Models Metadata Entry struct.
Definition: access.h:778
Provisioning properties & capabilities.
Definition: main.h:115
Remote Provisioning Client model instance.
Definition: rpr_cli.h:64
Target context for the mesh shell.
Definition: shell.h:29
uint16_t net_idx
Definition: shell.h:33
uint16_t dst
Definition: shell.h:31
uint16_t app_idx
Definition: shell.h:35