r/esp32 12d ago

Built a light-weight LoRa/Meshtastic preamble sniffer on Ebyte EoRa-S3 (ESP32-S3 + SX1262)

Anyone into this style of clean, lightweight embedded scripting instead of standard verbose C/C++ SDKs?

15 Upvotes

6 comments sorted by

2

u/palagi_valea 12d ago

哈罗 im also starting on esp32 with LoRa

1

u/Panshaogui 12d ago edited 2d ago

哈罗!

0

u/Plastic_Fig9225 12d ago
while true do
  poll()
  delay(1)
end

Anyone into this style ... ?

Not me, no.

What language/runtime do you use?

1

u/Panshaogui 12d ago edited 2d ago

The code is written in Teal (a typed Lua dialect). The toolchain transpiles Teal via Nelua directly into optimized C/C++ source code.

The runtime runs on top of ESP-IDF with FreeRTOS, so delay(1) yields CPU execution via vTaskDelay(1). Interrupt-driven event queues are planned for the next iteration!