Issuing the Standard HTTP Command
https://api.particle.io/v1/devices/xxx/WFanData?access_token=xxx
I’m suddenly getting Two different responses from my devices.
One unit responds with {“cmd”:“VarReturn”,“name”:“ContRoom”,“error”:null,“result”:“68,67,73,40,74,43,77,45,1”,“coreInfo”:{“last_app”:"",“last_heard”:“2017-03-20T02:56:16.687Z”,“connected”:true,“last_handshake_at”:“2017-03-18T11:45:01.799Z”,“deviceID”:“xxx”,“product_id”:6}}
The Others Respond with:{“cmd”:“VarReturn”,“name”:“WFanData”,“result”:“1,0,0,38,”,“coreInfo”:{“last_app”:"",“last_heard”:“2017-03-20T02:49:47.376Z”,“connected”:true,“last_handshake_at”:“2017-03-19T04:21:40.127Z”,“deviceID”:“xxx”,“product_id”:6}}
The main difference being the “error”:null
I’m parsing the string via char count, so when that changes it breaks my app.
I don’t understand why it suddenly changed on some of my devices but not all?
I’m also wondering if this is why my app will randomly fail to get data when I ask.
Any insight would be great, Thanks in advance…
~Steve~