Skip to content

ESP-NOW: Enable Long Range Mode (802.11LR) #1704

Answered by bjoernQ
frederictobiasc asked this question in Q&A
Discussion options

You must be logged in to vote

I had a look and besides the misleading naming I think that function has additional problems

  1. casting protocol to u8 doesn't result in a value compatible with protocol_bitmap which is required by esp_wifi_set_protocol
  2. esp_wifi_get_mode gets a mode but esp_wifi_set_protocol takes wifi_interface_t as the first parameter

And another thing is that there should also be a function to set it for esp-now without needing the wifi-controller

I will create an issue from this discussion to fix all of this. Thanks for bringing up this topic

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@frederictobiasc
Comment options

Comment options

You must be logged in to vote
1 reply
@frederictobiasc
Comment options

Answer selected by frederictobiasc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants