/status 多加点信息

This commit is contained in:
zogodo
2019-10-23 18:22:47 +08:00
parent db867966e0
commit 2e8691d2b6
2 changed files with 5 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ static int HttpGetTc1Status(httpd_request_t *req)
char* tc1_status = malloc(256);
sprintf(tc1_status, TC1_STATUS_JSON, sockets, ip_status.mode,
sys_config->micoSystemConfig.ssid, sys_config->micoSystemConfig.user_key,
ELAND_AP_SSID, ELAND_AP_KEY, ip_status.ip, ip_status.mask, ip_status.gateway);
ELAND_AP_SSID, ELAND_AP_KEY, "MQTT.ADDR", 1883, ip_status.ip, ip_status.mask, ip_status.gateway, time(NULL));
OSStatus err = kNoErr;
send_http(tc1_status, strlen(tc1_status), exit, &err);