No description
  • C 63.2%
  • Rust 35.1%
  • CMake 1.7%
Find a file
2023-08-10 16:43:07 +08:00
.vscode Update 2023-08-10 16:43:07 +08:00
C Update 2023-08-10 16:43:07 +08:00
imgs Update 2023-08-10 16:43:07 +08:00
Rust Update 2023-08-10 16:43:07 +08:00
.gitignore Update 2023-08-10 16:43:07 +08:00
README.md Update 2023-08-10 16:43:07 +08:00

Tests for esp now send timing.

Environment:

  • hardware: ESP32-C3-MINI-1 (for both rx and tx)
  • esp-idf version: v5.1-cbce221

WiFi initial configs are kept the same.

Before testing, use cargo espflash flash --bin rx --release --monitor to flash a receiver and fill its mac address to s_example_peer_mac of C code and RX_ADDR of Rust code. Keep the receiver running when testing.

Broadcast:

C version (set BENCH_UNICAST to 0):

Alt text

Rust version (cargo espflash flash --bin tx --release --monitor):

Alt text

Unicast:

C Version (set BENCH_UNICAST to 1):

Alt text

Rust version (cargo espflash flash --bin tx --features unicast --release --monitor):

Alt text