diff options
author | l-e-o-n-c-e <38976766+l-e-o-n-c-e@users.noreply.github.com> | 2021-06-17 13:51:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 13:51:04 +0200 |
commit | 1889e442d55a659746d163558a33684f952bfa94 (patch) | |
tree | 449c01975a1cbf2e291cd41a9445f987c334b15d /src/main/java/org/traccar/protocol/XexunProtocol.java | |
parent | 467c46ca1c35c7daa2c127ee758e378f151171a0 (diff) | |
download | trackermap-server-1889e442d55a659746d163558a33684f952bfa94.tar.gz trackermap-server-1889e442d55a659746d163558a33684f952bfa94.tar.bz2 trackermap-server-1889e442d55a659746d163558a33684f952bfa94.zip |
Take "steps" value from LK frames
"Steps" counter value is currently parsed from a complete GPS frame ony, but according to the protocol it is also transmitted in all "LK" keepalive frames, as well as the battery level.
Example :
[3G*123456789*000D*LK,1234,0,98]
means 1234 steps counted and 98% battery level.
Note : for this value to be incremented, the device should receive a 'PEDO,1' command (and 'PEDO,0' to stop the counter)
Diffstat (limited to 'src/main/java/org/traccar/protocol/XexunProtocol.java')
0 files changed, 0 insertions, 0 deletions