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

917 B
Raw Blame History

Structuration des tâches FreeRTOS — Agent RTOS

Objectif

Organiser les tâches principales du firmware pour audio, web, batterie.


Tâches à créer

  • TaskAudio : gestion flux audio, lecture MP3, routage
  • TaskWeb : gestion serveur HTTP, endpoints, logs
  • TaskBattery : surveillance batterie, gestion deep sleep
  • TaskBluetooth : gestion HFP, BLE, pairing
  • TaskWiFi : gestion connexion, OTA, logs

Priorités

  • TaskAudio : haute priorité (temps réel)
  • TaskBattery : priorité moyenne (surveillance périodique)
  • TaskWeb, TaskBluetooth, TaskWiFi : priorité basse (événementiel)

Synchronisation

  • Utilisation de queues pour communication inter-tâches
  • Mutex pour accès partagé (logs, config)

Plan dimplémentation

  • Créer chaque tâche via xTaskCreate
  • Définir stack size, priorité, fonction
  • Tester la robustesse (stress, interruption)

Version : 2026-02-17