Files
RTC_BL_PHONE/docs/plan_dev_web.md
T
Clément SAILLANT b89cda78c2 Add telephony and web server functionality
- 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.
2026-02-18 03:37:02 +01:00

1010 B
Raw Blame History

Plan de développement web — Agent Web

Objectif

Structurer limplémentation, les tests, laudit et la CI du serveur HTTP embarqué.


1. Endpoints à implémenter

  • / : page daccueil (texte)
  • /status : état du système (JSON)
  • /config : configuration (JSON)
  • /logs : logs système (texte)
  • /audio : état audio (JSON)
  • /battery : état batterie (JSON)
  • /rtos : état multitâche (JSON)
  • /bluetooth : état Bluetooth (JSON)
  • /wifi : état WiFi (JSON)

2. Sécurité

  • Validation des entrées (GET/POST)
  • Protection contre injection, buffer overflow
  • Authentification simple (optionnelle)

3. Tests fonctionnels

  • Vérification réponse HTTP (code, contenu)
  • Tests endpoints critiques (status, logs, config)
  • Tests de charge (plusieurs requêtes)

4. CI

  • Tests automatisés endpoints
  • Rapport de couverture
  • Logs CI

5. Documentation

  • Décrire chaque endpoint, usage, format
  • Exemple de requête/réponse

Version : 2026-02-17