docs: align readme and driver api with tcp/wifi
Made-with: Cursor
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# LED Driver ESPNow API Documentation
|
||||
# LED Driver API (message format)
|
||||
|
||||
This document describes the ESPNow message format for controlling LED driver devices.
|
||||
This document describes the **JSON message format** for controlling LED driver devices. The same object is accepted from **ESP-NOW** (when that transport is enabled) and as **one JSON value per line** over **TCP** in **Wi-Fi** mode (see `src/main.py` on the device).
|
||||
|
||||
## Message Format
|
||||
|
||||
All messages are JSON objects sent via ESPNow with the following structure:
|
||||
All messages are JSON objects with the following structure:
|
||||
|
||||
```json
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user