Part Number: CC3220
Hello!
I'm using cc3220 as identification device. Then human with smartphone comes close to the door, and his smartphone connects to cc3220 AP - door unlocks.
How can i measure rssi of CC3220 AP client?
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.
Part Number: CC3220
Hello!
I'm using cc3220 as identification device. Then human with smartphone comes close to the door, and his smartphone connects to cc3220 AP - door unlocks.
How can i measure rssi of CC3220 AP client?
Hi,
Yes you can measure RSSI in AP mode. But you can get relevant value only when one client is connected. In case of connected more clients as RSSI is returned average value from clients (that means values will not re relevant). To get RSSI you can use this code:
SlWlanGetRxStatResponse_t rssiRxStat; int rssi; if (sl_WlanRxStatGet(&rssiRxStat, 0) == 0) { if (rssiRxStat.AvarageDataCtrlRssi != 0) { rssi = rssiRxStat.AvarageDataCtrlRssi; } } else { // wrong RSSI value rssi = -99; }
Jan