Comments (1)
The example specifies channel 3, but Wifi Analyzer app indicates ESPNOW
APs are on channel 8, which is the same channel as my residential WiFi.
It turns out to be esp8266/Arduino#2843 : I might have used these units to connect to my residential WiFi in the past without setting WiFi.persistent(false)
, so that the firmware remembers "channel 8".
Since WifiEspNowBroadcast.begin()
sets AP+STA mode, the channel for STA mode takes precedence, the firmware attempts to connect to the residential WiFi, and "channel 3" is ignored.
I have added WiFi.disconnect()
and the channel is now correct.
However, a consequence is that, if user wishes to use ESP-NOW pseudo broadcast and WiFi STA mode at the same time, they must call WifiEspNowBroadcast.begin()
before WiFi.begin()
.
from wifiespnow.
Related Issues (20)
- On ESP32 system crashes when esp_now_xxx functions called without successful begin() HOT 2
- basic documentation about how to use the examples HOT 1
- restructering folder-structure to enable the use of add-ZIP-library of the Arduino-IDE HOT 1
- modifying the EspNowBroadcast.ino-example to deliver output you just can copy & paste into your code that is based on the EspNowUniCast-example HOT 1
- Nothing received from my ESP32-S2 module HOT 1
- PlatformIO compile receiver not work. HOT 1
- ota update HOT 1
- 这个库广播支持自动路由转发吗? HOT 1
- Doesn't seem entirely reliable
- how to send any kind of data HOT 2
- Any chance to include in arduino-esp32? HOT 1
- It does not work when ESP32-S3 connected to wifi ap HOT 3
- Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
- Compiler warning
- ESPNow issues with Deep Sleep HOT 4
- Is it possible to enable encryption? HOT 2
- What can I do with this library? HOT 2
- Can i connecting multiple esp8266(slave) to one esp32(master) with this library? HOT 2
- Serial Communication over ESP Now HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifiespnow.