小编jjn*_*ker的帖子

有没有办法在BlueZ中增加BLE广告频率?

我有一台Linux计算机使用以下命令广播BLE广告:

 sudo hciconfig hci0 up
 sudo hcitool -i hci0 cmd 0x08 0x0008 1e 02 01 1a 1a ff 4c 00 02 15 e2 c5 6d b5 df fb 48 d2 b0 60 d0 f5 a7 10 96 e0 00 00 00 00 c5 00 00 00 00 00 00 00 00 00 00 00 00 00
 sudo hciconfig hci0 leadv 3
Run Code Online (Sandbox Code Playgroud)

这很好但计算机每秒只播放一次蓝牙广告.我想将此频率提高到每秒10次或更多.有没有办法增加BlueZ的广告频率?或者每秒一次标准且不可更改?如果使用命令行工具无法实现,我很乐意使用C API执行此操作.

linux bluetooth bluetooth-lowenergy bluez

21
推荐指数
1
解决办法
2万
查看次数

标签 统计

bluetooth ×1

bluetooth-lowenergy ×1

bluez ×1

linux ×1