Status field is device specific. You need to check device protocol documentation.
in this case, you say in the GT06 documentation I will find the meaning of the status codes? or in gps device documentation?
You should be able to find status description in the protocol documentation for your device.
Using a gps103, I cannot seem to find current status information. When connecting I would like to find out (via gprs) if:
This would allow to set a device to a certain configuration if it is not and allow to see if those changes actually took place. I don't get a confirmation when using the commands directly or via API, if the parameter worked.
Example:
Sending (turn off Engine):
To: <External IP address>:8082/api/commands/send
Command: { "deviceId": 2, "type": "custom", "textChannel": false, "attributes": { "data": "J" } }
I receive: {"id":0,"attributes":{"data":"J"},"deviceId":2,"type":"custom","textChannel":false,"description":null}
that's not a blind copy of the parameters I sent, but the two additional parameters appear that could be defaults set prior to sending (id:0, description:null) and provide no add'l information.
When I attempt the same via the server/html interface I see the same going away:
**imei:864895030087777,J
and receive:
imei:864895030087777, tracker, 180719150140,,F,070140.00,A,4815.32566,N,01624.51739,E,,;
followed by
imei:864895030087777, jt, 180719150142,,F,070142.00,A,4815.32566,N,01624.51739,E,,;
where 'jt' reply may mean 'okay'?
In any case, I cannot seem to find a way to retrieve that status of
Can someone tell me how I can find out if a command succeeded and if and how I can query for those three parameters?
I don't find a positions table and what I receive is:{ "position": { "id":41369, "attributes": { "distance":188.29, "totalDistance":2100.45, "motion":false }, "deviceId":2, "type":null, "protocol":"gps103", "serverTime":"2018-07-21T16:39:22.241+0000","deviceTime":"2018-07-21T16:39:21.000+0000","fixTime":"2018-07-21T16:39:21.000+0000", "outdated":false, "valid":true, "latitude":48.255460666666664,"longitude":16.408733666666667,"altitude":0, "speed":0, "course":0, "address":"3 Andreas-Hofer-Straße, Wien, Wien, AT", "accuracy":0, "network":null}, "device":{"id":2, "attributes":{}, "groupId":0, "name":"guenter strubinsky", "uniqueId":"864895030087777", "status":"online", "lastUpdate":"2018-07-21T16:39:22.241+0000", "positionId":41333, "geofenceIds":[], "phone":"14112862", "model":"gps103", "contact":"contact me", "category":"arrow", "disabled":false } }
None of those other than direction and speed offer status of the vehicle information (as mentioned above).
I don't mind squeezing it manually out of the binary data if it exists. The gps103b is a surprisingly powerful device and I cannot imagine that there is no way to retrieve the above information. Neither can I believe that I am the first one who needs that info. I found several answers to other devices but since the 103 is often used (as I see from other questions) I would hope that someone knows an answer and may even share it with us.
guenter
Please provide corresponding message from the device and show where the status information is.
I did not understand what is meaning of "Status field is device specific." I could not find. Can you provide the link please?
You need to ask your device vendor for documentation.
hello, exist some documentation about of status meaning in position table for field attributes?
For example in my positions table i have this:
{"sat":11,"status":80,"ignition":false,"charge":false,"blocked":false,"alarm":"geofenceEnter","battery":102,"rssi":6,"distance":0.99,"totalDistance":910212.35,"motion":false}
I looking for sos alarm and cut power status, but i don't know what's meaning status 80
i using GT06 protocol
Thank you