ESPnow no go in AP mode

Recurrent H/W and software problems
Post Reply
Zim
Posts: 280
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 253 times
Been thanked: 128 times

ESPnow no go in AP mode

Post by Zim »

Hi
I am using ESP32's in this config. If I put the transmitter in AP and receiver in Station, I get no reception. When both are in Station its OK. Is this a limitation when transmitter and receiver are ESP32? Or am I missing something?
Thanks
Zim
fox.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 1900
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1271 times
Contact:

Re: ESPnow no go in AP mode

Post by cicciocb »

Try to set the module in mixed mode (look in the help file)
Zim
Posts: 280
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 253 times
Been thanked: 128 times

Re: ESPnow no go in AP mode

Post by Zim »

Hi cicciocb

Only works if both modules are in mixed mode, or if both modules are in station mode. IP doesn't stick when in AP mode...

Thanks
Zim
Last edited by Zim on Fri Mar 10, 2023 7:55 pm, edited 1 time in total.
Zim
Posts: 280
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 253 times
Been thanked: 128 times

Re: ESPnow no go in AP mode

Post by Zim »

Thanks cicciocb

Got it to work by putting both in mixed mode with "wifi.connect" as you suggested.
- sender in AP mode with this added--------> WIFI.CONNECT "receivers AP name", "receivers AP password" ' for mixed mode
- receiver in AP mode with this added--------> WIFI.CONNECT "routers wifi name", "routers wifi password" ' for mixed mode



Thanks!
Zim
Post Reply