Skip to content

Multiple Router with same SSID #1

@lilalukas

Description

@lilalukas

Hey all,

I can confirm that you have to use the same WiFi-Channel for ESPNow-Sender and ESPNow-to-WiFi-Gateways. If you have multiple routers with the same SSID (e.g. in university or company) and you always want to use the best WiFi (so no hardcoded channel) you have to try to send the message on each channel until you get a success reply.

  • Gateway on random channel

`

channel = 1

send = false;

while(!send){

    send = sendOnChannel(channel);

    if(send){

         break;

    }else{

        channel = channel % 13 + 1;

     }

}

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions