BL602的BLE是否支持主从模式同时工作?
若支持,可否提供sample和文档供参考调试,谢谢!
bl602的BLE是否支持主从同时工作
bob 支持的,直接用bl602_demo_event里面的genromap编译脚本编译.
我测试了一下先去连一个peripheral ,然后发起广播,用手机去连接设备是可以。请看log。
[10:43:46.466]发→◇ble_connect 0 18B905C2DE0A
[10:43:46.476]收←◆ble_connect 0 18B905C2DE0A
addr[0]:[0x18]
addr[1]:[0xb9]
addr[2]:[0x5]
addr[3]:[0xc2]
addr[4]:[0xde]
addr[5]:[0xa]
Connection pending
[10:43:46.907]收←◆Connected: 18:B9:05:C2E:0A (public)
ble_tp_connected
ble tp set data length success.
ble tp exchange mtu size pending.
[10:43:46.987]收←◆ble tp echange mtu size success, mtu size: 247
[10:43:48.636]收←◆proc_hellow_entry: RISC-V rv32imafc
[10:43:52.411]收←◆LE conn param updated: int 0x0018 lat 0 to 600
[10:43:58.635]收←◆proc_hellow_entry: RISC-V rv32imafc
[10:44:07.209]发→◇ble_start_adv 0 0 0x80 0x80
□
[10:44:07.211]收←◆ble_start_adv 0 0 0x80 0x80
adv_type 0x0
mode 0x0
interval min 0x80
interval max 0x80
Advertising started
[10:44:08.635]收←◆proc_hellow_entry: RISC-V rv32imafc
[10:44:18.635]收←◆proc_hellow_entry: RISC-V rv32imafc
[10:44:22.107]收←◆Connected: 70:3F:74:3B:1D:89 (random)
ble_tp_connected
ble tp set data length success.
ble tp exchange mtu size pending.
[10:44:22.298]收←◆ble tp echange mtu size success, mtu size: 247
[10:44:22.987]收←◆LE conn param updated: int 0x0006 lat 0 to 500
[10:44:23.322]收←◆LE conn param updated: int 0x0027 lat 0 to 500
[10:44:27.930]收←◆LE conn param updated: int 0x0018 lat 0 to 400
[10:44:28.634]收←◆proc_hellow_entry: RISC-V rv32imafc
[10:44:38.634]收←◆proc_hellow_entry: RISC-V rv32imafc
[10:44:48.634]收←◆proc_hellow_entry: RISC-V rv32imafc
[10:44:58.633]收←◆proc_hellow_entry: RISC-V rv32imafc
好的,我们这边先参考调试,有疑问再请教,谢谢
另外有个疑问想确认一下:BL602 BLE做主模式的时候支持一拖多吗,可以支持到一拖几?
明白了,谢谢