2640的RSSI可以参考哪个例程?
时间:10-02
整理:3721RD
点击:
2640的RSSI可以参考哪个例程?
可以用以下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