Open rafik73github opened 8 years ago
Hi.. "//" use this before Serial.print("create tcp ok\r\n"); and Serial.print("setup begin\r\n"); Serial.print("create tcp ok\r\n");
continues to be displayed:
TTP/1.1 200 OK
Content-Length: 32
Content-Type: application/json
Server: Microsoft-HTTPAPI/2.0
Access-Control-Allow-Origin: *
Date: Sat, 23 Jul 2016 05:16:56 GMT
{"lowVersion":1,"highVersion":4}
but I need only:
{"lowVersion":1,"highVersion":4}
You may need to modify the function recvPkg ?
its reply your connection done and send data or recived.
char json[len];
Serial.print(json);
Serial.print("blad JSON");
I think" Serial.print("blad JSON"); " use // before this and check....
chinmoyrick, i don't undestand the change. u can explain some more?
you can use strimg.index of and Strig.substring functios to identify and select rhe only part of the replay you need to display/use
Hello Please help. I modified your code:
monitor serial displays:
I want to display only:
{"lowVersion":1,"highVersion":4}
I need to read JSON.