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.
现在我知道simpleBLEPeripheral如果和simpleBLECentral建立连接后,simpleBLEPeripheral是可以通过回调RssiRead获取得到simpleBLECentral的rssi值
// GAP Role Callbacks
static gapRolesCBs_t simpleBLEPeripheral_PeripheralCBs =
{
peripheralStateNotificationCB, // Profile State Change Callbacks
RssiRead // When a valid RSSI is read from controller (not used by application)
};
1、现在我想请问simpleBLEPeripheral#1是否可以直接读取到另一个simpleBLEPeripheral#2的广播包和rssi值?这个问题困扰了我很多天 了。
2、我尝试过在simpleBLEPeripheral#1中添加masterSlaveSwitch的相关代码,并且将CC2540_BLE_peri.lib 替换成 CC2540_BLE.lib库,但是出现了很多问题,不知道我这么做的方向对不对?您是否有更直接的办法,期待您的回复,谢谢!