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 simple_peripheral 获取RSSI

Other Parts Discussed in Thread: CC2640R2F

请教TI工程师一个问题:

硬件:CC2640R2F

SDK版本:sdk_1_40_00_45

DEMO:simple_periphera

从设备在连接后,先获取连接句柄,后定时读取RSSI,但每次读到的RSSI都为0,请问是哪里的问题?谢谢

//获取连接句柄
GAPRole_GetParameter(GAPROLE_CONNHANDLE, &usr_connHandle);

//获取RSSI
sprintf(prtbuf,"RSSI=%02X",HCI_ReadRssiCmd(usr_connHandle));

UART_Send(prtbuf,strlen(prtbuf));