Page 1 of 1

esp-now -- C3 Mini -- unicast issue

Posted: Wed Jul 10, 2024 9:46 am
by chiboreache
completely exhausted with idea of auto-pairing, after about month of extreme struggle - i did it, but only for S3, absolutely the same code not working on C3

is there some hardware limitation that i missed?

code are pretty basic, based on https://randomnerdtutorials.com/esp-now ... 2-esp8266/ tutorial

two stages, broadcast 0xFF, getting mac address of peers via callback, add them to peer list and then start unicast stage

broadcasting works fine, but unicast only for S3, tested both way (by one and in group)

Image

Re: esp-now esp32 C3 vs S3

Posted: Fri Jul 12, 2024 7:38 am
by aliarifat794
I think you must check the configuration settings in 'menuconfig' for both devices.

Re: esp-now -- C3 Mini -- unicast issue

Posted: Fri Jul 12, 2024 12:23 pm
by chiboreache
nothing fancy here
C3 Mini
[Codebox][env:seeed_xiao_esp32c3]
platform = espressif32
board = seeed_xiao_esp32c3
framework = arduino
monitor_speed = 115200

build_flags =
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_LOLIN_C3_MINI

lib_deps =
adafruit/Adafruit GFX Library
adafruit/Adafruit SSD1306[/Codebox]

S3 Zero
[Codebox][env:lolin_s3_mini]
platform = espressif32
board = lolin_s3_mini
framework = arduino
monitor_speed = 115200
build_type = debug
build_flags =
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
lib_deps =
adafruit/Adafruit GFX Library
adafruit/Adafruit SSD1306
[/Codebox]