Search found 31 matches

by esp_liu
Thu Jul 30, 2020 9:30 am
Forum: ESP-IDF 中文讨论版
Topic: 一组esp32 ble mesh设备能否实现上电自动配网?
Replies: 1
Views: 258

Re: 一组esp32 ble mesh设备能否实现上电自动配网?

我的需求是:一组esp32,烧录完全相同的代码,在上电时自动组成ble mesh网络,目前有两个想法: 1. 能否直接把NetKey和AppKey写到代码中,从而跳过provisioning过程,上电便自动组网? 2. 能否通过修改fast provision例程,去掉手机配置的环节,直接上电就自动配置周围的设备,从而形成一个网络? Hi jayant97, ESP BLE Mesh provides some functions for test, and one of them is to bypass the provisioning procedure. The function i...
by esp_liu
Tue Jun 30, 2020 4:26 am
Forum: ESP32 IDF
Topic: ESP-IDF V4.1-beta2 examples not working
Replies: 1
Views: 221

Re: ESP-IDF V4.1-beta2 examples not working

Example which have been given in the esp-idf-v4.1-beta2 is not working. In that readme as well as .md file for usage of examples are given is not matching. Means, the project which are mention in .md files is not present in the given example esp_ble_mesh directory. So, could anyone let me know that...
by esp_liu
Wed Jun 24, 2020 10:53 am
Forum: ESP-IDF 中文讨论版
Topic: 编译esp_ble_mesh中onoff_client example出错
Replies: 4
Views: 611

Re: 编译esp_ble_mesh中onoff_client example出错

我使用是代码是完整的,开始拿到时可以编译完成,我在 examples\bluetooth\esp_ble_mesh\ble_mesh_node\onoff_client , 使用idf.py menuconfig去修改mesh node的设置(去掉gatt以及proxy),再编译出错源文件的编译错误(函数定义未找到),然后我使用idf.py fullclean清除所有配置,再使用idf.py build就出现了上述编译问题, 出问题的文件是存在的,没有经过修改。 我在两台电脑重复了上面步骤,都出现了同样问题。 我编译examples\bluetooth\esp_ble_mesh\ble_me...
by esp_liu
Tue Jun 23, 2020 6:05 am
Forum: General Discussion
Topic: ESP32 BLE Mesh proper way to send async. messages to mobile application
Replies: 3
Views: 487

Re: ESP32 BLE Mesh proper way to send async. messages to mobile application

I would also appreciate any advice on how to properly receive data via the Mesh Proxy Service that doesn't correlate to any BLE Mesh elements/models. Hi @cowens Sorry for the late reply. For using mesh proxy service, you just need a mesh proxy node connected to the phone. When the proxy node receiv...
by esp_liu
Tue Jun 23, 2020 3:03 am
Forum: ESP IoT Solution
Topic: ESP BLE MESH Fast Provisioning
Replies: 7
Views: 6700

Re: ESP BLE MESH Fast Provisioning

After provisioning one node my mobile is disconnecting to the node and that provisioned is provisioning all other nodes. When provisioning of nodes in the network is completed, the first provisioned node is not connecting to the mobile . Thus I was not able to control the nodes. Hi @koteswara After...
by esp_liu
Mon Jun 22, 2020 12:23 pm
Forum: ESP-IDF 中文讨论版
Topic: 编译esp_ble_mesh中onoff_client example出错
Replies: 4
Views: 611

Re: 编译esp_ble_mesh中onoff_client example出错

raymond wrote:
Mon Jun 22, 2020 3:22 am
我把idf sdk删除之前,重新解压缩一份,再编译,还是发生同样错误,使用的4.0.1版本,并没有修改任何文件。
请赐教,谢谢
Hi raymond,

请确保 esp-idf clone 完整(包括 submodule),下面是我按照 idf windows 相关的介绍文档下载 idf 后的编译结果。

谢谢
by esp_liu
Mon Jun 01, 2020 12:03 pm
Forum: General Discussion
Topic: ESP32 BLE mesh example fails to provision [BMCI-87]
Replies: 3
Views: 453

Re: ESP32 BLE mesh example fails to provision

It seems nRF APK detect Provsionee public key X, Y is invalidate in ECPoint ecPoint = curve.validatePoint(x, y); and nRF APK call exception I use bt_mesh_check_public_key to check Provsionee 's bt_mesh_public_key and bt_mesh_check_public_key also show fail. It seem esp mesh profile generate wrong b...
by esp_liu
Fri May 22, 2020 8:10 am
Forum: ESP-IDF 中文讨论版
Topic: 麻烦请教大大们一下,如何清除 ESP32 BLE 的 Mesh 信息
Replies: 7
Views: 2513

Re: 麻烦请教大大们一下,如何清除 ESP32 BLE 的 Mesh 信息

感谢大佬回复 1:ok 2:要是我不知道Provisioner 下的Node地址或UUID,我只希望将Provisioner下的Node全都清除掉该怎么操作呢? 3:不是这个意思,我不是说将这个三元组存在哪里,我是指这三元组需要将参数值赋予给node框架中的哪个变量,才能连接到天猫精灵,是这个意思,再次感谢大佬 1. 底层有这个接口,目前还没有开放出来。当前建议的操作是,Provisioner 将设备入网后,保存设备的 unicast address 或 uuid。 2. 按照天猫精灵官网的描述,三元组通过 SHA256 计算后可获得 static oob 的值,这个值在 mesh node...
by esp_liu
Fri May 22, 2020 7:40 am
Forum: ESP32 IDF
Topic: How to bind app key to local server
Replies: 1
Views: 223

Re: How to bind app key to local server

I am creating a very simple BLE mesh network. I have enabled both the provisioner and node roles on all devices. When I press a button on one device, it will begin provisioning all other devices within range. This part works fine. Each device has a single vendor server. When the device state change...
by esp_liu
Wed May 20, 2020 7:28 am
Forum: ESP-IDF 中文讨论版
Topic: 麻烦请教大大们一下,如何清除 ESP32 BLE 的 Mesh 信息
Replies: 7
Views: 2513

Re: 麻烦请教大大们一下,如何清除 ESP32 BLE 的 Mesh 信息

xiang8000 wrote:
Wed May 20, 2020 6:29 am
有大佬看得到吗?求求救救
1. 清除 node 的组网信息可以调用 esp_ble_mesh_node_local_reset()
2. 删除某个节点的信息可以调用 esp_ble_mesh_provisioner_delete_node_with_uuid() 或 esp_ble_mesh_provisioner_delete_node_with_addr()
3. 三元组信息可以放到应用层, 使用 nvs 相关的接口存放至 flash

Go to advanced search