|
@@ -22,327 +22,13 @@ Dialog DLL: TCM.DLL V1.36.5.0
|
|
|
|
|
|
<h2>Project:</h2>
|
|
<h2>Project:</h2>
|
|
D:\Project\dtu_gateway\app\Proj\Ringzle.uvprojx
|
|
D:\Project\dtu_gateway\app\Proj\Ringzle.uvprojx
|
|
-Project File Date: 08/15/2023
|
|
|
|
|
|
+Project File Date: 09/20/2023
|
|
|
|
|
|
<h2>Output:</h2>
|
|
<h2>Output:</h2>
|
|
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\workSoftware\stm32Software\mdk\mdkcore\ARM\ARMCC\Bin'
|
|
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\workSoftware\stm32Software\mdk\mdkcore\ARM\ARMCC\Bin'
|
|
-Rebuild target 'GD32F103C8T6'
|
|
|
|
-assembling startup_gd32f10x_xd.s...
|
|
|
|
-compiling gd32f10x_it.c...
|
|
|
|
-compiling log.c...
|
|
|
|
-compiling device_message.c...
|
|
|
|
-..\App\device_message.c(23): warning: #223-D: function "memset" declared implicitly
|
|
|
|
- memset(&config_params_union, 0, sizeof(CONFIG_PARAMS_UNION));
|
|
|
|
-..\App\device_message.c(24): warning: #223-D: function "memcpy" declared implicitly
|
|
|
|
- memcpy(&config_params_union.config_params, params, sizeof(CONFIG_PARAMS));
|
|
|
|
-..\App\device_message.c(39): warning: #223-D: function "memset" declared implicitly
|
|
|
|
- memset(&config_params_union, 0, sizeof(CONFIG_PARAMS_UNION));//清空原先数据
|
|
|
|
-..\App\device_message.c(42): warning: #223-D: function "memcpy" declared implicitly
|
|
|
|
- memcpy(&g_config_params, &config_params_union.config_params, sizeof(CONFIG_PARAMS));
|
|
|
|
-..\App\device_message.c: 4 warnings, 0 errors
|
|
|
|
-compiling main.c...
|
|
|
|
-..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
|
|
|
|
- int8_t check_ota_event();
|
|
|
|
-..\App\main.c(65): warning: #1295-D: Deprecated declaration fwdgt_init - give arg types
|
|
|
|
- void fwdgt_init();
|
|
|
|
-..\App\main.c(66): warning: #1295-D: Deprecated declaration task_fwdgt_reload - give arg types
|
|
|
|
- void task_fwdgt_reload();
|
|
|
|
-..\App\main.c(95): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway->deviceId, strID);
|
|
|
|
-..\App\main.c(96): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway->version, VERSION);
|
|
|
|
-..\App\main.c(97): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway->gatewayMode, GATEWAYMODE);
|
|
|
|
-..\App\main.c(98): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway->gateName,GATEWAYNAME);
|
|
|
|
-..\App\main.c(104): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
|
|
|
|
- http_load_config(httpURL);
|
|
|
|
-..\App\main.c(121): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway->deviceId, strID);
|
|
|
|
-..\App\main.c(122): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway->version, VERSION);
|
|
|
|
-..\App\main.c(123): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway->gatewayMode, GATEWAYMODE);
|
|
|
|
-..\App\main.c(124): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway->gateName,GATEWAYNAME);
|
|
|
|
-..\App\main.c(244): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *"
|
|
|
|
- if (EC800MGetUrl(httpURL,dmabuffer,BufferSize) == true) // 从http获取信息,获取成功则保存到本地
|
|
|
|
-..\App\main.c: 13 warnings, 0 errors
|
|
|
|
-compiling mmodbus.c...
|
|
|
|
-compiling system_gd32f10x.c...
|
|
|
|
-compiling systick.c...
|
|
|
|
-compiling otaEvent.c...
|
|
|
|
-..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
|
|
|
|
- int8_t check_ota_event();
|
|
|
|
-..\App\otaEvent.c(45): warning: #940-D: missing return statement at end of non-void function "check_ota_event"
|
|
|
|
- }
|
|
|
|
-..\App\otaEvent.c(78): warning: #223-D: function "memcpy" declared implicitly
|
|
|
|
- memcpy(w25q32_data+128,ota_data.data + 3,128);
|
|
|
|
-..\App\otaEvent.c(80): warning: #223-D: function "memset" declared implicitly
|
|
|
|
- memset(w25q32_data,0,256);
|
|
|
|
-..\App\otaEvent.c(84): warning: #223-D: function "memcpy" declared implicitly
|
|
|
|
- memcpy(w25q32_data,ota_data.data + 3,128);
|
|
|
|
-..\App\otaEvent.c(88): warning: #223-D: function "memset" declared implicitly
|
|
|
|
- memset(ota_data.data, 0, 133);
|
|
|
|
-..\App\otaEvent.c(96): warning: #223-D: function "memset" declared implicitly
|
|
|
|
- memset(ota_data.data, 0, 133);
|
|
|
|
-..\App\otaEvent.c(127): warning: #223-D: function "memset" declared implicitly
|
|
|
|
- memset(ota_data.data, 0, 133);
|
|
|
|
-..\App\otaEvent.c: 8 warnings, 0 errors
|
|
|
|
-compiling mqttRecv.c...
|
|
|
|
-..\App\mqttRecv.c(25): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- for (; i < strlen(UART0_RX_BUF); i++)
|
|
|
|
-..\App\mqttRecv.c(71): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(json, (char *)json_buf); // 将JSON数据拷贝到输出缓冲区中
|
|
|
|
-..\App\mqttRecv.c: 2 warnings, 0 errors
|
|
|
|
-compiling gd32f10x_adc.c...
|
|
|
|
-compiling gd32f10x_bkp.c...
|
|
|
|
-compiling ec800m.c...
|
|
|
|
-..\App\ec800m.c(53): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- bool timeoutFlag = false;
|
|
|
|
-..\App\ec800m.c(56): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- timeoutFlag = true;
|
|
|
|
-..\App\ec800m.c(70): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- return true;
|
|
|
|
-..\App\ec800m.c(77): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- return false;
|
|
|
|
-..\App\ec800m.c(263): warning: #223-D: function "sprintf" declared implicitly
|
|
|
|
- sprintf(command, CMD_SET_URL, strlen(url)); // CMD_SET_URL "%d\r\n"
|
|
|
|
-..\App\ec800m.c(270): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- return false;
|
|
|
|
-..\App\ec800m.c(276): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- return false;
|
|
|
|
-..\App\ec800m.c(283): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- return false;
|
|
|
|
-..\App\ec800m.c(292): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- return true;
|
|
|
|
-..\App\ec800m.c(304): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- bool success = false;
|
|
|
|
-..\App\ec800m.c(314): warning: #223-D: function "sprintf" declared implicitly
|
|
|
|
- sprintf(cmd, "AT+QMTCFG=\"qmtping\",0,%d\r\n", keepalive);
|
|
|
|
-..\App\ec800m.c(502): warning: #223-D: function "sprintf" declared implicitly
|
|
|
|
- sprintf((char *)payload_out,"{\"deviceId\":\"%s\",\"data\":[",gateway->deviceId);//缁勬垚json澶撮儴
|
|
|
|
-..\App\ec800m.c(609): warning: #223-D: function "sprintf" declared implicitly
|
|
|
|
- sprintf(AT_SUB, "AT+QMTSUB=0,1,\"%s\",0\r\n", commandTopic);
|
|
|
|
-..\App\ec800m.c(610): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- bool success = false;
|
|
|
|
-..\App\ec800m.c: 14 warnings, 0 errors
|
|
|
|
-compiling PC.c...
|
|
|
|
-..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
|
|
|
|
- int8_t check_ota_event();
|
|
|
|
-..\App\PC.c(25): warning: #1295-D: Deprecated declaration read_json_config - give arg types
|
|
|
|
- void read_json_config();
|
|
|
|
-..\App\PC.c(170): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- uint8_t deviceIdLen=strlen(gateway->deviceId);
|
|
|
|
-..\App\PC.c(171): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- uint8_t versionLen=strlen(gateway->version);
|
|
|
|
-..\App\PC.c(176): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- uint16_t CRC16=mmodbus_crc16(gatewayMessageData+1,strlen(gatewayMessageData)-1);
|
|
|
|
-..\App\PC.c(183): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- gd_com_232_send(gatewayMessageData,strlen(gatewayMessageData));
|
|
|
|
-..\App\PC.c(211): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *restrict"
|
|
|
|
- sscanf(UART0_RX_BUF, "AT+COPS?\r\r\n+COPS: 0,0,\"%[^\"]\",%s", Operators, &Networktyp);
|
|
|
|
-..\App\PC.c(215): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(Operators,""); //鏈��鍙栧埌sim鍗′俊鎭?
|
|
|
|
-..\App\PC.c(223): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- char* status_str=strstr(UART0_RX_BUF, "+CREG:");
|
|
|
|
-..\App\PC.c(226): warning: #181-D: argument is incompatible with corresponding format string conversion
|
|
|
|
- sscanf(status_str, "+CREG: %*d,%d", &Networkstatu); //鍘熷厛0鏈�敞鍐? 1娉ㄥ唽锛屽彇鍙嶅悗1鏈�敞鍐?0娉ㄥ唽
|
|
|
|
-..\App\PC.c(231): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- char* ICCID_str=strstr(UART0_RX_BUF,"+QCCID:");
|
|
|
|
-..\App\PC.c(239): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *restrict"
|
|
|
|
- sscanf(UART0_RX_BUF,"AT+CSQ\r\r\n+CSQ: %d",&rssi);
|
|
|
|
-..\App\PC.c(239): warning: #181-D: argument is incompatible with corresponding format string conversion
|
|
|
|
- sscanf(UART0_RX_BUF,"AT+CSQ\r\r\n+CSQ: %d",&rssi);
|
|
|
|
-..\App\PC.c(253): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *restrict"
|
|
|
|
- sscanf(UART0_RX_BUF,"AT+GSN\r\r\n%s",IMMIE);
|
|
|
|
-..\App\PC.c(259): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- sprintf(gatewayConfigData+2,
|
|
|
|
-..\App\PC.c(264): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- uint16_t CRC16=mmodbus_crc16(gatewayConfigData+1,strlen(gatewayConfigData)-1);
|
|
|
|
-..\App\PC.c(266): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- gatewayConfigData[strlen(gatewayConfigData)+1] = (uint8_t) (CRC16 & 0x00FF);
|
|
|
|
-..\App\PC.c(267): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- gatewayConfigData[strlen(gatewayConfigData)] = (uint8_t) ((CRC16 & 0xFF00)>>8);
|
|
|
|
-..\App\PC.c(268): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- gatewayConfigData[strlen(gatewayConfigData)]=END;
|
|
|
|
-..\App\PC.c(269): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- gd_com_232_send(gatewayConfigData,strlen(gatewayConfigData));
|
|
|
|
-..\App\PC.c(289): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- sprintf(json_config+2,"{\"host\":\"%s\",\"port\":%d,\"messageTopic\":\"%s\",\"commandTopic\":\"%s\",\"baudrate\":%d,\"dataBit\":%d,\"stopBit\":%d,\"checkBit\":%d,\"flowControl\":%d,\"deviceId\":\"%s\",\"dataSource\":%d,\"version645\":%d,\"inboundTime\":%d,\"pollTime\":%d,",
|
|
|
|
-..\App\PC.c(306): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- sprintf(json_config+strlen(json_config),"\"sensorData\":[");
|
|
|
|
-..\App\PC.c(306): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- sprintf(json_config+strlen(json_config),"\"sensorData\":[");
|
|
|
|
-..\App\PC.c(312): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- sprintf(json_config+strlen(json_config),"{\"rFunctionCode\":%d,\"registerAddress\":%d,\"slaveAddress\":%d,\"registerByteNum\":%d,\"identifier\":\"%s\",\"deviceId\":\"%s\",\"precise\":%d,\"bigLittleFormat\":%d},",
|
|
|
|
-..\App\PC.c(312): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- sprintf(json_config+strlen(json_config),"{\"rFunctionCode\":%d,\"registerAddress\":%d,\"slaveAddress\":%d,\"registerByteNum\":%d,\"identifier\":\"%s\",\"deviceId\":\"%s\",\"precise\":%d,\"bigLittleFormat\":%d},",
|
|
|
|
-..\App\PC.c(324): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- sprintf(json_config+strlen(json_config),
|
|
|
|
-..\App\PC.c(324): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- sprintf(json_config+strlen(json_config),
|
|
|
|
-..\App\PC.c(338): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- memset(json_config+strlen(json_config)-1,0,1);
|
|
|
|
-..\App\PC.c(340): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- sprintf(json_config+strlen(json_config),"],\"commandData\":[");
|
|
|
|
-..\App\PC.c(340): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- sprintf(json_config+strlen(json_config),"],\"commandData\":[");
|
|
|
|
-..\App\PC.c(344): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- sprintf(json_config+strlen(json_config),"{\"deviceId\":\"%s\",\"identifier\":\"%s\",\"registerAddress\":%d,\"slaveAddress\":%d,\"wFunctionCode\":%d,\"registerByteNum\":%d,\"bigLittleFormat\":%d},",
|
|
|
|
-..\App\PC.c(344): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- sprintf(json_config+strlen(json_config),"{\"deviceId\":\"%s\",\"identifier\":\"%s\",\"registerAddress\":%d,\"slaveAddress\":%d,\"wFunctionCode\":%d,\"registerByteNum\":%d,\"bigLittleFormat\":%d},",
|
|
|
|
-..\App\PC.c(354): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- memset(json_config+strlen(json_config)-1,0,1);
|
|
|
|
-..\App\PC.c(356): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- sprintf(json_config+strlen(json_config),"]}");
|
|
|
|
-..\App\PC.c(356): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- sprintf(json_config+strlen(json_config),"]}");
|
|
|
|
-..\App\PC.c(358): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- uint16_t CRC16=mmodbus_crc16(json_config+1,strlen(json_config)-1);
|
|
|
|
-..\App\PC.c(359): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- json_config[strlen(json_config)+1] = (uint8_t) (CRC16 & 0x00FF);
|
|
|
|
-..\App\PC.c(360): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- json_config[strlen(json_config)] = (uint8_t) ((CRC16 & 0xFF00)>>8);
|
|
|
|
-..\App\PC.c(362): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- json_config[strlen(json_config)]=END;
|
|
|
|
-..\App\PC.c(363): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- gd_com_232_send(json_config,strlen(json_config));
|
|
|
|
-..\App\PC.c(382): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- uint16_t CRC16=mmodbus_crc16(resp+1,strlen(resp)-1);
|
|
|
|
-..\App\PC.c(382): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const uint8_t *"
|
|
|
|
- uint16_t CRC16=mmodbus_crc16(resp+1,strlen(resp)-1);
|
|
|
|
-..\App\PC.c(383): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- resp[strlen(resp)+1] = (uint8_t) (CRC16 & 0x00FF);
|
|
|
|
-..\App\PC.c(384): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- resp[strlen(resp)] = (uint8_t) ((CRC16 & 0xFF00)>>8);
|
|
|
|
-..\App\PC.c(385): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- resp[strlen(resp)]=END;
|
|
|
|
-..\App\PC.c(386): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- gd_com_232_send(resp,strlen(resp));
|
|
|
|
-..\App\PC.c(386): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "uint8_t *"
|
|
|
|
- gd_com_232_send(resp,strlen(resp));
|
|
|
|
-..\App\PC.c(425): warning: #223-D: function "delay_1ms" declared implicitly
|
|
|
|
- delay_1ms(50);
|
|
|
|
-..\App\PC.c: 48 warnings, 0 errors
|
|
|
|
-compiling parseDeviceMessage.c...
|
|
|
|
-..\App\parseDeviceMessage.c(74): warning: #167-D: argument of type "char *" is incompatible with parameter of type "const uint8_t *"
|
|
|
|
- processHttp(dmaBuffer);
|
|
|
|
-..\App\parseDeviceMessage.c(77): warning: #940-D: missing return statement at end of non-void function "WaitForUpData"
|
|
|
|
- }
|
|
|
|
-..\App\parseDeviceMessage.c(122): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway.host, processStringData(json, "host"));
|
|
|
|
-..\App\parseDeviceMessage.c(125): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway.messageTopic, processStringData(json, "messageTopic"));
|
|
|
|
-..\App\parseDeviceMessage.c(126): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway.commandTopic, processStringData(json, "commandTopic"));
|
|
|
|
-..\App\parseDeviceMessage.c(147): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway.device_read_data[i].deviceId, processStringData(read_data_obj, "deviceId"));
|
|
|
|
-..\App\parseDeviceMessage.c(148): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway.device_read_data[i].keyword, processStringData(read_data_obj, "identifier"));
|
|
|
|
-..\App\parseDeviceMessage.c(159): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway.device_read_data[i].deviceId, processStringData(read_data_obj, "deviceId"));
|
|
|
|
-..\App\parseDeviceMessage.c(160): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway.device_read_data[i].keyword, processStringData(read_data_obj, "identifier"));
|
|
|
|
-..\App\parseDeviceMessage.c(183): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway.device_write_data[i].deviceId, processStringData(write_data_obj, "deviceId"));
|
|
|
|
-..\App\parseDeviceMessage.c(184): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(gateway.device_write_data[i].keyword, processStringData(write_data_obj, "identifier"));
|
|
|
|
-..\App\parseDeviceMessage.c(212): warning: #1295-D: Deprecated declaration parseCommandData - give arg types
|
|
|
|
- void parseCommandData();
|
|
|
|
-..\App\parseDeviceMessage.c(363): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- mmodbus_set16bitOrder(gateway->device_read_data[i].bigLittleFormat);
|
|
|
|
-..\App\parseDeviceMessage.c(417): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- mmodbus_set16bitOrder(gateway->device_read_data[i].bigLittleFormat);
|
|
|
|
-..\App\parseDeviceMessage.c(424): warning: #177-D: variable "value" was declared but never referenced
|
|
|
|
- uint32_t value = (uint32_t)data[0] << 8 | data[1];
|
|
|
|
-..\App\parseDeviceMessage.c(454): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
|
|
|
|
- while (MQTT_BUFFER_READ(json))
|
|
|
|
-..\App\parseDeviceMessage.c(462): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(action1, processStringData(mqtt_sub_json, "action"));
|
|
|
|
-..\App\parseDeviceMessage.c(473): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(identifier, processStringData(mqtt_sub_json, "identifier"));
|
|
|
|
-..\App\parseDeviceMessage.c(475): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(deviceId, processStringData(mqtt_sub_json, "deviceId"));
|
|
|
|
-..\App\parseDeviceMessage.c(478): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
|
|
|
|
- strcpy(messageId, processStringData(mqtt_sub_json, "messageId"));
|
|
|
|
-..\App\parseDeviceMessage.c(486): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- if (strcmp(gateway->device_write_data[i].deviceId, deviceId) == 0)
|
|
|
|
-..\App\parseDeviceMessage.c(486): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- if (strcmp(gateway->device_write_data[i].deviceId, deviceId) == 0)
|
|
|
|
-..\App\parseDeviceMessage.c(488): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- if (strcmp(gateway->device_write_data[i].keyword, identifier) == 0) // 瀵绘壘鍒板�搴斿瓨鍌ㄧ殑鍦板潃
|
|
|
|
-..\App\parseDeviceMessage.c(488): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- if (strcmp(gateway->device_write_data[i].keyword, identifier) == 0) // 瀵绘壘鍒板�搴斿瓨鍌ㄧ殑鍦板潃
|
|
|
|
-..\App\parseDeviceMessage.c(494): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- mmodbus_set16bitOrder(gateway->device_write_data[i].bigLittleFormat);
|
|
|
|
-..\App\parseDeviceMessage.c(516): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- mmodbus_set16bitOrder(gateway->device_write_data[i].bigLittleFormat);
|
|
|
|
-..\App\parseDeviceMessage.c(556): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- if (strcmp(gateway->device_read_data[i].deviceId, deviceId) == 0)
|
|
|
|
-..\App\parseDeviceMessage.c(556): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- if (strcmp(gateway->device_read_data[i].deviceId, deviceId) == 0)
|
|
|
|
-..\App\parseDeviceMessage.c(558): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- if (strcmp(gateway->device_read_data[i].keyword, identifier) == 0) // 瀵绘壘鍒板�搴斿瓨鍌ㄧ殑鍦板潃
|
|
|
|
-..\App\parseDeviceMessage.c(558): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
|
|
|
|
- if (strcmp(gateway->device_read_data[i].keyword, identifier) == 0) // 瀵绘壘鍒板�搴斿瓨鍌ㄧ殑鍦板潃
|
|
|
|
-..\App\parseDeviceMessage.c(565): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- mmodbus_set16bitOrder(gateway->device_read_data[i].bigLittleFormat);
|
|
|
|
-..\App\parseDeviceMessage.c(570): warning: #177-D: variable "value1" was declared but never referenced
|
|
|
|
- uint8_t value1;
|
|
|
|
-..\App\parseDeviceMessage.c(600): warning: #188-D: enumerated type mixed with another type
|
|
|
|
- mmodbus_set16bitOrder(gateway->device_read_data[i].bigLittleFormat);
|
|
|
|
-..\App\parseDeviceMessage.c: 33 warnings, 0 errors
|
|
|
|
-compiling gd32f10x_can.c...
|
|
|
|
-compiling gd32f10x_crc.c...
|
|
|
|
-compiling gd32f10x_dac.c...
|
|
|
|
-compiling gd32f10x_enet.c...
|
|
|
|
-compiling gd32f10x_dbg.c...
|
|
|
|
-compiling gd32f10x_dma.c...
|
|
|
|
-compiling gd32f10x_fwdgt.c...
|
|
|
|
-compiling gd32f10x_exmc.c...
|
|
|
|
-compiling gd32f10x_exti.c...
|
|
|
|
-compiling gd32f10x_gpio.c...
|
|
|
|
-compiling gd32f10x_fmc.c...
|
|
|
|
-compiling gd32f10x_i2c.c...
|
|
|
|
-compiling gd32f10x_misc.c...
|
|
|
|
-compiling gd32f10x_rtc.c...
|
|
|
|
-compiling gd32f10x_pmu.c...
|
|
|
|
-compiling gd32f10x_sdio.c...
|
|
|
|
-compiling gd32f10x_rcu.c...
|
|
|
|
-compiling spi.c...
|
|
|
|
-compiling gd32f10x_wwdgt.c...
|
|
|
|
-compiling usart.c...
|
|
|
|
-..\bsp\usart.c(27): warning: #223-D: function "memset" declared implicitly
|
|
|
|
- memset(UART0_RX_BUF,0,UART0_RX_LEN);
|
|
|
|
-..\bsp\usart.c(158): warning: #550-D: variable "value" was set but never used
|
|
|
|
- uint8_t value;
|
|
|
|
-..\bsp\usart.c(13): warning: #177-D: variable "COM_IT_HANDLER" was declared but never referenced
|
|
|
|
- static uint32_t COM_IT_HANDLER[COMn] = {COM_EC800_IT_HANDLER, COM_485_IT_HANDLER, COM_232_IT_HANDLER};
|
|
|
|
-..\bsp\usart.c: 3 warnings, 0 errors
|
|
|
|
-compiling dlt645.c...
|
|
|
|
-compiling key.c...
|
|
|
|
-compiling led.c...
|
|
|
|
-compiling gd32f10x_spi.c...
|
|
|
|
-compiling gd32f10x_usart.c...
|
|
|
|
-compiling ring_buffer.c...
|
|
|
|
-compiling w25q32.c...
|
|
|
|
-compiling gd32f10x_timer.c...
|
|
|
|
-compiling dlt645_2007.c...
|
|
|
|
-compiling dlt645_data.c...
|
|
|
|
-compiling dlt645_1997.c...
|
|
|
|
-compiling cJSON.c...
|
|
|
|
-compiling dlt645_port.c...
|
|
|
|
-..\dlt\port\dlt645_port.c(84): warning: #223-D: function "memcpy" declared implicitly
|
|
|
|
- memcpy(msg, &(dlt645_port.rxBuf[4]), len-4);
|
|
|
|
-..\dlt\port\dlt645_port.c(103): warning: #223-D: function "memset" declared implicitly
|
|
|
|
- memset(dlt645_port.rxBuf, 0, DLT_RXSIZE);
|
|
|
|
-..\dlt\port\dlt645_port.c: 2 warnings, 0 errors
|
|
|
|
-linking...
|
|
|
|
-Program Size: Code=36448 RO-data=2652 RW-data=224 ZI-data=86992
|
|
|
|
-FromELF: creating hex file...
|
|
|
|
|
|
+Build target 'GD32F103C8T6'
|
|
After Build - User command #1: fromelf --bin --output ./Objects/Ringzle.bin ./Objects/Ringzle.axf
|
|
After Build - User command #1: fromelf --bin --output ./Objects/Ringzle.bin ./Objects/Ringzle.axf
|
|
-".\Objects\Ringzle.axf" - 0 Error(s), 127 Warning(s).
|
|
|
|
|
|
+".\Objects\Ringzle.axf" - 0 Error(s), 0 Warning(s).
|
|
|
|
|
|
<h2>Software Packages used:</h2>
|
|
<h2>Software Packages used:</h2>
|
|
|
|
|
|
@@ -356,7 +42,7 @@ Package Vendor: GigaDevice
|
|
D:\workSoftware\stm32Software\mdk\mdkpack\GigaDevice\GD32F10x_DFP\2.0.3\Device\Include
|
|
D:\workSoftware\stm32Software\mdk\mdkpack\GigaDevice\GD32F10x_DFP\2.0.3\Device\Include
|
|
|
|
|
|
<h2>Collection of Component Files used:</h2>
|
|
<h2>Collection of Component Files used:</h2>
|
|
-Build Time Elapsed: 00:00:02
|
|
|
|
|
|
+Build Time Elapsed: 00:00:00
|
|
</pre>
|
|
</pre>
|
|
</body>
|
|
</body>
|
|
</html>
|
|
</html>
|