I am building esp-now gateway with mqtt but need long distance (200 meters). I try to use LR mode but when I enable de LR mode I lost connection with WiFi.

Is licit to make use of LR and STA at the same time?

  • Are you able to use ESP-NOW at all together with Wifi? I thought this is mutual exclusive, since the same hardware is used for both
    – chrisl
    Dec 27, 2021 at 20:23
  • Yes but not in LR mode Dec 27, 2021 at 20:27
  • you can use both by switching back and forth, but adding a 2nd ESP tied to serial is probably better to avoid message delivery delays.
    – dandavis
    Jan 1, 2022 at 20:00

1 Answer 1


you can easily use both ESPnow and WiFi - you just configure it as WiFi.mode(WIFI_MODE_APSTA); no need to switch between AP and STA And I have not experienced any delays for my gateway - sending MQTT message over WiFi to MQTT broker takes 6ms

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.