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.

CC2640R2F: cc2640r2f 作为从机连接状态下获取手机发送数据包的RSSI值

Part Number: CC2640R2F


TI 的工程师:

       环境是   CC2640R2F 的 launchPad 硬件,SDK使用  simplelink_cc2640r2_sdk_5_10_00_02,工程使用  examples\rtos\CC2640R2_LAUNCHXL\blestack\multi_role;

       功能逻辑是 使用手机 APP   通过GATT 连接上CC2640R2F,使能notify ,APP定时发送数据到CC2640R2F,在接收到数据后,通过RSSI_read 读取在接收手机数据包时的RSSI值;

       但是我始终得到的值是一个固定的值

        部分截图如下:

          收到数据时触发读取RSSI事件,currentConnHandle 是连接时的Handle;

        

          事件完成回调中得出RSSI值,取值位参考其他网友在simple_peripheral 例程中的做法:

          

     

          HCI_READ_RSSI 事件能够得到回调,就是读出的RSSI值是一个固定的值 ;

         请问如何能够得到正确的RSSI值呢?