微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > 2640的RSSI可以参考哪个例程?

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

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top