Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32: Get espnow rssi from recv_info->rx_ctrl. #17

Merged
merged 1 commit into from
May 25, 2023

Conversation

glenn20
Copy link

@glenn20 glenn20 commented May 25, 2023

IDFv5.0 provides access to rssi value for received espnow packets via recv_info arg to recv_cb().

This eliminates the need for extracting the rssi value by backtracking over the wifi packet headers in
_get_rssi_from_wifi_pkt() which was necessary pre v5.0.

All multi-espnow tests pass and rssi values behave correctly when devices are moved apart.

IDFv5.0 provides access to rssi value for received espnow packets via
recv_info arg to recv_cb().

Signed-off-by: Glenn Moloney <glenn.moloney@gmail.com>
@dpgeorge dpgeorge merged commit 8318355 into dpgeorge:esp32-idf-50 May 25, 2023
@dpgeorge
Copy link
Owner

Thank you!

@glenn20 glenn20 deleted the esp32-idf-50-g20 branch May 25, 2023 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants