espressif / esp-now

A connectionless Wi-Fi communication protocol
Apache License 2.0
528 stars 93 forks source link

in ota all device connect to same ap or just initiator connect internet and send ota via esp-now (AEGHB-145) #35

Closed mrdsn3 closed 1 year ago

mrdsn3 commented 2 years ago

I was a little confused In Exempla OTA, in order to connect to the initiator, both devices must be connected to an access point, or it is enough for the initiator to download the file and then send it to the devices via Broadcast or Unicast.

LJYSP commented 2 years ago

@mrdsn3 The responder devices may not connect to an access point, but should be at the same channel with initiator. Because initiator connects to an AP and can only send esp-now in the AP channel. You can set the channel of the access point to channel 1, or set responder device channel to the AP channel(by esp_wifi_set_channel()).

lhespress commented 1 year ago

@mrdsn3 Any update about this?

lhespress commented 1 year ago

@mrdsn3 Closing this issue since there has been no update on this. Please feel free to reopen if required.