想问,peripheralBroadcaster需要选择那个库文件?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我刚才按你的提示实验了一把,完全没问题啊。请参考如下步骤
1.ble-stack 1.4.0,simplperipherl 例子
2.编译器里允许PLUS_BROADCASTER,去掉那个×
3.exclude "peripheral.c和.h",include"peripheralBroadcaster.c和.h"
4.peripheralBroadcaster.c的include“hci.h”改为#include "hci_tl.h"
5.编译下载。然后测试了一下,建立连接成功,用pack sniffer抓包,可以看到广播。
通常建立连接后就抓不到广播包了。