You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using Direct Mode with CC1101 and attempting to get the RSSI with getRSSI(), only -74.0 is ever returned, even when txing right next to the receiver.
Some output with basic debug, let me know if you want one of the other debugs enabled:
Looks like the logic inside CC1101::getRSSI was inverted, returning the packet RSSI value in direct mode and the instantenous one in packet mode. Because you never received a packet in packet mode, the initial value was set to 0 from which offset of 74 dBm is subtracted, hence the -74 dBm return value.
I pushed a fix for this in the latest commit, thanks for reporting!
Describe the bug
When using Direct Mode with CC1101 and attempting to get the RSSI with getRSSI(), only -74.0 is ever returned, even when txing right next to the receiver.
Some output with basic debug, let me know if you want one of the other debugs enabled:
To Reproduce
Expected behavior
RSSI should vary.
Additional info (please complete):
The text was updated successfully, but these errors were encountered: