Add missing methods in ESPNOWRadio()#2190
Conversation
ESP-NOW radios (ie, Generic_ESPNOW_* variants) do not compile due to missing methods Changes in January 2026 (019bbf7) to add additional stats (receive errors) to CMD_GET_STATS was not implemented in the ESPNOWRadio() class Changes in March 2026 (9a95e25) to add setRxBoostedGainMode to all devices rather than just SX1262/SX1268 were not applied to the ESPNowRadio() driver Specifically, this change adds the following to ESPNOWRadio() * getPacketsRecvErrors() - always returns 0 * getRxBoostedGainMode() - always returns false * setRxBoostedGainMode() - does nothing
|
@brianwiddas Thanks for the fix, I have just faced the same issue using the main branch and was about to provide a fix too. |
|
This is a copy of my Discord post, for reference It seems to be down to the definitions in the platformio.ini file. I had the same problem, using a Xiao S3. The default platformio.ini ( Which are commented out in the platformio.ini file I also found I needed to unplug and replug the board from my laptop once I'd flashed it, in order to have it accept the connection (in my case, from the MeshCore browser app) The other thing that worked, for me at least, was changing the board type to what it actually was. In this case, |
|
Thanks a lot @brianwiddas ! |
ESP-NOW radios (ie, Generic_ESPNOW_* variants) do not compile due to missing methods
Changes in January 2026 (019bbf7) to add additional stats (receive errors) to CMD_GET_STATS was not implemented in the ESPNOWRadio() class
Changes in March 2026 (9a95e25) to add setRxBoostedGainMode to all devices rather than just SX1262/SX1268 were not applied to the ESPNowRadio() driver
Specifically, this change adds the following to ESPNOWRadio()