Merge branch 'feat/remove_led_from_ble_mesh_examples_v6.0' into 'release/v6.0'

refactor(ble_mesh): remove LED hardware dependency from examples (6.0)

See merge request espressif/esp-idf!47439
This commit is contained in:
Jiang Jiang Jian
2026-05-11 10:58:21 +08:00
38 changed files with 90 additions and 1141 deletions
@@ -2,7 +2,7 @@
/*
* SPDX-FileCopyrightText: 2017 Intel Corporation
* SPDX-FileContributor: 2018-2021 Espressif Systems (Shanghai) CO LTD
* SPDX-FileContributor: 2018-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -25,9 +25,6 @@
#define TAG "EXAMPLE"
#define LED_OFF 0x0
#define LED_ON 0x1
#define CID_ESP 0x02E5
#define PROV_OWN_ADDR 0x0001
@@ -202,7 +199,7 @@ static esp_err_t prov_complete(int node_idx, const esp_ble_mesh_octet16_t uuid,
return ESP_FAIL;
}
err = example_ble_mesh_store_node_info(uuid, unicast, elem_num, LED_OFF);
err = example_ble_mesh_store_node_info(uuid, unicast, elem_num, 0);
if (err) {
ESP_LOGE(TAG, "%s: Store node info failed", __func__);
return ESP_FAIL;