-
…MQTT 8KB 上限;@Async 写入加 try/catch 避免静默失败
-
- saveDeviceProperty 改用忽略大小写匹配物模型,统一以 identifier 作为 properties / Redis 缓存的 key, 避免设备上报 key 与物模型 identifier 大小写不一致时被丢弃,并与 Controller 读取 Redis 时使用的 key 对齐 - BOOL 类型先按布尔语义解析再转 0/1,避免 Convert.toByte("true") 走 Byte.parseByte 抛 NumberFormatException - 新增 IotDevicePropertyServiceImplTest,覆盖大小写匹配 / BOOL 各种入参形态 -
- IotAlertTriggerSceneRuleAction 实现 sendAlertMessage:按 receiveTypes 分别走短信 / 邮件 / 站内信通道,逐通道 try/catch 隔离失败 - IotAlertReceiveTypeEnum 新增 templateCode 字段与 of(Integer) 静态查找 - IotAlertRecordService.createAlertRecord 增加 IotDeviceDO 入参,由调用方 在 execute 中一次性回源缓存,避免每个告警配置重复查询 - 新增 IotAlertTriggerSceneRuleActionTest 单元测试
-
- IotDeviceMessage/IotDeviceMessageDO/IotDeviceMessageRespVO: thing.property.report→thing.property.post - IotDeviceMessageMethodEnum: OTA 固定信息推送→OTA 固件信息推送
-
1. 新增 3 个 DTO: - IotDevicePropertySetReqDTO:属性设置(下行) - IotDeviceServiceInvokeReqDTO:服务调用(下行) - IotDeviceConfigPushReqDTO:配置推送(下行) 2. 所有现有 DTO 的 javadoc 补充 {@link IotDeviceMessageMethodEnum#XXX} 引用 -
1. 新增 3 个 DTO: - IotDevicePropertySetReqDTO:属性设置(下行) - IotDeviceServiceInvokeReqDTO:服务调用(下行) - IotDeviceConfigPushReqDTO:配置推送(下行) 2. 所有现有 DTO 的 javadoc 补充 {@link IotDeviceMessageMethodEnum#XXX} 引用
-
新增 IotDeviceStateUpdateReqDTO、IotDeviceOtaUpgradeReqDTO、IotDeviceOtaProgressReqDTO, 替换 IotDeviceMessage 和 IotOtaTaskRecordServiceImpl 中的裸 Map 构造和解析, 删除 IotDeviceMessage.buildOtaUpgrade() 方法。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-
…-pro into feature/iot-modbus # Conflicts: # yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/codec/tcp/IotTcpBinaryDeviceMessageCodec.java # yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/codec/tcp/IotTcpJsonDeviceMessageCodec.java # yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/config/IotGatewayConfiguration.java # yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/config/IotGatewayProperties.java # yudao-module-iot/yudao-module-iot-gateway/src/main/resources/application.yaml