-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Esp32 failed to send one to many using espnow protocol (IDFGH-9600) #10949
Comments
Hello, News of this issue? @zhangyanjiaoesp |
Do you use BLE when using ESP-NOW? Can you provide a demo for us to reproduce the issue? Can't tell from your log what happened . |
Hello, This is my project. if you set modes[0] Client ; modes[1] Server On line 71 : broadcastServerESPNow : mac address of wifi Server |
We will try to test it on our side. |
@lebossejames
|
@zhangyanjiaoesp I have one code contains BLE and ESP-NOW functions, i use only ESP-NOW Client ESP-NOW send message when the level of input is High and other message when it's low to Server ESP-NOW. What do you mean of debug log? I use Arduino IDE. |
@zhangyanjiaoesp any news? |
@lebossejames |
@lebossejames |
|
Are you install: |
Just installed |
Installed now the compile error is:
|
Installed now the log is:
|
i copy theses files on Painless folder library : I don't install AsyncTCP library !! I use ESP32-C3 partitions schemes 1.9APP/190kb SPIFFS |
OK, I will try again. |
Now the project can run on my side. I have some questions :
So the
It only can send to one device. |
|
There is crash on the receive device, I think that is why the ESP-NOW can't be received.
|
I have theses traces @zhangyanjiaoesp :
no crash. |
@lebossejames
And I have captured the packets between the two ESP32C3 device, there are too many RTS and probe request packets. After comment line 1039~1042, the ESP-NOW send callback can return success.
So suggest you begin to send ESP-NOW packets after the STA connected. And the AP's channel should be same to the ESP-NOW sender. |
This log show the device can't find the AP. |
@zhangyanjiaoesp So there is a problem or not? How works if i want to use Client-Server with this code (create a personal network with this informations network) |
Have suggested in #10949 (comment) .
That means you can call
And init ESP-NOW and send ESP-NOW data after you get the However, if the STA and AP have a lot of data interaction, it will still affect the sending and receiving of ESP-NOW packets. |
@zhangyanjiaoesp how can i use ESP-NOW and connect Wifi AP (Server ESP32) without mac adress server? |
@lebossejames I'm sorry I don't see what you mean. Could you describe it in more detail? |
Hi @lebossejames, do you still have this problem? Could you share the latest update? Thanks. |
Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates. |
Answers checklist.
General issue report
Hello,
I use Arduino IDE with ESP32-C3 (library 2.0.7) and use ESP-NOW but ESP failed to send one to many times using espnow protocol.
13:09:30.201 -> Last Packet Send Status: Delivery Fail 13:09:31.795 -> isAfterBLE_FRONT 13:09:31.795 -> Ask to open all relay 2CH 13:09:32.825 -> Sent with success 13:09:32.825 -> 13:09:32.825 -> Last Packet Send Status: Delivery Fail 13:09:34.452 -> isAfterBLE_FRONT
I try to set this on my code but doesn't resolved:
WiFi.useStaticBuffers(true); WiFi.mode(WIFI_STA);
The text was updated successfully, but these errors were encountered: