mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
711c8472fc
1. Add an API to set Provisioner static oob value 2. Add an API to deinit BLE Mesh stack 3. Add an API to set Provisioner unicast address 4. Add an API to provision devices with fixed address 5. Add an API to store node composition data 6. Add an API to get node with device uuid 7. Add an API to get node with unicast address 8. Add an API to delete node with device uuid 9. Add an API to delete node with unicast address 10. Add an API for Provisioner to update local AppKey 11. Add an API for Provisioner to update local NetKey 12. Support Provisioner persistent functionality 13. Fix Provisioner entering IV Update procedure 14. Fix an issue which may cause client failing to send msg 15. Use bt_mesh.flags to indicate device role 16. Remove several useless macros 17. Callback RSSI of received mesh provisioning packets 18. Modify the Provisioner disable function 19. Change some log level from debug to info 20. Add parameters to Provisioner bind AppKey completion event 21. Fix node ignoring relay messages issue 22. Support using a specific partition for BLE Mesh 23. Fix compile warning when proxy related macros are disabled 24. Clean up BLE Mesh stack included header files 25. NULL can be input if client message needs no parameters 26. Fix compile warning when BT log is disabled 27. Initilize BLE Mesh stack local variables 28. Support using PSRAM for BLE Mesh mutex, queue and task 29. Add a menuconfig option to enable using memory from PSRAM 30. Clean up sdkconfig.defaults of BLE Mesh examples |
||
---|---|---|
.. | ||
components/iperf | ||
main | ||
tutorial | ||
CMakeLists.txt | ||
Makefile | ||
partitions.csv | ||
README.md | ||
sdkconfig.defaults |
ESP BLE Mesh and WiFi Coexist example
此demo是用来测试当BLE Mesh实现正常的配网和收发消息的正常功能时,WiFi 所能达到的最大throughput值。用户可以根据此demo中的throughput值来实现自己需要的应用场景。如果用户对ESP32 BLE Mesh使用方法还不熟悉的话, 可以参考BLE Mesh brief introduction
此demo主要分为两个部分:
- WiFi Iperf协议
- BLE Mesh fast provision Server
WiFi的Iperf协议使用方法请参考WiFi Iperf README
当WiFi的Iperf开起来之后,BLE Mesh就可以使用fast provsion 进行配网了,此demo只实现了fast provsion 的server功能。此demo 的BLE Mesh模块实现了一个Element和以下几个Model:
- Config Server Model: 此Model是当对方需要配置APP Key, Dev Key,等信息时,需要使用此Model
- Config Client Model: 此Model是当需要配置APP Key, Dev Key,等信息时,需要使用此Model
- Generic OnOff Server Model:此Model通过暴露自己的OnOff State,从而实现LED 灯的开关功能
- Generic OnOff Client Model: 使用此Model可以实现开关功能,控制别的node 的LED灯的开关
- Fast Provision Server Model: 此Model是为了进行快速配网而实现的自定义Model,通过此Model当节点作为临时provisioner进行配网成功后,需要将生成的Element地址通过此Model进行传给provisioner
- Fast Provision Client Model:此Model和Fast Provision Server Model是配合使用的