Search found 2 matches

by gary.kuipers
Thu May 09, 2024 1:03 pm
Forum: ESP32 Arduino
Topic: Switching from WiFi to ESP Now does not change the channel as needed. (esp_wifi_set_channel)
Replies: 1
Views: 1031

Re: Switching from WiFi to ESP Now does not change the channel as needed. (esp_wifi_set_channel)

SOLVED: The section of code: uint8_t current_channel; esp_wifi_get_channel(¤t_channel, NULL); if (current_channel == storage.channel) { Serial.printf("Channel verification successful: Current channel is %d\n", current_channel); } else { Serial.printf("Channel verification failed: Expected %d, ...
by gary.kuipers
Tue May 07, 2024 6:13 am
Forum: ESP32 Arduino
Topic: Switching from WiFi to ESP Now does not change the channel as needed. (esp_wifi_set_channel)
Replies: 1
Views: 1031

Switching from WiFi to ESP Now does not change the channel as needed. (esp_wifi_set_channel)

Problem: Switching from WiFi to ESP Now does not change the channel as needed. Using: ESP32-WROOM-32 board Question you may have: Why not use the channel of the Wifi? Answer: I cycle through multiple SSIDs to find a path via WiFi. WHen I can't I switch to ESPNow where I have a receiver at a fixed ch...