Search found 1 match

by niklasonfire
Thu Nov 09, 2023 2:55 pm
Forum: ESP32 Arduino
Topic: How To Enable ESP NOW Long Range Mode in Arduino
Replies: 7
Views: 27738

Re: How To Enable ESP NOW Long Range Mode in Arduino

Hey there,

i found that for LR Mode to work in Arduino you also need to


#include <WiFi.h>
#include <esp_wifi.h


then in Setup you need to set Wifi mode as well as the mode of the Phy like so:


WiFi.mode(WIFI_MODE_STA);
esp_wifi_set_protocol( WIFI_IF_STA , WIFI_PROTOCOL_LR);


Hope this ...

Go to advanced search