• Joined on 2026-08-31
evanliu pushed to main at evanliu/mothercup 2026-09-04 09:21:11 +08:00
c65809a6f1 SmartAssiter去notify重设计:BLE通信切换到固件读写特征接口(CLI特征...c72e0003写命令读应答,只读参数特征...c72e0004 TLV);删除帧协议/notify代码(FrameCodec/McmChannel/OtaManager/Crc);BluetoothManager重写(通用readChar读队列+writeCliChar,scanServices校验特征);连接就绪信号改为bleState 0;OTA页暂停用(notify上行不通待固件修复)
evanliu pushed to main at evanliu/mothercup 2026-09-04 08:56:20 +08:00
9366d116c4 将APP迁移到一起,方便开发管理
evanliu pushed to main at evanliu/SmartAssiter-Discard 2026-09-04 08:53:20 +08:00
30d072defc 修复ASI导致ConnectBle调用失效(setMac/pushMsg后补分号);新增MCM_INFO只读参数特征读取(BluetoothManager.readInfoChar+读结果按UUID分发,McmInfo.readDeviceInfo),主页参数轮询从INFO_QUERY切到read特征(...c72e0004);docs补修改记录
evanliu pushed to main at evanliu/mothercup 2026-09-04 08:52:49 +08:00
2117c140fc mcm-ddc-ble V1.00.02~08:新增CLI读写特征(...c72e0003,写命令读应答)与只读参数特征(...c72e0004,全项TLV);修复温度开机首读垃圾值(ADC初始化预热+丢弃首转);blelog补写回调/CCCD订阅可见日志并修正CCCD值解析;tools新增bleak测试客户端(ble_cli_test.py/ble_cli.bat/ble_temp_watch.py);make_package.bat改指mcm-ddc-ble;merge_image.py自动取APP_FW_VERSION_NUM写入OTA清单;AGENTS.md记录固件版本递增约定;开发日志第28节
evanliu pushed to main at evanliu/SmartAssiter-Discard 2026-09-04 06:02:38 +08:00
07509a2387 迁移uni-app x到uni-app vue3,蓝牙去第三方插件改uni内置BLE API
evanliu pushed to main at evanliu/SmartAssiter-Discard 2026-09-03 08:44:07 +08:00
4af93dca6c BLE协议V1.1适配:INFO_QUERY信息查询、显式GATT UUID、修复notify数据解析(NotityData);页面调整:Status并入Device、CLI终端改为底部tab;增加[MCM]收发报文日志
evanliu pushed to main at evanliu/mothercup 2026-09-03 06:31:49 +08:00
77ec340db2 ble_protocol.md新增手机端开发指南(连接初始化/CRC与组帧解帧参考实现/字节级示例表/时序与异常处理);merge_image.py出整包时同步产出OTA镜像(_ota.bin+_ota.json清单);文档目录移至仓库根docs/
evanliu pushed to main at evanliu/mothercup 2026-09-03 06:26:20 +08:00
8ee0a7cce2 mcm-ddc-ble补齐BLE三业务:OTA(直写flash,惰性擦扇区,仅4B对齐暂存)+设备信息查询(INFO_QUERY/INFO_RSP TLV,ADC芯片温度/VDD,风扇转速weak数据源)+CLI透传;连接后主动MTU=247交换;CLI新增devinfo命令;ble_protocol.md升级V1.1;修复出包流程(必须UV4 -r全量重建,校验向量表SP与map一致);整包上板验证通过
evanliu pushed to main at evanliu/mothercup 2026-09-02 22:00:52 +08:00
31357227d0 实现ble_protocol.md帧协议(CLI-over-BLE,rdtss承载);协议文档补rdtss服务UUID表与线上字节示例;开发日志第22节(mcm-ddc-ble工程全程:创建/FreeRTOS/CLI搬迁/帧协议)
evanliu pushed to main at evanliu/mothercup 2026-09-02 21:33:40 +08:00
62d8f20c6e 重新生成caiic_full整包(上一轮误删)
evanliu pushed to main at evanliu/mothercup 2026-09-02 21:33:13 +08:00
789ebca725 mcm-ddc-ble并入mcm-ddc-04的CLI框架+UART驱动:bsp_usart/cli_core/app_cli移植,新增ble_up(BLE notify上行,ke_msg上下文约束);拆除app_usart透传与ns_log_lpuart(fputc冲突);rdtss下行接CLI输入;Keil跨target同名组合并坑,三个target同步清理;出caiic_ble_full整包
evanliu pushed to main at evanliu/mothercup 2026-09-02 21:04:15 +08:00
b5186aa30f 修复Boot跳转后BLE失败:Boot跳转前__enable_irq( PRIMASK继承问题),APP/Boot的IRAM改从0x20004000起(低16KB为ROM/BLE保留区,踩了必HardFault);bootsetting增加start_address,Boot按地址跳转;merge_image.py生成缺省bootsetting并支持参数化;make_package改-r全量重建;mcm-ddc-ble重链接到0x01008000并出caiic_ble_full整包;HardFault加栈帧打印
evanliu pushed to main at evanliu/SmartAssiter-Discard 2026-09-02 16:56:30 +08:00
b4e8cafa61 母乳杯蓝牙改造:CAIIC-MCM 协议层(CLI/OTA)、设备/状态/升级页面、UI英文化、扫描不过滤、新应用名与图标
evanliu created branch main in evanliu/SmartAssiter-Discard 2026-09-02 16:11:00 +08:00
evanliu pushed to main at evanliu/SmartAssiter-Discard 2026-09-02 16:11:00 +08:00
1bf7232929 初初稿
evanliu created repository evanliu/SmartAssiter-Discard 2026-09-02 10:47:01 +08:00
evanliu pushed to main at evanliu/mothercup 2026-09-02 08:54:48 +08:00
7aa2834828 USART1波特率115200->1000000(APB2=64MHz分频4.0零误差);RX维持RXDNE中断不切DMA(评估记录见开发日志第20节)
evanliu pushed to main at evanliu/mothercup 2026-09-02 08:22:54 +08:00
5d5c1d827c Boot改为跳转时不校验镜像CRC(校验移到OTA升级过程),修复Keil下载后无法调试;新增debug_app.ini调试旁路;补充开发日志(第19节)与mcm-ddc-ble工程日志
evanliu pushed to main at evanliu/mothercup 2026-09-02 07:53:58 +08:00
5e9de32eee 推送相关文件到服务器
evanliu pushed to main at evanliu/mothercup 2026-09-01 23:00:05 +08:00
bcd307db92 接入BLE:自定义GATT服务(CAIIC-MCM)+CLI-over-BLE帧协议+双bank直写OTA;新增自写bootloader(Boot工程,512KB布局);器件改N32WB031KEQ6-2