b89cda78c2
- 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.
785 B
785 B
Plan multitâche RTOS — Agent RTOS
Objectif
Définir l’architecture multitâche, la synchronisation et la robustesse du firmware.
Architecture multitâche
- 5 tâches principales : audio, web, batterie, bluetooth, wifi
- Priorités définies selon criticité
- Stack size adapté à chaque tâche
Synchronisation
- Queues pour communication (ex : audio ↔ batterie)
- Mutex pour accès partagé (logs, config)
- Sémaphores pour événements (wake, OTA)
Robustesse
- Watchdog sur tâches critiques (audio, batterie)
- Tests de stress (charge, interruption)
- Gestion des erreurs (reboot, logs)
Plan de validation
- Tests unitaires sur chaque tâche
- Tests de communication inter-tâches
- Tests de stress multitâche
Version : 2026-02-17