Search found 7 matches

by JialiangWang
Fri Nov 17, 2023 9:59 am
Forum: ESP-IDF 中文讨论版
Topic: ble mesh generic onoff示例不理解的地方
Replies: 1
Views: 6322

Re: ble mesh generic onoff示例不理解的地方

Hi
onoff server 端的三个element 都绑定了App Key 吗?
by JialiangWang
Fri Nov 17, 2023 9:47 am
Forum: ESP-IDF 中文讨论版
Topic: esp32 ble-mesh-vendor-client
Replies: 1
Views: 2233

Re: esp32 ble-mesh-vendor-client

Hi,
你可以尝试把代码35行
#define MSG_ROLE ROLE_PROVISIONER
修改成
#define MSG_ROLE ROLE_NODE
再试一下
by JialiangWang
Fri Nov 17, 2023 9:23 am
Forum: ESP-IDF 中文讨论版
Topic: 请教下idf5.0中ble mesh例程中的vendor client
Replies: 1
Views: 1662

Re: 请教下idf5.0中ble mesh例程中的vendor client

Hi,
请问使用的是哪一款芯片? 有没有相关log可以提供

PS: 我这边使用ESP32C3 是可以正常配网的
by JialiangWang
Fri Dec 31, 2021 6:14 am
Forum: General Discussion
Topic: ESP32 BLE Mesh Sensor Client with multiple element
Replies: 7
Views: 10555

Re: ESP32 BLE Mesh Sensor Client with multiple element

Hi Kyle, I am sorry to reply so late. You are right that you need to fill the structures of esp_ble_mesh_client_common_param_t. About the usage of esp_ble_mesh_config_client_set_state function, you can refer to the example of mesh( https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/...
by JialiangWang
Thu Nov 11, 2021 6:46 am
Forum: General Discussion
Topic: ESP32 BLE Mesh Sensor Client with multiple element
Replies: 7
Views: 10555

Re: ESP32 BLE Mesh Sensor Client with multiple element

Hi kg_lunar789, If we have 10 nodes, for the client, you need only using the function esp_ble_mesh_provisioner_bind_app_key_to_local_model to bind app_key one times. but the client need to send `Config Model App Bind` message to the 10 nodes(if there have the server model) to bind app_key respective...
by JialiangWang
Wed Sep 22, 2021 6:31 am
Forum: General Discussion
Topic: ESP32 BLE Mesh Sensor Client with multiple element
Replies: 7
Views: 10555

Re: ESP32 BLE Mesh Sensor Client with multiple element

For client side, you can use esp_ble_mesh_provisioner_bind_app_key_to_local_model (for detail, please refer to https://github.com/espressif/esp-idf/blob/master/components/bt/esp_ble_mesh/api/core/include/esp_ble_mesh_networking_api.h#L377 ) function to bind the local app_key to the model. For server...
by JialiangWang
Sat Sep 18, 2021 7:50 am
Forum: General Discussion
Topic: ESP32 BLE Mesh Sensor Client with multiple element
Replies: 7
Views: 10555

Re: ESP32 BLE Mesh Sensor Client with multiple element

Did you bound the app_key to the models of the rest 3 elements? If not, you need to bound it.