- Implement TelephoneSFPManager to manage telephony service interactions. - Create TelephonyService class to handle telephony states and actions. - Develop WebServerManager for handling HTTP requests and managing contacts. - Add HTML, CSS, and JavaScript files for the web UI to interact with the telephony system. - Introduce WifiManager for managing WiFi connections. - Implement unit tests for telephony features and state transitions. - Ensure proper input validation and error handling in web server routes.
29 lines
874 B
Markdown
29 lines
874 B
Markdown
# Plan d’architecture WebUI RTC_BL_PHONE
|
||
|
||
## Objectif
|
||
Créer une interface web embarquée (WebUI) pour le monitoring, la configuration et le contrôle du téléphone RTC.
|
||
|
||
## Structure
|
||
- Dossier : src/webui/
|
||
- Fichiers : index.html, style.css, script.js
|
||
- Ressources statiques servies par ESPAsyncWebServer
|
||
|
||
## Fonctionnalités
|
||
- Dashboard (état, batterie, audio, SLIC, Bluetooth, WiFi)
|
||
- Configuration (paramètres réseau, audio, RTC, firmware)
|
||
- Logs et monitoring en temps réel
|
||
- Contrôle (appels, lecture audio, reboot, sleep)
|
||
|
||
## Intégration
|
||
- Endpoints HTTP pour données dynamiques (JSON)
|
||
- Serveur de fichiers statiques (HTML/CSS/JS)
|
||
- Sécurité : authentification, audit endpoints
|
||
|
||
## Tests & CI
|
||
- Tests fonctionnels frontend (affichage, interaction)
|
||
- CI : validation build webUI, tests automatisés
|
||
|
||
---
|
||
|
||
_Agent WebUI – Plan généré automatiquement._
|