diff --git a/TC1/http_server/app_httpd.c b/TC1/http_server/app_httpd.c index b0a8115..e4d944e 100644 --- a/TC1/http_server/app_httpd.c +++ b/TC1/http_server/app_httpd.c @@ -109,6 +109,7 @@ static int HttpGetPowerInfo(httpd_request_t *req) char* powers = GetPowerRecord(idx); sprintf(power_info_json, POWER_INFO_JSON, power_record.idx, PW_NUM, powers); + power_record.idx++; //test send_http(power_info_json, strlen(power_info_json), exit, &err); exit: return err; @@ -118,7 +119,7 @@ static int HttpGetWifiConfig(httpd_request_t *req) { OSStatus err = kNoErr; const unsigned char* status = GetSocketStatus(); - send_http(status, strlen(status), exit, &err); + send_http(status, strlen((char*)status), exit, &err); exit: return err; } diff --git a/TC1/http_server/app_httpd.h b/TC1/http_server/app_httpd.h index 798e2cb..2b81ba7 100644 --- a/TC1/http_server/app_httpd.h +++ b/TC1/http_server/app_httpd.h @@ -56,7 +56,7 @@ 'gateway':'%s'\ }" -#define POWER_INFO_JSON "{'idx':%d,'len':%d,'powers:[%s]'}" +#define POWER_INFO_JSON "{'idx':%d,'len':%d,'powers':[%s]}" int AppHttpdStart(void); int AppHttpdStop(); diff --git a/TC1/http_server/index.html b/TC1/http_server/index.html index 62e3d5c..c3cf9de 100644 --- a/TC1/http_server/index.html +++ b/TC1/http_server/index.html @@ -81,41 +81,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -259,14 +225,19 @@ function GetPowerRecord() { var power = JSON.parse(re); power_idx = power.idx + 1; var html = ""; - for (var i = 0; i <= power.idx; i++) { + for (var i = 0; i < power.powers.length; i++) { html += "
"; position += 10; } - power_line.innerHTML += html; + if (power.powers.length != 0) { + power_line.innerHTML += html; + power_line.scrollTo(power_line.scrollWidth, 0); + } //滑动到最后 - }, idx.toString()); + window.setTimeout(GetPowerRecord, 3000); + }, power_idx.toString()); } +GetPowerRecord(); function SetOK(i) { submit_bts[i].disabled = false; diff --git a/TC1/http_server/web_data.c b/TC1/http_server/web_data.c index e1ebe1d..4eab3d1 100644 --- a/TC1/http_server/web_data.c +++ b/TC1/http_server/web_data.c @@ -1 +1 @@ -const unsigned char index_html[0xb2a] = {0x1f,0x8b,0x08,0x00,0xb2,0xd3,0x90,0x5d,0x02,0xff,0xed,0x5b,0xeb,0x6e,0xdb,0x46,0x16,0xfe,0x1f,0x20,0xef,0x30,0x65,0xd0,0x4a,0x86,0x2e,0x94,0x64,0x4b,0x76,0x65,0xc9,0x8b,0xd4,0x09,0x12,0x6f,0xea,0xd8,0xad,0x0d,0x64,0x17,0x6d,0x21,0xd0,0xe4,0x48,0x66,0x4d,0x91,0x0c,0x39,0xb2,0x6c,0xb8,0x7e,0x86,0x7d,0x86,0xfd,0xb7,0x0f,0xb1,0xaf,0xb3,0xfb,0x1c,0x7b,0xce,0xdc,0x38,0xa4,0x28,0xd9,0xb1,0x19,0xf4,0xcf,0x2a,0x40,0x25,0xce,0x9c,0xcb,0x37,0x67,0xce,0x6d,0x86,0xee,0xe8,0x9b,0x37,0x27,0x87,0xe7,0x7f,0x3f,0x7d,0x4b,0x2e,0xd9,0x3c,0x38,0x78,0xf9,0x62,0xa4,0xbf,0xa9,0xe3,0xc1,0x37,0x81,0xcf,0x68,0x4e,0x99,0x03,0x04,0x2c,0x6e,0xd1,0xcf,0x0b,0xff,0x7a,0x6c,0xb9,0x51,0xc8,0x68,0xc8,0x5a,0xec,0x36,0xa6,0x16,0x91,0x4f,0x63,0x8b,0xd1,0x1b,0x66,0xa3,0x00,0x18,0xbb,0x74,0x92,0x94,0xc2,0xd8,0x82,0x4d,0x5b,0x7b,0x56,0x4e,0x92,0xa6,0x5f,0xfa,0x1e,0xbb,0x1c,0x7b,0xf4,0xda,0x77,0x69,0x8b,0x3f,0x34,0xfd,0xd0,0x67,0xbe,0x13,0xb4,0x52,0xd7,0x09,0xe8,0xb8,0xdb,0xee,0x34,0xe7,0xce,0x8d,0x3f,0x5f,0xcc,0x8d,0x91,0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8e,0x6c,0x39,0xac,0xd2,0x05,0x06,0x04,0xf1,0x3d,0xc5,0x3d,0x61,0x17,0x4a,0x80,0x98,0x4f,0x8c,0x27,0x31,0xe2,0x15,0x46,0xf8,0x28,0x8f,0x06,0x99,0x57,0xdc,0x4b,0xea,0x5e,0x5d,0x44,0x37,0x96,0x21,0xb7,0xab,0x12,0x56,0x1e,0x64,0x4e,0x06,0xa4,0x36,0x1a,0x90,0x69,0x94,0x64,0x4c,0x07,0x67,0xfc,0x47,0x0b,0xd2,0x18,0x9f,0x2d,0x82,0xb1,0x57,0xd0,0x3c,0x11,0x5f,0xef,0x29,0xf8,0x7a,0x1a,0x5f,0xef,0x6b,0xe3,0xdb,0x7e,0x0a,0xbe,0x6d,0x8d,0x6f,0xfb,0x51,0xf8,0xe0,0x31,0xf9,0x1a,0x9b,0xbf,0xf3,0x14,0xf0,0x3b,0x1a,0xfc,0xce,0xd7,0x36,0x6e,0xff,0x29,0xf8,0xfa,0x1a,0x5f,0xff,0x6b,0xe3,0x1b,0x3c,0x05,0xdf,0x40,0xe3,0x1b,0x7c,0xe9,0xe6,0xc3,0x4f,0x4c,0x0b,0xea,0x09,0xb2,0xb5,0x4e,0x31,0xbc,0xa8,0xe5,0x32,0x84,0x28,0xbd,0x79,0x82,0xc9,0x05,0xb3,0x48,0x14,0xba,0x81,0xef,0x5e,0x8d,0xad,0x33,0xca,0x04,0x92,0xfa,0x16,0x60,0xe2,0x04,0x23,0x5b,0xb0,0x99,0x82,0xd2,0xd8,0xc9,0xc4,0x30,0x87,0x2d,0xd2,0x49,0x1a,0x13,0x59,0x1c,0xad,0x83,0x93,0x0f,0x90,0x0b,0x81,0x44,0x63,0x04,0x58,0x3c,0x2d,0xaa,0x34,0x08,0x0f,0x25,0x49,0x11,0x7b,0xb2,0x35,0x39,0xf1,0x8c,0x2b,0x29,0x66,0x44,0x5c,0x2d,0x9a,0x5e,0x57,0xaa,0xdc,0x6a,0x0d,0x5b,0x60,0xa9,0xb1,0x0e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b,0xc2,0xb3,0x23,0xc1,0x49,0xaf,0x1e,0xad,0x72,0x0e,0xc4,0x55,0x28,0x7d,0xe7,0x30,0xba,0x74,0x6e,0x1f,0xad,0x77,0x26,0xe8,0x37,0xa9,0xce,0x3c,0xae,0xb8,0x97,0xa9,0x9b,0xf8,0x31,0x33,0x5f,0xdc,0xfd,0xee,0x5c,0x3b,0x62,0xd4,0xe2,0x24,0xd3,0x45,0xe8,0xf2,0x92,0xf2,0xfa,0x77,0xe7,0xa6,0xbe,0x48,0x82,0x26,0xb8,0x9e,0x74,0x99,0x26,0x67,0x6c,0x12,0xcf,0x61,0xce,0x16,0xb9,0x13,0xca,0xae,0x9d,0x84,0xdc,0xcc,0x83,0x09,0xbe,0xe3,0x24,0x63,0x12,0xd2,0x25,0xf9,0xdb,0xf1,0x8f,0xef,0xe1,0xe9,0x67,0xfa,0x79,0x41,0x53,0x56,0xdf,0xda,0x17,0x94,0x8a,0xaa,0x1d,0xc5,0x34,0xac,0x0b,0x51,0x5c,0x01,0x4b,0x16,0x74,0x85,0x08,0x30,0x4b,0x01,0xef,0xa9,0xe3,0xd1,0xa4,0x6e,0x1d,0x9a,0x6f,0x4e,0x9b,0xc4,0x72,0xe2,0x18,0x42,0xc2,0x41,0xb4,0xf6,0x4d,0x6b,0xb9,0x5c,0xb6,0x20,0x5a,0xe7,0x2d,0x10,0x49,0x43,0x17,0x42,0xd6,0xb3,0x56,0x35,0x87,0x09,0x08,0xbb,0xc5,0x60,0xa0,0x22,0x15,0x00,0x64,0xbd,0xe4,0xba,0x5e,0x14,0x7f,0x1d,0x39,0x25,0x75,0xcd,0xc8,0xd9,0xd0,0xb5,0x81,0x61,0x4c,0x76,0x72,0x84,0x2b,0xc4,0x22,0xd6,0x90,0x10,0x4e,0xe8,0x2b,0xa4,0xf8,0xd1,0x26,0x35,0x35,0xa4,0x31,0x0c,0xd3,0x73,0xd8,0x15,0x78,0x88,0x03,0xc7,0xa5,0x75,0xbb,0x66,0xcf,0x9a,0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,0x30,0x81,0x6d,0x5a,0x17,0x76,0x81,0x8a,0x01,0x9b,0xab,0x87,0x18,0x78,0x03,0xa6,0x18,0xb0,0xd4,0x4f,0x12,0xaf,0xbb,0x89,0x41,0xf4,0x24,0x05,0x8e,0xde,0x43,0x1c,0x3d,0xc3,0x5a,0x7c,0x8b,0xfd,0x78,0x13,0x8b,0x1f,0xe7,0x1d,0x02,0xcb,0xcd,0x46,0x15,0x58,0x8e,0x72,0x1c,0xb2,0x50,0x6c,0x62,0x52,0xb5,0x24,0x43,0xc6,0xff,0x26,0x61,0x4c,0x5a,0x5d,0x29,0xc9,0x89,0x27,0xd8,0x40,0xc1,0x90,0x65,0x65,0x43,0x68,0x32,0x73,0x08,0x9d,0x10,0xc2,0x69,0x85,0x54,0x8d,0x9b,0xf4,0x2a,0x82,0x2d,0x5b,0xb8,0x2e,0x84,0x50,0x96,0x80,0x13,0xaa,0x83,0xce,0xb6,0x13,0x2e,0xeb,0xae,0x26,0x7c,0x31,0xad,0x0d,0x6b,0xdf,0xa6,0xb5,0x66,0x0d,0x21,0xd6,0x86,0xdf,0x7a,0xcd,0x9a,0x12,0x8f,0x5b,0xae,0x66,0xb5,0xca,0xa5,0x1e,0x02,0xc0,0x26,0x05,0xe2,0x57,0x93,0xf7,0x56,0x56,0xc4,0x54,0xd6,0x26,0x7f,0x3d,0x3b,0xf9,0xd8,0x8e,0xf1,0x6f,0x70,0x10,0xcf,0x7e,0x91,0x62,0xe2,0x24,0x09,0x46,0x08,0x7f,0x90,0x7f,0xd2,0x01,0xdf,0x50,0x8b,0x60,0x51,0x4d,0x5d,0x73,0xa0,0x16,0x91,0x3a,0xdf,0x0c,0x20,0xee,0xec,0xc3,0xd7,0xc8,0x10,0xd0,0x86,0x1a,0x35,0x63,0x97,0x30,0xdc,0x68,0xe4,0x32,0xa6,0x0e,0xc2,0x5f,0xfc,0xdf,0xda,0xfc,0x81,0x7a,0x5a,0x1b,0x72,0xc2,0x38,0x4f,0xb6,0x5d,0xcb,0x48,0xda,0x85,0x0d,0x50,0xd8,0x0c,0xfb,0x94,0x10,0xcb,0x5d,0x29,0x10,0x83,0x6d,0x0c,0xda,0x6c,0xff,0x25,0x99,0x34,0x66,0x9e,0x24,0x2f,0x49,0x18,0xd8,0xa0,0xb0,0x6d,0xe9,0x56,0x92,0x00,0x9f,0x8c,0x69,0xa3,0x17,0x37,0x08,0x84,0x4f,0xea,0xfa,0x2a,0x22,0xa6,0xed,0x43,0x93,0x99,0xbc,0x3f,0x3f,0xfe,0x31,0x93,0xe6,0xc7,0x05,0x32,0x0c,0x85,0x32,0x42,0x1c,0x2f,0x90,0xca,0x00,0x28,0xa3,0x96,0x53,0x59,0x15,0x12,0x80,0xb4,0xaf,0x9e,0x51,0x76,0xf2,0xa1,0xee,0xeb,0xcd,0xcb,0xd2,0x3e,0xee,0x9c,0xfa,0x1b,0x21,0x6c,0x2f,0x1c,0x28,0x74,0xaa,0x7c,0xea,0xdc,0xce,0xb7,0x57,0xa5,0x71,0xf4,0xf3,0xd5,0x06,0xbd,0x94,0xc7,0x44,0x6a,0x9d,0x7c,0xb0,0x0a,0x05,0x0d,0x50,0x1d,0x85,0xb3,0xc7,0xc0,0xc2,0xa6,0xeb,0x4b,0x50,0xf1,0x0e,0xf4,0x61,0x48,0x7e,0x38,0x6b,0xb7,0xdb,0x96,0x2a,0x88,0x26,0x30,0xf5,0xf6,0x56,0x41,0x93,0x58,0x3b,0xb9,0x10,0x13,0xe1,0x34,0x49,0x99,0xca,0x17,0xeb,0x62,0x49,0x07,0xca,0xda,0x50,0x32,0x64,0x35,0xc6,0xa4,0x5e,0x1a,0x59,0x7f,0x81,0x40,0x6a,0x5a,0x04,0xba,0xa2,0x4e,0x16,0xba,0xb2,0xe7,0xd1,0xcd,0x01,0xa4,0x2a,0xf1,0xc6,0x7c,0x4d,0xaa,0x92,0x8b,0x01,0x77,0xd0,0x6b,0xb9,0x6f,0x1a,0xea,0xb7,0x4a,0xac,0x91,0xdd,0xed,0xe8,0x9d,0x92,0xc5,0xcd,0xdc,0x24,0x55,0x21,0xdb,0xfc,0x82,0x07,0x9b,0x2e,0xab,0x63,0x19,0xad,0x58,0x61,0x7e,0xcc,0xe7,0xf3,0x46,0x50,0x52,0x25,0x45,0x2e,0x55,0xac,0xed,0xc5,0x56,0xb9,0x94,0x22,0x71,0xaf,0x94,0xfe,0xa2,0x07,0xc4,0x6d,0x12,0xf5,0x8e,0x42,0x8f,0xde,0xfc,0xd6,0xc6,0x43,0x45,0xae,0x75,0x33,0x56,0x6d,0x04,0xfa,0x5c,0x83,0xc4,0x65,0x88,0xf4,0x30,0x26,0x30,0x9a,0x50,0xb6,0x48,0x42,0x63,0x89,0x73,0x5c,0x75,0x37,0xb7,0x26,0xdb,0x7e,0x7d,0xfa,0xdf,0x7f,0xfd,0xf3,0x3f,0xff,0xfe,0x47,0x36,0xa6,0x0a,0xb7,0x91,0x33,0x0d,0x0f,0xd7,0x6b,0x32,0x6c,0x65,0x98,0x32,0x37,0x5d,0x1e,0x23,0xf8,0xc9,0x9a,0x9c,0x0d,0x44,0x65,0xdb,0x68,0xa6,0x80,0x52,0xf3,0xca,0x34,0x6b,0x90,0xa8,0xce,0xc5,0x24,0xc1,0xb1,0xb5,0x5b,0x66,0xdb,0x67,0x62,0x67,0xd7,0x58,0xa6,0x57,0xa9,0x65,0x8a,0x2b,0x2a,0x37,0xcd,0xda,0x75,0x7f,0x89,0x6d,0x4a,0x1c,0xb6,0xd4,0x40,0x66,0x59,0xcb,0x07,0xb2,0xac,0x3e,0xf3,0xfd,0x72,0x87,0x14,0x77,0x6b,0x78,0x8a,0x31,0x9c,0x52,0xf8,0xe4,0x8a,0xeb,0x19,0xf5,0x30,0x87,0xb3,0xb4,0x1e,0xe6,0x21,0xae,0x0f,0xb6,0x42,0xf1,0x5e,0x27,0xb8,0x50,0xb7,0xcb,0xa5,0xcb,0x25,0xda,0xf6,0x4f,0x8b,0x48,0xd0,0x93,0x63,0x27,0xb9,0x4a,0xcd,0x55,0xc3,0x39,0xda,0xf1,0xc3,0x9f,0x8e,0xa1,0xdc,0x26,0xb9,0x38,0x84,0x67,0xc8,0xe6,0x10,0xc7,0x27,0xd3,0xba,0x55,0x83,0x44,0x72,0x00,0xe9,0x56,0x02,0xf8,0xe3,0x0f,0x62,0x4e,0xe3,0x99,0x74,0xd3,0x34,0x29,0x9d,0x16,0xa9,0x9a,0x1c,0x90,0xed,0x5e,0xce,0xac,0x22,0xea,0x4d,0xbf,0x94,0x5b,0x27,0x27,0x94,0x93,0xdc,0x8b,0xbe,0xf2,0xf3,0x7c,0x32,0x87,0x0a,0x89,0x9e,0x7a,0x16,0x25,0xc9,0x6d,0x93,0x80,0xf3,0xd5,0x18,0x59,0x80,0x61,0x6b,0x04,0x8a,0xc5,0xaf,0x16,0xfe,0x17,0x2a,0x94,0x4b,0xdb,0xbf,0x86,0xbf,0x86,0xaf,0x83,0x34,0x6a,0x12,0xa9,0x7d,0x34,0x06,0xf5,0x6d,0x2b,0x9f,0x90,0xf3,0xb7,0x6a,0x0f,0xfa,0x01,0x5a,0x2b,0xb3,0xa3,0xf4,0x8a,0x2d,0x5c,0x66,0x6e,0x14,0xf7,0x68,0x6b,0xe5,0x06,0x40,0x1c,0xca,0xe5,0x22,0x8a,0x67,0xef,0x5c,0x02,0x34,0x4f,0xe0,0x2b,0x7e,0x93,0xc7,0x60,0x7a,0x51,0x01,0x88,0xe9,0x38,0x15,0xa1,0x51,0xf5,0x1a,0xda,0x64,0x67,0x9e,0x16,0xa2,0xb4,0x61,0x11,0xab,0x51,0x12,0x8e,0x85,0xa2,0x8a,0x47,0x3b,0x5b,0xbc,0x79,0xd9,0x54,0x59,0x33,0x8c,0x59,0x37,0x2e,0x4b,0xac,0xd0,0xbe,0xb5,0xae,0xde,0xa8,0x57,0x16,0x4a,0x5a,0x51,0x37,0x3f,0x8c,0x6e,0xd0,0x8c,0x06,0x4e,0x44,0x55,0x85,0x4e,0x6b,0x05,0x94,0x91,0xf3,0x72,0x2d,0xd0,0x19,0x8c,0x86,0x59,0x1f,0xb4,0x86,0x65,0x7d,0x05,0xc1,0xcf,0x12,0x02,0x29,0x5a,0xe2,0x25,0xd8,0xb9,0x3f,0xa7,0x11,0xe4,0x27,0x38,0x33,0xa1,0x60,0x58,0xd3,0x22,0x60,0x4d,0xd2,0xed,0x74,0x3a,0x39,0x6b,0x94,0x5e,0x01,0x95,0xda,0x4d,0x5a,0x6b,0xb5,0x2b,0xc9,0xa9,0xc8,0x9b,0x4d,0x9c,0xd8,0xbe,0xc4,0x6a,0xd8,0xab,0x7c,0x3c,0x59,0xb5,0x9a,0xb8,0x2d,0x60,0xeb,0xce,0x59,0x26,0x19,0xfe,0xef,0x10,0x68,0xd0,0xfc,0x5b,0xae,0x5a,0xa7,0x56,0x7c,0xcb,0x55,0x34,0x73,0x59,0xbf,0x08,0x3a,0xdb,0x98,0x5a,0xd7,0xf7,0x8b,0xea,0xc3,0xd5,0x36,0x56,0xf5,0x5a,0x8d,0xba,0xdf,0xe8,0x6e,0x35,0xac,0xda,0x81,0xd5,0xd0,0xe2,0xa0,0x9b,0x6c,0x58,0x6b,0x91,0x14,0xae,0xe9,0x74,0x29,0x35,0x1d,0x06,0xf5,0xe5,0x0e,0x3b,0x9b,0x9c,0x4b,0xf8,0xf4,0xe3,0xfc,0xaa,0x58,0x5a,0x1f,0x0a,0xe8,0x2f,0x72,0xba,0xcc,0x7f,0x46,0xb6,0xb8,0x40,0xe6,0xf7,0xcd,0xea,0xaf,0xca,0x6d,0xf9,0x3f,0xc3,0xfc,0x0f,0xfe,0x94,0x14,0x0b,0x26,0x33,0x00,0x00}; +const unsigned char index_html[0xbc3] = {0x1f,0x8b,0x08,0x00,0xf4,0x49,0x9f,0x5d,0x02,0xff,0xed,0x5a,0x49,0x6f,0xe3,0x46,0x16,0xbe,0x07,0xc8,0x7f,0xa8,0xae,0x46,0x22,0x19,0x5a,0x28,0xa9,0xb7,0x8c,0x2c,0x39,0xe8,0x38,0x8d,0xc4,0x93,0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,0x7e,0x3e,0x8f,0x92,0xce,0x34,0xe5,0x3c,0x5d,0x0c,0xfb,0xbd,0xec,0x72,0x77,0x9a,0xe6,0x21,0xcb,0x87,0x0f,0x7b,0xbd,0x1e,0x29,0xd2,0x38,0x0a,0x49,0x1f,0x46,0x6f,0x24,0x63,0x94,0x64,0x4b,0xde,0x2e,0x58,0xcc,0x02,0xde,0x9e,0x2e,0x81,0x2b,0xb9,0xce,0xfc,0x30,0x8c,0x92,0xf9,0xf0,0x09,0x32,0xfb,0xc1,0xf9,0x3c,0x4f,0x97,0x49,0x38,0x5c,0x9d,0x45,0x9c,0x19,0x69,0xcf,0x9e,0x3d,0x5b,0x97,0xa6,0x04,0x58,0x4c,0x49,0x9a,0x18,0x1e,0x20,0x24,0x25,0x9f,0xcb,0x33,0x0c,0xa3,0x02,0xcd,0x13,0x2a,0x2c,0xe5,0xb3,0x40,0x68,0x1e,0x6d,0xd9,0x0f,0xa7,0x33,0xfc,0xd3,0x82,0x78,0xe8,0x20,0x57,0xa3,0xdd,0x22,0x0d,0xce,0x19,0x57,0x0b,0xed,0x2e,0xd2,0x90,0xc9,0xdf,0xda,0x54,0x79,0x34,0x3f,0xe3,0xc3,0xce,0x63,0x9b,0x65,0x39,0x5d,0x44,0xdc,0x91,0xa6,0x88,0x79,0x9a,0xb9,0xc2,0x97,0x41,0xc0,0x8a,0xe2,0x3a,0x48,0xe3,0x14,0x8c,0xf2,0xe4,0xa3,0x30,0x78,0x12,0x98,0x59,0x96,0xe7,0x69,0xae,0xe7,0x66,0xb3,0x41,0x38,0x30,0xab,0xee,0x46,0xc9,0x2c,0xd5,0x53,0xec,0x59,0xaf,0xc7,0x7c,0x33,0x95,0x30,0xbe,0x4a,0xf3,0x73,0x12,0x46,0x17,0xb5,0x2b,0x02,0x7f,0x4c,0xc0,0x44,0x1b,0xe7,0xc5,0x8a,0xae,0xd1,0x45,0x3a,0x7e,0x1c,0xcd,0x93,0xa1,0x18,0x30,0xd3,0x71,0x94,0xb0,0xeb,0x33,0x26,0x96,0xfd,0x3b,0xe3,0x1f,0xc6,0x65,0x60,0x93,0xe4,0xbe,0x3e,0x0c,0x19,0xfe,0x69,0xbe,0x87,0x59,0xba,0x62,0xf9,0x04,0x95,0x5a,0xc6,0xb0,0x3c,0xac,0x13,0xb3,0x19,0xb7,0xf9,0xc1,0xe1,0x36,0x0b,0xc7,0x49,0x57,0xb2,0x8d,0xab,0xdf,0x43,0xb9,0x59,0x5a,0x40,0x74,0x81,0x73,0xe4,0x2c,0xf6,0x79,0x74,0xc1,0x76,0xd3,0x0b,0x96,0xcf,0xe2,0x74,0x35,0x2c,0x82,0x3c,0x8d,0x63,0x7b,0x5b,0x3a,0x92,0x47,0xaf,0x52,0xca,0xcc,0x72,0x76,0x6d,0xa4,0xf8,0x53,0xd0,0xbd,0x14,0x3e,0x2c,0xd0,0xf4,0x76,0x41,0x94,0xcf,0x87,0x88,0x7b,0x57,0x29,0x7e,0xf6,0x14,0x64,0x88,0xd0,0x1e,0xf6,0xee,0xb0,0x2e,0xe9,0x3c,0xf5,0xcb,0x52,0x10,0xa6,0x57,0xf6,0x56,0x04,0x90,0x48,0x58,0xbe,0x46,0x42,0x7c,0x49,0x14,0xb2,0x20,0xcd,0x7d,0x81,0x56,0x44,0x8e,0xa2,0x1b,0x79,0x22,0xf8,0x31,0xcf,0x79,0x2a,0xd1,0x8d,0xa6,0x69,0x78,0x85,0xdf,0x3a,0xf4,0x49,0x10,0xfb,0x45,0x31,0xa6,0xd2,0xdf,0x4d,0x52,0x89,0xd9,0x9c,0x25,0xe1,0xde,0x31,0x2a,0x22,0xfb,0x90,0xc9,0xd0,0x6e,0x23,0x4f,0x0d,0xeb,0xcc,0x83,0xb1,0x45,0xa2,0x50,0x73,0x4f,0xf8,0x54,0x0b,0x90,0xf3,0xb9,0xf5,0x24,0x47,0xc2,0xca,0x88,0x18,0x15,0x81,0xa5,0x52,0x54,0x70,0xc6,0x82,0xf3,0x69,0x7a,0x49,0x2d,0xb9,0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,0x52,0x02,0x3e,0x87,0xb3,0x3b,0xcb,0x9b,0x74,0xdf,0xbe,0x8f,0x6c,0x13,0xea,0x67,0x19,0xc4,0x9f,0x38,0xf7,0x7b,0x97,0x9d,0xd5,0x6a,0xd5,0x81,0xd4,0xb0,0xe8,0x80,0x48,0x96,0x04,0x90,0x1f,0x42,0xba,0xae,0x39,0xc9,0x41,0xd8,0x15,0x46,0x1e,0x93,0x79,0x07,0x20,0x9b,0x25,0x37,0xcd,0xa2,0xc4,0x25,0xdf,0x8c,0x34,0x0d,0xa3,0x60,0xc3,0x38,0x02,0x86,0x31,0x79,0xec,0x10,0xae,0x11,0xcb,0xc0,0x46,0xc2,0x41,0xaf,0xb7,0x46,0x8a,0x1f,0x63,0x52,0x5b,0x43,0x91,0xc1,0x30,0x3b,0x85,0x5d,0x81,0x87,0x2c,0xf6,0x03,0xd6,0xf4,0x1a,0xde,0xbc,0x4d,0x1a,0xb4,0xb1,0xa3,0x97,0xa2,0x3f,0x37,0xee,0x23,0x8b,0x0b,0x56,0xa7,0xc8,0x8f,0x59,0xce,0x9b,0x14,0x37,0x93,0x88,0x8b,0xb5,0x21,0xa1,0xa4,0x45,0x2a,0x50,0xb7,0x08,0x57,0x3f,0x6f,0x14,0x05,0xae,0x13,0xb7,0x9f,0x3c,0x80,0xad,0x5e,0xc6,0x31,0xf9,0xf0,0x43,0xe1,0x14,0xb8,0x58,0x7a,0x7c,0x74,0x72,0x4a,0x9d,0xf5,0x5a,0xbb,0x99,0x84,0x82,0x51,0xab,0xba,0x59,0x83,0xec,0xd2,0x1a,0xba,0xf7,0xdf,0xbb,0xb1,0xbc,0x12,0xfd,0xea,0x33,0x38,0x0d,0xb9,0x8e,0x69,0x74,0xd6,0x3a,0x2d,0xfd,0xec,0xc5,0x29,0xf8,0x0b,0xc2,0x45,0xa9,0x55,0x71,0xc7,0x69,0xc1,0xd7,0x78,0x1c,0x17,0xaf,0x97,0x2a,0x56,0xab,0x28,0xa5,0xd8,0xf7,0xdf,0xc3,0x60,0x30,0x15,0x02,0x3c,0x80,0x84,0x69,0xb0,0x5c,0x80,0xd3,0x76,0x21,0x3c,0x5f,0xc4,0x0c,0x7f,0x16,0x9f,0x5c,0xed,0x63,0xc4,0xbf,0x84,0x2a,0xd8,0xb4,0xea,0x09,0x0a,0x41,0x7e,0xcc,0x2b,0x13,0x2c,0x02,0x77,0xe3,0xd7,0x45,0x44,0xf0,0x2b,0x04,0xfa,0x3a,0xaa,0x5e,0xc0,0x27,0x57,0x07,0x61,0xd3,0xba,0xb3,0xd2,0x8a,0xf5,0xf1,0x19,0xf5,0x9a,0x59,0x57,0xf1,0xa9,0x3f,0x97,0x6a,0x45,0x81,0xb7,0x54,0x96,0xa7,0x8a,0x6d,0x3a,0xad,0xb3,0x47,0xc9,0x2a,0xdb,0x5a,0xb0,0x40,0xb2,0x8d,0x55,0x35,0xbf,0x1a,0x2b,0x36,0x96,0x93,0x22,0xe6,0xdb,0x58,0x44,0xf7,0xee,0x30,0x60,0xee,0xdb,0x66,0x12,0xec,0x56,0x35,0x03,0x36,0x81,0xb7,0x31,0x88,0x46,0x51,0x33,0x60,0x4b,0x32,0xc9,0xc3,0xfe,0x36,0x06,0xd9,0x3b,0x55,0x38,0x06,0xb7,0x71,0x0c,0x2c,0x6b,0x09,0xef,0x88,0xb2,0x6d,0x2c,0x51,0xe6,0xfa,0x12,0x96,0xc5,0xad,0x2a,0xb0,0x6c,0x3a,0x1c,0xaa,0xa0,0x6d,0x63,0xd2,0x35,0xaf,0x44,0x26,0x5e,0x12,0x8c,0x49,0xa7,0xaf,0x24,0xf9,0xd9,0x04,0x1b,0x3d,0x18,0xa2,0xb4,0x1c,0x42,0x93,0xd9,0x43,0xe8,0xbf,0x10,0x89,0x6b,0xa4,0x7a,0xdc,0xa6,0xd7,0xc1,0x4f,0x3d,0xe9,0xf5,0x10,0x7d,0x65,0xee,0xce,0x99,0x89,0x57,0xcf,0xcb,0x85,0xac,0xeb,0x86,0x74,0xe3,0xa2,0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x76,0x41,0x24,0x88,0xbb,0xb8,0xaf,0xf1,0xed,0x47,0x58,0xf6,0x2e,0xa6,0xa6,0x51,0x4f,0xc8,0xdb,0x14,0x25,0xda,0x35,0x35,0x8e,0x5a,0xdf,0xc5,0x8f,0x8d,0x4a,0xfc,0xee,0xe2,0xef,0x96,0x40,0x68,0x0b,0xc2,0x77,0xc2,0x3a,0x54,0xf5,0x78,0x9d,0x2b,0x4b,0x19,0xe2,0xdf,0x62,0xa3,0x33,0xe3,0x47,0x08,0x6c,0x81,0x44,0xeb,0x84,0xd6,0x30,0x17,0x53,0x0d,0x75,0x31,0xd5,0x50,0x17,0x53,0xb4,0x65,0x0b,0x06,0x5f,0x6f,0x51,0x7d,0x53,0x85,0x53,0xd2,0x8a,0x62,0xac,0xa1,0xee,0xac,0x68,0xa5,0xed,0x31,0xa6,0x6e,0x29,0x5b,0xd7,0xf4,0x43,0xd8,0x00,0xd5,0x2c,0x00,0xfb,0xa1,0xf5,0x56,0xaf,0xac,0x77,0x96,0x9b,0x80,0x70,0x5c,0xd8,0xee,0x46,0x52,0xf9,0x96,0xee,0x34,0x6d,0xae,0x8d,0xbd,0x12,0x6f,0xcf,0x41,0x51,0x3d,0x36,0xcf,0xfb,0xe5,0x3f,0xff,0x78,0xfd,0x97,0x9f,0x5f,0xff,0xf9,0xdf,0xbf,0xfc,0xf3,0x4f,0xaf,0xff,0xfe,0xd7,0x72,0x6a,0x15,0x25,0x61,0xba,0xc2,0xa6,0xfa,0x34,0x5a,0xb0,0x74,0xc9,0x9b,0xae,0xfb,0xb4,0xc9,0xa3,0x5e,0xcf,0xc8,0xbd,0x69,0x97,0x9b,0xde,0xe5,0xe9,0x09,0xcf,0xa3,0x64,0xde,0xdc,0x51,0x6d,0x4e,0xd5,0xf1,0x76,0x9d,0x73,0xc3,0x09,0xe3,0x47,0x5f,0x34,0x23,0x63,0x8b,0xb2,0x1d,0xc2,0xb4,0xa4,0xdf,0x48,0x63,0xdb,0xed,0x43,0x03,0xa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x6c,0x23,0x92,0xca,0xf5,0xb5,0x29,0xa5,0xb6,0xc3,0xa8,0x53,0xd2,0xdd,0x9c,0x4b,0xfa,0xf4,0xdd,0xfc,0xaa,0x5a,0x5a,0x6f,0x0b,0xe8,0x37,0x72,0xba,0xd2,0x7f,0x46,0x9e,0x7c,0xb1,0x22,0x5e,0xfa,0xe8,0xff,0x78,0xe8,0xa9,0xff,0x7a,0xfd,0x3f,0x99,0x4d,0x90,0x5b,0x94,0x2d,0x00,0x00}; diff --git a/TC1/main.c b/TC1/main.c index 6f536bf..1891560 100644 --- a/TC1/main.c +++ b/TC1/main.c @@ -161,7 +161,7 @@ int application_start(void) //发送功率数据 if (power_last != power || main_num > 4) { - SetPowerRecord(&power_record, power); + //SetPowerRecord(&power_record, power); power_last = power; main_num =0; sprintf(power_buf, "{\"mac\":\"%s\",\"power\":\"%u.%u\",\"total_time\":%u}", diff --git a/TC1/user_power.c b/TC1/user_power.c index 1d5d815..1f0bab8 100644 --- a/TC1/user_power.c +++ b/TC1/user_power.c @@ -10,7 +10,17 @@ mico_timer_t power_timer; -PowerRecord power_record = { 44, { 50,55,60,65,70,75,80,85,90,95,90,85,80,75,70,65,60,65,70,75,80,85,90,95,90,85,80,75,70,65,60,65,70,75,80,85,90,95,90,85,80,75,70,65,60 } }; +PowerRecord power_record = { 44, { + 0,1,2,3,4,5,6,7,8,9, + 10,11,12,13,14,15,16,17,18,19, + 20,21,22,23,24,25,26,27,28,29, + 30,31,32,33,34,35,36,37,38,39, + 40,41,42,43,44,45,46,47,48,49, + 50,51,52,53,54,55,56,57,58,59, + 60,61,62,63,64,65,66,67,68,69, + 70,71,72,73,74,75,76,77,78,79, + 80,81,82,83,84,85,86,87,88,89, + 90,91,92,93,94,95,96,97,98,99 } }; static uint32_t clock_count_last = 0; static uint32_t clock_count = 0; @@ -26,13 +36,13 @@ void SetPowerRecord(PowerRecord* pr, uint32_t pw) char* GetPowerRecord(int idx) { - if (idx > power_record.idx) return NULL; + if (idx > power_record.idx) return ""; int i = idx > 0 ? idx : (power_record.idx - PW_NUM - 1); char* tmp = power_record_str; for (; i <= power_record.idx; i++) { - sprintf(tmp, "%d,", power_record.powers[i%PW_NUM]); + sprintf(tmp, "%u,", (unsigned int)power_record.powers[i%PW_NUM]); tmp += strlen(tmp); } *(--tmp) = 0;