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.

CC3220SF: Measuring and storing RSSI data

Part Number: CC3220SF


Hi,

I am currently using the CC3220SF [CC3220NODSF] in an embedded system sensor platform and I am looking for a way to periodically measure and store the RSSI reading simply as an int so I can then report it to the cloud. Any help and firmware provided will be greatly appreciated ^^.

  • I have attempted to use this code snippet I found on these forums but with no success :( 

    SlWlanGetRxStatResponse_t rssiRxStat; int rssi; // cteni hodnoty RSSI if (sl_WlanRxStatGet(&rssiRxStat, 0) == 0) { if (rssiRxStat.AvarageMgMntRssi != 0) { rssi = rssiRxStat.AvarageMgMntRssi; } } else { // error rssi = -99; }

  • Hi,

    What is not working with that code? I am pretty sure that code works, because thousands of my devices use them.

    You should not call this code faster than once 5 sec.

    Jan