espressif / esp-now

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

Problem in connecting ESPNOW to BLYNK (AEGHB-31) #17

Closed amir-eshaqy closed 1 year ago

amir-eshaqy commented 2 years ago

Hi, I want to send an int value from ESP 8266 to ESP 32 using the ESP NOW protocol. But when I use this protocol (ESP NOW) in (((blynk))) I can not find any value

This is my ESP 32(Is connected to blynk) code https://pastebin.com/pzLcsNtn

This is my ESP 8266code https://pastebin.com/3MxVxrb5

I can not access the variable sent by ESP 8266 when I use BLYNK I’m sure my ESP NOW protocol is working properly because when I use the following code in ESP 32 everything is fine

Note: I can send commands from ESP 32 to ESP 8266 with this protocol. But I can not do the contrary Note: If you want to test the code, change the MAC address and BLYNK_TEMPLATE_ID

ESP code 32 without using Blink which works properly (ESPNOW protocol only)

https://pastebin.com/z3DQU7LD

Please help me

LJYSP commented 2 years ago

Try this: set 20M bandwidth in ESP32 , and see if it works. ESP_ERROR_CHECK(esp_wifi_set_bandwidth(WIFI_IF_STA, WIFI_BW_HT20));

lhespress commented 1 year ago

@amir-eshaqy Any update about this?

lhespress commented 1 year ago

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