Search found 14 matches

by ynyn189
Tue Jan 11, 2022 4:45 am
Forum: ESP-IDF 中文讨论版
Topic: BLE的一个广播事件完成后(BLE MESH设置的广播间隔为20ms,广播持续时间是90ms),立刻开始扫描吗?(BLE MESH设置的扫描窗口=扫描间隔=20ms)
Replies: 1
Views: 4712

BLE的一个广播事件完成后(BLE MESH设置的广播间隔为20ms,广播持续时间是90ms),立刻开始扫描吗?(BLE MESH设置的扫描窗口=扫描间隔=20ms)

我的疑问有几个:
1. esp32 wroom 32d是半双工还是全双工的?
2. 链路层在状态机切换的时候,比如在广播态发广播包的时候,一个广播事件还没结束,状态机能切换到扫描态吗?
3. 一个广播事件结束后,在下一个广播事件开始之前,能切换到扫描态吗?
4. 是否只有切换到扫描态,才会监听广播包?
by ynyn189
Thu Dec 23, 2021 8:09 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32 wroom-32怎么设置BLE MESH的广播发送功率
Replies: 0
Views: 4228

ESP32 wroom-32怎么设置BLE MESH的广播发送功率

esp_ble_tx_power_set使用该API接口设置ESP_BLE_PWR_TYPE_ADV和ESP_PWR_LVL_N12—-12dBm,通信距离仍在4m以上,看以前的帖子,设置的参数一致,通信距离在1m以内。请问用法对吗?如何将通信距离控制在1m内
by ynyn189
Fri Sep 17, 2021 7:25 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32 模组能跑nimble mesh吗?
Replies: 0
Views: 1925

ESP32 模组能跑nimble mesh吗?

1. 用例:esp-idf\examples\bluetooth\esp_ble_mesh\ble_mesh_node\onoff_server 2. 选项: idf.py menuconfig 选择nimble (Top) → Component config → Bluetooth → Bluetooth Host ( ) Bluedroid - Dual-mode (X) NimBLE - BLE only ( ) Controller Only 3. 问题:为什么烧录后nRF MESH的APP扫描不到设备?
by ynyn189
Fri Jul 23, 2021 10:41 am
Forum: ESP-IDF 中文讨论版
Topic: 乐鑫的WIFI模组支持WIFI标准的EasyMesh
Replies: 1
Views: 2540

乐鑫的WIFI模组支持WIFI标准的EasyMesh

看到乐鑫有支持wifi mesh,这个mesh是WIFI联盟标准的EasyMesh协议吗?
by ynyn189
Fri Jun 11, 2021 4:43 am
Forum: ESP-IDF 中文讨论版
Topic: BLE MESH console用例怎么跑起来
Replies: 9
Views: 9957

Re: BLE MESH console用例怎么跑起来

单纯想跑这个用例,有些不明白这个用例的目的是什么?如果是把节点入网,直接点击app上的入网配置就可以了。
by ynyn189
Wed Jun 09, 2021 6:27 am
Forum: ESP-IDF 中文讨论版
Topic: BLE MESH console用例怎么跑起来
Replies: 9
Views: 9957

Re: BLE MESH console用例怎么跑起来

比如两个开发板,两个开发板都烧录console的用例,分别使用命令行把一个配为provisioner,另一个配为node节点吗?
by ynyn189
Tue Jun 08, 2021 3:24 am
Forum: ESP-IDF 中文讨论版
Topic: BLE MESH console用例怎么跑起来
Replies: 9
Views: 9957

Re: BLE MESH console用例怎么跑起来

这个用例需要几个开发板?开发板分别作为什么角色,是provisioner还是node?目的是完成provisioner和设备的入网配置?
by ynyn189
Mon Jun 07, 2021 6:38 am
Forum: ESP-IDF 中文讨论版
Topic: BLE MESH console用例怎么跑起来
Replies: 9
Views: 9957

Re: BLE MESH console用例怎么跑起来

多谢,控制台已经可以输入了。还想请问下,通过控制台可以实现设备注册节点、配置模型、绑定key、设置地址等操作,我理解成设备入网是吧?那应该要按一定的顺序去执行命令行是吗,因为我在输入bmreg之后,再输入bminit -m 0x0001就卡住了,虽然有执行结果但是没有esp>出现。 如下: E (167900) ble_mesh_console: enter ble_mesh_register_cb I (167900) ble_mesh_console: Bm:Reg,OK esp32> I (223570) ble_mesh_console: Bm:Init,OK E (677950) B...
by ynyn189
Mon Jun 07, 2021 6:12 am
Forum: ESP-IDF 中文讨论版
Topic: BLE MESH console用例怎么跑起来
Replies: 9
Views: 9957

Re: BLE MESH console用例怎么跑起来

C:\Users\w00463922\Desktop\ble_mesh_console>bmreg
'bmreg' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Users\w00463922\Desktop\ble_mesh_console>esp32
'esp32' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

我的终端怎么是这样的?
by ynyn189
Mon Jun 07, 2021 3:11 am
Forum: ESP-IDF 中文讨论版
Topic: BLE MESH console用例怎么跑起来
Replies: 9
Views: 9957

BLE MESH console用例怎么跑起来

BLE MESH console用例跑起来,除了开发板、串口线、小灯还需要什么外设吗?其次是输入命令行的窗口是不是执行idf build的窗口?最后就是能输入的命令行是否在ble_mesh_commands_README.md中,我尝试输入第一个Example: bmreg,显示没有此条命令?