Files
RTC_BL_PHONE/docs/plan_multitache_rtos.md
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

785 B
Raw Permalink Blame History

Plan multitâche RTOS — Agent RTOS

Objectif

Définir larchitecture 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