refactor(printer): remove controller legacy and unify printer naming

This commit is contained in:
admin
2026-03-01 14:06:38 +08:00
parent e694a85997
commit 57adabaa3f
16 changed files with 111 additions and 445 deletions

View File

@@ -1,12 +1,12 @@
# ESP32-S3 TQ Printer Controller (Direct Thermal, No Business HTTP Server)
# ESP32-S3 TQ Thermal Printer Firmware (No Business HTTP Server)
This firmware now runs in direct-printer mode and does not expose the previous
This firmware now runs in printer mode and does not expose the previous
business REST endpoints (`/v1/*`).
## Features
- Direct thermal printer backend (`PRINTER_BACKEND_DIRECT`)
- Auto-connect direct printer during startup
- Thermal printer driver (single printer path)
- Auto-connect printer during startup
- Async print queue and worker lifecycle management
- Printer precheck (paper / battery / temperature)
- MIC key push-to-talk voice flow (button-triggered, no HTTP trigger)
@@ -44,14 +44,14 @@ idf.py -p /dev/tty.usbmodemXXXX flash monitor
## Config
In `menuconfig -> TQ Controller Config`:
In `menuconfig -> TQ Printer Config`:
- Wi-Fi provisioning:
- `TQ_WIFI_PROV_SOFTAP_SSID`
- `TQ_WIFI_PROV_SOFTAP_PASSWORD`
- `TQ_WIFI_PROV_SOFTAP_CHANNEL`
- `TQ_WIFI_PROV_SOFTAP_MAX_CONN`
- Direct thermal printer runtime and safety policy:
- Thermal printer runtime and safety policy:
- `TQ_DIRECT_PRINTER_*`
- `TQ_PRINTER_*`
- Z-Image HTTP fields: