Search found 73 matches

by Wangcheng
Fri Feb 21, 2020 3:17 am
Forum: ESP-IDF 中文讨论版
Topic: Ble mesh provisioner
Replies: 6
Views: 11908

Re: Ble mesh provisioner

你好,我找到原因了。ble_mesh_fast_prov_client demo provision ble_mesh_fast_prov_server demo的实现过程和手机不一样。ble_mesh_fast_prov_server demo在收到ESP_BLE_MESH_MODEL_OP_APP_KEY_ADD opcode时,一并把model的配置自己做好了,并没有像手机provisioner那样进行发送ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND opcode 把 model APPkey绑定,发送ESP_BLE_MESH_MODEL_OP_MODEL_...
by Wangcheng
Thu Feb 20, 2020 6:54 am
Forum: ESP-IDF 中文讨论版
Topic: Ble mesh provisioner
Replies: 6
Views: 11908

Re: Ble mesh provisioner

你好, 我目前正在做esp32当provisioner,对Nordic52832进行组网配置。运行esp32 ble_mesh_provisioner demo 和Nordic light_switch client demo,发现并不能配网。我试着去看代码流程和参数配置去调试,但是没有成功,我不清楚要怎么做才可以。请教一下,能不能给点建议或有效的方法?谢谢了 你可以尝试将设备端的配网方式更改为 static no oob, 或许这样能够配网成功. 你能够提供一下配网失败的 log 信息吗? 你可以在 provisioner_prov.c 文件中将 prov_msg_recv 函数中的log...
by Wangcheng
Thu Jan 16, 2020 7:31 am
Forum: ESP-IDF
Topic: BLE Mesh Custom(Vendor) Model creation
Replies: 5
Views: 6740

Re: BLE Mesh Custom(Vendor) Model creation

Hi, I use the newest nrf Mesh APP(v2.2.1).I think I have done it.But I don't know why. I just write something data into the pub parameter. uint8_t pub_demo[64] = "123456"; static esp_ble_mesh_model_t vnd_models[] = { ESP_BLE_MESH_VENDOR_MODEL(CID_ESP, ESP_BLE_MESH_VND_MODEL_ID_FAST_PROV_CLI, fast_p...
by Wangcheng
Wed Jan 15, 2020 9:07 am
Forum: ESP-IDF
Topic: BLE Mesh Custom(Vendor) Model creation
Replies: 5
Views: 6740

Re: BLE Mesh Custom(Vendor) Model creation

I'm trying to make my custom BLE Mesh model that I'm going to use to send custom messages across the BLE Mesh network. However, I'm not sure I'm on the right path. I've started making the model from scratch, copying the Generic OnOff model files and modifying them. I've also seen there is a fast pr...
by Wangcheng
Fri Jan 10, 2020 8:28 am
Forum: ESP IoT Solution 中文讨论版
Topic: ble mesh provisioner disable 后无法控制 node
Replies: 2
Views: 15464

Re: ble mesh provisioner disable 后无法控制 node

Hi, 我们正在做 ble mesh 的网关,基于 ble_mesh_provisioner,验证了一下能将设备匹配进来,并能控制设备。 疑惑: 当调用如下的api来disable provisioning后就无法再控制设备了 : esp_ble_mesh_provisioner_prov_disable(ESP_BLE_MESH_PROV_ADV | ESP_BLE_MESH_PROV_GATT); 并报错如下: E (1000430) BLE_MESH: bt_mesh_set_client_model_role, Provisioner is disabled E (1000440) ...
by Wangcheng
Fri Jan 10, 2020 8:20 am
Forum: General Discussion
Topic: ESP-32 BLE-MESH-CONSOLE
Replies: 9
Views: 10922

Re: ESP-32 BLE-MESH-CONSOLE

Hi, I'm new in BLE MEsh and I'm very interested in sending custom commands/data from one node to another, did you succeeded? In case, can you please share the how? Hi, Use the following command to achieve the function you want, if you have questions you can look at the specific implementation of th...
by Wangcheng
Fri Jan 10, 2020 8:04 am
Forum: ESP-IDF
Topic: BLE Mesh Custom(Vendor) Model creation
Replies: 5
Views: 6740

Re: BLE Mesh Custom(Vendor) Model creation

I'm trying to make my custom BLE Mesh model that I'm going to use to send custom messages across the BLE Mesh network. However, I'm not sure I'm on the right path. I've started making the model from scratch, copying the Generic OnOff model files and modifying them. I've also seen there is a fast pr...
by Wangcheng
Mon Dec 23, 2019 2:59 am
Forum: ESP-IDF
Topic: Is ESP32 BLE mesh suitable for my project?
Replies: 4
Views: 7140

Re: Is ESP32 BLE mesh suitable for my project?

Hey, sorry for my late response and thanks for your answer to my question. 1) What do you mean with ble scan will be disabled ? I think my power requirements are about 200 uA is sleep mode. The device should send a state message when the PIR sensor records a human in the near. But this will require...
by Wangcheng
Mon Dec 23, 2019 2:49 am
Forum: ESP-IDF
Topic: Is ESP32 BLE mesh suitable for my project?
Replies: 4
Views: 7140

Re: Is ESP32 BLE mesh suitable for my project?

Hey, sorry for my late response and thanks for your answer to my question. 1) What do you mean with ble scan will be disabled ? I think my power requirements are about 200 uA is sleep mode. The device should send a state message when the PIR sensor records a human in the near. But this will require...
by Wangcheng
Mon Nov 25, 2019 1:11 pm
Forum: ESP-IDF
Topic: BLE Mesh provisioner switch static OOB
Replies: 2
Views: 3348

Re: BLE Mesh provisioner switch static OOB

I know realize that is a question of timing, as i have gotten it to work with a single device. If device A requests provisioning and i the overwrite the OOB data, and then device B requests provisioning and i again overwrite the OOB data, and then i finally start provisioning device A, I'm of cours...