esp-now -- C3 Mini -- unicast issue

chiboreache
Posts: 2
Joined: Wed Jul 10, 2024 9:28 am

esp-now -- C3 Mini -- unicast issue

Postby chiboreache » Wed Jul 10, 2024 9:46 am

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
Last edited by chiboreache on Fri Jul 12, 2024 10:39 am, edited 1 time in total.

aliarifat794
Posts: 111
Joined: Sun Jun 23, 2024 6:18 pm

Re: esp-now esp32 C3 vs S3

Postby aliarifat794 » Fri Jul 12, 2024 7:38 am

I think you must check the configuration settings in 'menuconfig' for both devices.

chiboreache
Posts: 2
Joined: Wed Jul 10, 2024 9:28 am

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

Postby chiboreache » Fri Jul 12, 2024 12:23 pm

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]

Who is online

Users browsing this forum: No registered users and 38 guests