20 Commits

Author SHA1 Message Date
Xiaoxia
b7db68457c v2.1.0: Upgrade esp-wifi-connect to 3.0; New device state machine (#1528)
* Upgrade component version

* update fonts component version

* Handle OTA error code

* Update project version to 2.1.0 and add device state machine implementation

- Upgrade  esp-wifi-connect to 3.0.0, allowing reconfiguring wifi without rebooting
- Introduce device state machine with state change notification in new files
- Remove obsolete device state event files
- Update application logic to utilize new state machine
- Minor adjustments in various board implementations for state handling

* fix compile errors

* Refactor power saving mode implementation to use PowerSaveLevel enumeration

- Updated Application class to replace SetPowerSaveMode with SetPowerSaveLevel, allowing for LOW_POWER and PERFORMANCE settings.
- Modified various board implementations to align with the new power save level structure.
- Ensured consistent handling of power save levels across different board files, enhancing code maintainability and clarity.

* Refactor power save level checks across multiple board implementations

- Updated the condition for power save level checks in various board files to ensure that the power save timer only wakes up when the level is not set to LOW_POWER.
- Improved consistency in handling power save levels, enhancing code clarity and maintainability.

* Refactor EnterWifiConfigMode calls in board implementations

- Updated calls to EnterWifiConfigMode to use the appropriate instance reference (self or board) across multiple board files.
- Improved code consistency and clarity in handling device state during WiFi configuration mode entry.

* Add cellular modem event handling and improve network status updates

- Introduced new network events for cellular modem operations, including detecting, registration errors, and timeouts.
- Enhanced the Application class to handle different network states and update the display status accordingly.
- Refactored Ml307Board to implement a callback mechanism for network events, improving modularity and responsiveness.
- Updated dual_network_board and board headers to support new network event callbacks, ensuring consistent handling across board implementations.

* update esp-wifi-connect version

* Update WiFi configuration tool messages across multiple board implementations to clarify user actions
2025-12-09 09:24:56 +08:00
Xiaoxia
147d71b9f1 feat: add snapshot mcp tool (#1196)
* use main task to execute tool calls

* feat: add snapshot mcp tool

* fix compiling errors

* 取消 audio input 的 pin core,core1留给显示,可能会对aec性能有影响

* update ml307 version

* remove v1 theme colors
2025-09-14 15:16:49 +08:00
Terrence
d58d55cfe7 Bump to 1.8.5 2025-08-02 01:27:14 +08:00
Terrence
78d7b40914 将项目版本更新至1.5.9,优化内存使用,增加主任务栈大小至8192,优化固件升级流程,重构主循环为MainEventLoop,添加新版本检查功能,更新音频编解码器的DMA配置常量。 2025-04-13 11:47:15 +08:00
Terrence
a23a88cc5d Bump to 1.3.0 2025-02-24 14:41:34 +08:00
Terrence
b00bfaf181 delete background task before upgrade 2025-01-13 06:49:01 +08:00
Terrence
58de3852c5 add settings 2024-11-15 04:44:53 +08:00
Terrence
458ac2c999 rename files 2024-11-05 20:15:00 +08:00
Terrence
6f5f5a0642 use protocol 3 2024-10-30 06:58:29 +08:00
Terrence
33518dca2b add config files for known boards 2024-10-29 00:22:29 +08:00
Terrence
a2487f46c8 ES8311 + ES7210 2024-10-24 09:53:08 +08:00
Terrence
879f1cc21e reconstruct application 2024-10-03 06:39:22 +08:00
Terrence
d26e8d25ff support ML307, new version 0.3.0 2024-10-01 14:16:12 +08:00
Terrence
0396b4a91c fix bugs 2024-09-25 03:44:28 +08:00
Terrence
797f9c2515 start AP if WiFi station fails to connect 2024-09-15 14:03:11 +08:00
Terrence
3a97934b15 use led, wifi component 2024-09-10 05:58:56 +08:00
Terrence
20c8c98b38 add reset to factory 2024-09-10 00:45:13 +08:00
Terrence
e25bf7155d add OTA support 2024-09-05 17:22:01 +08:00
Terrence
a26541911e send wake word audio to the server 2024-09-03 13:57:18 +08:00
Terrence
5da7d1755f Hello, Xiaozhi. 2024-08-31 18:09:33 +08:00