Commit Graph

32 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
d04b08133f Move fonts / assets definition from main/boards to CMakeLists.txt (#1174)
* update surfer-c3-1.14tft font size

* Move fonts / assets definition from main/boards to CMakeLists.txt

* fix c3 compiling errors

---------

Co-authored-by: Xiaoxia <terrence.huang@tenclass.com>
2025-09-08 17:30:18 +08:00
Xiaoxia
83f6f8c703 Switch to 2.0 branch (#1152)
* Adapt boards to v2 partition tables

* fix esp log error

* fix display style

* reset emotion after download assets

* fix compiling

* update assets default url

* Add user only tools

* Add image cache

* smaller cache and buffer, more heap

* use MAIN_EVENT_CLOCK_TICK to avoid audio glitches

* bump to 2.0.0

* fix compiling errors

---------

Co-authored-by: Xiaoxia <terrence.huang@tenclass.com>
2025-09-04 15:41:28 +08:00
Xiaoxia
3c71558a5f v1.8.0: Audio 代码重构与低功耗优化 (#943)
* Reconstruct Audio Code

* Remove old IoT implementation

* Add MQTT-UDP documentation

* OTA升级失败时,可以继续使用
2025-07-19 22:45:22 +08:00
Xiaoxia
d80f94387a v1.6.6: Set MCP as default IoT Protocol (#690) 2025-05-27 14:58:49 +08:00
Terrence
5da66773d5 Add MCP server 2025-05-22 19:19:48 +08:00
Eason
7ac252637d SH1106 Supported (#416)
* SH1106 Supported

* OLED_SSD1306_128X64_SH1106 -> OLED_SH1106_128X64
2025-03-26 23:11:08 +08:00
Terrence
5568c70cb4 fix no oled display error 2025-03-08 19:56:56 +08:00
Terrence
20696b37f9 1.4.3: Low power popup & replace OledDisplay with Ssd1306Display 2025-03-06 05:22:06 +08:00
Terrence
7945da0c84 1.3.1 Updates
- Add startup and network failure sound effects
- 12864 OLED scroll text
- Internalization of volume actions
2025-03-03 07:29:22 +08:00
Terrence
93915cd624 add config.json to boards for auto building 2025-02-18 00:52:37 +08:00
Terrence
1ac5f20f2a remove system resets 2025-01-23 23:12:48 +08:00
Terrence
84f5674359 add more fonts for version 1.0.0 2025-01-23 13:50:22 +08:00
Terrence
b3e39b6a22 fixbug: audio input stutters 2025-01-11 01:52:33 +08:00
Terrence
c7c5b74d37 reconstruct led control 2025-01-05 19:36:00 +08:00
Andy
2e6a278b0d feat: add led strip class 2025-01-05 19:35:38 +08:00
Terrence
d31901e9e5 add iot framework 2024-12-06 11:09:17 +08:00
Terrence
4042897857 use gpio47 and active low as touch button 2024-12-05 02:55:24 +08:00
Terrence
313dd712e3 fix boot button 2024-12-03 22:02:47 +08:00
Terrence
064341c5ef 面包板增加触摸对话按钮,使用GPIO45 2024-12-03 09:43:41 +08:00
Terrence
436ff2b906 fit the memory usage for esp32c3 2024-11-29 11:06:05 +08:00
Terrence
b07ec1a148 连接wifi时按下boot重置wifi 2024-11-25 02:27:21 +08:00
Terrence
6bfe2719a8 加入中文UI 2024-11-18 06:17:39 +08:00
Terrence
a494c41367 adjust board structure 2024-11-16 03:25:55 +08:00
Terrence
3575448373 move all hardware init to boards 2024-11-06 06:18:56 +08:00
Terrence
55ff4e1f74 move wifi/ml307 to boards folder 2024-11-06 03:40:49 +08:00
Terrence
82030d003d rename CreateAudioDevice to GetAudioDevice 2024-11-05 21:17:56 +08:00
Terrence
458ac2c999 rename files 2024-11-05 20:15:00 +08:00
Terrence
bc4b0a0bb1 move audio enable/disable in ws connect/discconect 2024-11-05 16:50:29 +08:00
Terrence
b0bc81b921 add new boards 2024-11-01 14:26:02 +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