TI中文支持网
TI专业的中文技术问题搜集分享网站

2640的RSSI可以参考哪个例程?

2640的RSSI可以参考哪个例程?

Viki Shi:

可以用以下AP读取RSSI:

/******************************************************************************** @fn HCI_ReadRssiCmd API** @brief This BT API is used to read the RSSI of the last packet* received on a connection given by the connection handle. If* the Receiver Modem test is running (HCI_EXT_ModemTestRx), then* the RF RSSI for the last received data will be returned. If* there is no RSSI value, then HCI_RSSI_NOT_AVAILABLE will be* returned.** Related Events: HCI_CommandCompleteEvent** input parameters** @param connHandle – Connection handle.** output parameters** @param None.** @return hciStatus_t*/extern hciStatus_t HCI_ReadRssiCmd( uint16 connHandle );

具体内容在 hci.h, hci.c

赞(0)
未经允许不得转载:TI中文支持网 » 2640的RSSI可以参考哪个例程?
分享到: 更多 (0)