39 lines
1 KiB
C
39 lines
1 KiB
C
|
/* Console example — declarations of command registration functions.
|
||
|
|
||
|
This example code is in the Public Domain (or CC0 licensed, at your option).
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, this
|
||
|
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||
|
CONDITIONS OF ANY KIND, either express or implied.
|
||
|
*/
|
||
|
#pragma once
|
||
|
|
||
|
#include "esp_ble_mesh_defs.h"
|
||
|
|
||
|
// Register system functions
|
||
|
void register_system();
|
||
|
|
||
|
// Register bluetooth
|
||
|
void register_bluetooth();
|
||
|
|
||
|
// Register mesh node cmd
|
||
|
void ble_mesh_register_mesh_node();
|
||
|
|
||
|
// Register Test Perf client cmd
|
||
|
void ble_mesh_register_mesh_test_performance_client();
|
||
|
|
||
|
#if (CONFIG_BLE_MESH_CFG_CLI)
|
||
|
// Register mesh config client operation cmd
|
||
|
void ble_mesh_register_configuration_client_model();
|
||
|
#endif
|
||
|
|
||
|
#if (CONFIG_BLE_MESH_GENERIC_ONOFF_CLI)
|
||
|
// Register mesh client operation cmd
|
||
|
void ble_mesh_register_gen_onoff_client();
|
||
|
#endif
|
||
|
|
||
|
#if CONFIG_BLE_MESH_PROVISIONER
|
||
|
// Regitster mesh provisioner cmd
|
||
|
void ble_mesh_register_mesh_provisioner();
|
||
|
#endif
|