请问CC2540 的主从role切换是怎样的步骤? 官方程序有点搞不懂
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.
他这个主从切换demo是只能连接程序里面设置的设备地址吗?
//devices the central will try and connect to
uint8 addr1[6] ={0xFF,0xFF,0xFF,0xFF,0xFF,0x02};
uint8 addr2[6] ={0xFF,0xFF,0xFF,0xFF,0xFF,0x03};
uint8 addr3[6] ={0xFF,0xFF,0xFF,0xFF,0xFF,0x04};
hi san ,我在把MasterSlaveSwitch移植到1.3协议栈中的时候;总是出现如下错误:
Error[Pe020]: identifier "HCI_ProcessEvent" is undefined
Warning[Pe223]: function "HCI_Init" declared implicitly
我看了下,HCI_ProcessEvent函数在hci.h中有声明;但是找不到在哪里定义的