diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/CMakeLists.txt index fe6fcc633b..ab5bee28b2 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(COMPONENT_SRCS "ble_mesh_demo_main.c") +set(COMPONENT_SRCS "main.c") set(COMPONENT_ADD_INCLUDEDIRS ".") diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/main.c index 926f96d984..6c5a1c96b1 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_client/main/main.c @@ -29,7 +29,7 @@ #include "esp_fast_prov_common.h" #include "esp_fast_prov_operation.h" #include "esp_fast_prov_client_model.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" #define PROV_OWN_ADDR 0x0001 #define APP_KEY_OCTET 0x12 diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/CMakeLists.txt index 1eb2d87ed2..a4884b0442 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(COMPONENT_SRCS "ble_mesh_demo_main.c" +set(COMPONENT_SRCS "main.c" "board.c") set(COMPONENT_ADD_INCLUDEDIRS ".") diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/main.c index 2bf3003091..2d8e4bae38 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server/main/main.c @@ -30,7 +30,7 @@ #include "esp_fast_prov_operation.h" #include "esp_fast_prov_client_model.h" #include "esp_fast_prov_server_model.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" extern struct _led_state led_state[3]; extern struct k_delayed_work send_self_prov_node_addr_timer; diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/CMakeLists.txt index 1eb2d87ed2..a4884b0442 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(COMPONENT_SRCS "ble_mesh_demo_main.c" +set(COMPONENT_SRCS "main.c" "board.c") set(COMPONENT_ADD_INCLUDEDIRS ".") diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/main.c index f4e55623fc..54f7a8ffaf 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/main.c @@ -20,7 +20,7 @@ #include "esp_ble_mesh_generic_model_api.h" #include "board.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" #define CID_ESP 0x02E5 diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/CMakeLists.txt index 1eb2d87ed2..a4884b0442 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(COMPONENT_SRCS "ble_mesh_demo_main.c" +set(COMPONENT_SRCS "main.c" "board.c") set(COMPONENT_ADD_INCLUDEDIRS ".") diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/main.c index 4d185f7450..9a8b9fbe66 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/main.c @@ -22,7 +22,7 @@ #include "esp_ble_mesh_local_data_operation_api.h" #include "board.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" #define CID_ESP 0x02E5 diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/CMakeLists.txt index 3d3bc6f9a5..a801c9f137 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(COMPONENT_SRCS "ble_mesh_demo_main.c") +set(COMPONENT_SRCS "main.c") set(COMPONENT_ADD_INCLUDEDIRS ".") diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/main.c index 4be356ad69..18ff3c449a 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/main.c @@ -19,7 +19,7 @@ #include "esp_ble_mesh_config_model_api.h" #include "esp_ble_mesh_generic_model_api.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" #define LED_OFF 0x0 #define LED_ON 0x1 diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/CMakeLists.txt index cc77bd4885..98d0fc613c 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(srcs "ble_mesh_demo_main.c" +set(srcs "main.c" "board.c") idf_component_register(SRCS "${srcs}" diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/main.c index 8e98fc6cca..31a8a825d7 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/main.c @@ -19,7 +19,7 @@ #include "esp_ble_mesh_config_model_api.h" #include "esp_ble_mesh_sensor_model_api.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" #include "board.h" #define CID_ESP 0x02E5 diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/CMakeLists.txt index cc77bd4885..98d0fc613c 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(srcs "ble_mesh_demo_main.c" +set(srcs "main.c" "board.c") idf_component_register(SRCS "${srcs}" diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/main.c index c1cd4258aa..7573cdba60 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/main.c @@ -20,7 +20,7 @@ #include "esp_ble_mesh_config_model_api.h" #include "esp_ble_mesh_sensor_model_api.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" #include "board.h" #define CID_ESP 0x02E5 diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/CMakeLists.txt index 1eb2d87ed2..a4884b0442 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(COMPONENT_SRCS "ble_mesh_demo_main.c" +set(COMPONENT_SRCS "main.c" "board.c") set(COMPONENT_ADD_INCLUDEDIRS ".") diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/main.c index ba897d73d1..1c5fd7e3c5 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/main.c @@ -19,7 +19,7 @@ #include "esp_ble_mesh_networking_api.h" #include "esp_ble_mesh_config_model_api.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" #include "board.h" #define CID_ESP 0x02E5 diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/CMakeLists.txt index 1eb2d87ed2..a4884b0442 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(COMPONENT_SRCS "ble_mesh_demo_main.c" +set(COMPONENT_SRCS "main.c" "board.c") set(COMPONENT_ADD_INCLUDEDIRS ".") diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/main.c index f1a2f9614e..94d0e36d68 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/main.c @@ -22,7 +22,7 @@ #include "esp_ble_mesh_local_data_operation_api.h" #include "board.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" #define CID_ESP 0x02E5 #define CID_NVAL 0xFFFF diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/CMakeLists.txt index 1eb2d87ed2..a4884b0442 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/CMakeLists.txt @@ -1,4 +1,4 @@ -set(COMPONENT_SRCS "ble_mesh_demo_main.c" +set(COMPONENT_SRCS "main.c" "board.c") set(COMPONENT_ADD_INCLUDEDIRS ".") diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/ble_mesh_demo_main.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/main.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/ble_mesh_demo_main.c rename to examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/main.c index d88d5e2ed9..59bb20d4c5 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/ble_mesh_demo_main.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/main.c @@ -42,7 +42,7 @@ #include "esp_fast_prov_operation.h" #include "esp_fast_prov_client_model.h" #include "esp_fast_prov_server_model.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" extern struct _led_state led_state[3]; extern struct k_delayed_work send_self_prov_node_addr_timer; diff --git a/examples/bluetooth/esp_ble_mesh/common_components/example_init/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/common_components/example_init/CMakeLists.txt index d4ca1d299c..feb0531294 100644 --- a/examples/bluetooth/esp_ble_mesh/common_components/example_init/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/common_components/example_init/CMakeLists.txt @@ -1,3 +1,3 @@ -idf_component_register(SRCS "ble_mesh_demo_init.c" +idf_component_register(SRCS "ble_mesh_example_init.c" INCLUDE_DIRS "." REQUIRES bt) diff --git a/examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_demo_init.c b/examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_example_init.c similarity index 99% rename from examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_demo_init.c rename to examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_example_init.c index 4d9d9d3148..472bba570e 100644 --- a/examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_demo_init.c +++ b/examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_example_init.c @@ -26,7 +26,7 @@ #endif #include "esp_ble_mesh_defs.h" -#include "ble_mesh_demo_init.h" +#include "ble_mesh_example_init.h" #ifdef CONFIG_BT_BLUEDROID_ENABLED void ble_mesh_get_dev_uuid(uint8_t *dev_uuid) diff --git a/examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_demo_init.h b/examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_example_init.h similarity index 79% rename from examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_demo_init.h rename to examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_example_init.h index 8b77b31307..4d15a84ec1 100644 --- a/examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_demo_init.h +++ b/examples/bluetooth/esp_ble_mesh/common_components/example_init/ble_mesh_example_init.h @@ -6,8 +6,8 @@ CONDITIONS OF ANY KIND, either express or implied. */ -#ifndef _BLE_MESH_DEMO_INIT_H_ -#define _BLE_MESH_DEMO_INIT_H_ +#ifndef _BLE_MESH_EXAMPLE_INIT_H_ +#define _BLE_MESH_EXAMPLE_INIT_H_ #include "esp_err.h" @@ -17,4 +17,4 @@ void ble_mesh_get_dev_uuid(uint8_t *dev_uuid); esp_err_t bluetooth_init(void); -#endif /* _BLE_MESH_DEMO_INIT_H_ */ +#endif /* _BLE_MESH_EXAMPLE_INIT_H_ */