fix(duch,laser): duch cat1网络指令解析+LaserOnOff状态更新
- Cat1Rev_Thread +LIPURC拦截去dLen<24限制, 全量DebugAnalyze(Task网络指令) - COMM_UNIT_CMD_CONT_LASER回应处置LaserOnOff真实值(设备自动关/开)
This commit is contained in:
@@ -105,12 +105,60 @@ void GateWayInit(void)
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8080;
|
||||
#elif MAC_ADDR_TYPE > 0
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 217;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 192;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 248;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 12111;
|
||||
#elif MAC_ADDR_TYPE == 1
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 39;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 106;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8081;
|
||||
#elif MAC_ADDR_TYPE == 2
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 39;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 106;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8082;
|
||||
#elif MAC_ADDR_TYPE == 3
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 39;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 106;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8083;
|
||||
#elif MAC_ADDR_TYPE == 4
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 39;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 106;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8084;
|
||||
#elif MAC_ADDR_TYPE == 5
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 39;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 106;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8085;
|
||||
#elif MAC_ADDR_TYPE == 6
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 39;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 106;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8086;
|
||||
#elif MAC_ADDR_TYPE == 7
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 39;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 106;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8087;
|
||||
#elif MAC_ADDR_TYPE == 8
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 39;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 106;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8088;
|
||||
#elif MAC_ADDR_TYPE == 9
|
||||
GateWay.ConfigPara.LTENet.DestAddr[0] = 39;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[1] = 106;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[2] = 103;
|
||||
GateWay.ConfigPara.LTENet.DestAddr[3] = 147;
|
||||
GateWay.ConfigPara.LTENet.DestPort = 8089;
|
||||
#endif
|
||||
|
||||
GateWay.ConfigPara.CommUnitReadInterval = COMMUNIT_READ_SENSOR_INTERVAL_MAX;//非低功耗设备
|
||||
|
||||
Reference in New Issue
Block a user