cc2540如何读取RSSI

[复制链接]
1371|1
 楼主| victor3l 发表于 2015-9-25 17:18 | 显示全部楼层 |阅读模式
大家好,
我需要读取CC2540的RSSI值,我已经设置了更新RSSI的周期
                int16 readRSSIRate = 1000;
                GAPRole_SetParameter(GAPROLE_RSSI_READ_RATE,sizeof(int16),&readRSSIRate);
以及
static gapRolesCBs_t sensorTag_PeripheralCBs =
{
        peripheralStateNotificationCB,  // Profile State Change Callbacks
  readRSSI,                          // When a valid RSSI is read from controller (not used by application)     
};
可是程序始终没有走到readRSSI? 我还差什么设置吗?请大家帮帮忙,谢谢
dirtwillfly 发表于 2015-9-26 11:21 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

77

主题

308

帖子

5

粉丝
快速回复 在线客服 返回列表 返回顶部