kopia lustrzana https://github.com/espressif/esp-idf
42 wiersze
1.2 KiB
C
42 wiersze
1.2 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(void);
|
|
|
|
// Register blutooth
|
|
void register_bluetooth(void);
|
|
|
|
// Register mesh node cmd
|
|
void ble_mesh_register_mesh_node(void);
|
|
|
|
// Register Test Perf client cmd
|
|
void ble_mesh_register_mesh_test_performance_client(void);
|
|
|
|
#if (CONFIG_BLE_MESH_CFG_CLI)
|
|
// Register mesh config client operation cmd
|
|
void ble_mesh_register_configuration_client_model(void);
|
|
#endif
|
|
|
|
// Register mesh config server and generic server operation cmd
|
|
void ble_mesh_register_server(void);
|
|
|
|
#if (CONFIG_BLE_MESH_GENERIC_ONOFF_CLI)
|
|
// Register mesh client operation cmd
|
|
void ble_mesh_register_gen_onoff_client(void);
|
|
#endif
|
|
|
|
#if (CONFIG_BLE_MESH_CFG_CLI)
|
|
// Register mesh config client operation cmd
|
|
void ble_mesh_register_configuration_client_model(void);
|
|
#endif
|