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)
esp-now -- C3 Mini -- unicast issue
-
- Posts: 2
- Joined: Wed Jul 10, 2024 9:28 am
esp-now -- C3 Mini -- unicast issue
Last edited by chiboreache on Fri Jul 12, 2024 10:39 am, edited 1 time in total.
-
- Posts: 170
- Joined: Sun Jun 23, 2024 6:18 pm
Re: esp-now esp32 C3 vs S3
I think you must check the configuration settings in 'menuconfig' for both devices.
-
- Posts: 2
- Joined: Wed Jul 10, 2024 9:28 am
Re: esp-now -- C3 Mini -- unicast issue
nothing fancy here
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]
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]
[Codebox][env:seeed_xiao_esp32c3]C3 Mini
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]
[Codebox][env:lolin_s3_mini]S3 Zero
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: Bing [Bot] and 49 guests