BLE Peripheral Throughput Test¶
1 功能概述¶
此项目演示从机吞吐率测试,当前版本软件需要nrf connect dongle
进行演示。
2 环境要求¶
board:
pan107x evb
uart(option): 用来显示串口log(波特率921600,选项
8n1
)
4 演示说明¶
烧录完成后,设备会显示上电log,使用pc nrf connect 连接即可。
Try to load HW calibration data.. DONE. - Chip Info : 0x1 - Chip CP Version : 255 - Chip FT Version : 4 - Chip MAC Address : D0000000066D - Chip UID : 6D06010CF8375603CE - Chip Flash UID : 4250315632333917010CF8375603CE78 - Chip Flash Size : 512 KB LL Spark Controller Version:d7c4bfa BT controller memory pool used: 5624 bytes, remain bytes: 0, total:5624 app started APP version: 104.70.30977 registered service 0x1800 with handle=1 registering characteristic 0x2a00 with def_handle=2 val_handle=3 registering characteristic 0x2a01 with def_handle=4 val_handle=5 registered service 0x1801 with handle=6 registering characteristic 0x2a05 with def_handle=7 val_handle=8 registered service 00000001-8c26-476f-89a7-a108033a69c7 with handle=10 registering characteristic 00000006-8c26-476f-89a7-a108033a69c7 with def_handle=11 val_handle=12 registering characteristic 0000000a-8c26-476f-89a7-a108033a69c7 with def_handle=13 val_handle=14 registering characteristic 0000000b-8c26-476f-89a7-a108033a69c7 with def_handle=16 val_handle=17 gatts_on_sync Device Address: 06:09:09:09:09:08adv start
使用软件
nrf connect for Desktop Bluetooth Low Energy
扫描蓝牙设备名称ble_throughput
设备并且连接nrf connect连接throughput设备¶
3.点击
齿轮
设置图标,依次需要设置
Update Connection
,设置连接间隔为15ms。Update phy
,根据测试需要设置为1M
或者2M
。Update data length
,设置为251bytes。Update MTU
,设置为247bytes。
PHY模式
参考速率
1M
630113 bps
2M
371850 bps,