HTTP/1.1 200 OK
Server: nginx/1.1.19
Date: Sat, 18 Oct 2014 09:26:47 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
X-Powered-By: PHP/5.3.10-1ubuntu3.6
Set-Cookie: CAKEPHP=eqh2a2bfcm3ght14kv0n6r2u51; expires=Sun, 26-Oct-2014 17:26:47 GMT; path=/
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
2d
{"timestamp":"2014-10-18T17:22:28","value":1} // value后面的1或者0,怎样把他提取出来进行判断。这是网络0 // 上返回的数据
串口不停地接收到这些数据,我该怎末处理???就是提取value后面的值?????? |
|
|