Hi,
As the title, could you let me know how to set the RSSI threshold in 15.4 stack?
It didn't work with the API ApiMac_attribute_rssiThreshold.
What's the meaning of rssiThr in mac_setting.c?
Thanks.
Regards,
Yonghua
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.
Hi,
As the title, could you let me know how to set the RSSI threshold in 15.4 stack?
It didn't work with the API ApiMac_attribute_rssiThreshold.
What's the meaning of rssiThr in mac_setting.c?
Thanks.
Regards,
Yonghua
Hi, Edvard,
SDK is v2.20, the test case is as below:
Generating the interference on 916.0MHz with RSSI about -72dBm, neither coordinator nor sensor is able to send out packets successfully.
In mac_setting.c, there are two structures RF_cmdPropCs and RF_cmdPropCsSlotted, their rssiThr by default is -83dBm, if changed it to -63dBm, both coordinator and sensor can send out packets successfully.
But it doesn't work if changing rssi Threshold with ApiMac_attribute_rssiThreshold, does it mean that this API is not useful?
Regards,
Yonghua
Hi Yonghua,
the attribute ApiMac_attribute_rssiThreshold is only used in LBT and not in CSMA so the only way to modify the RSSI threshold for CSMA is by modifiying it directly from the mac_setting.c file as you have already mentioned