Age | Commit message (Collapse) | Author |
|
|
|
Removed the comment as requested by Anton (but I found it useful since the status "POWER_CUT"I used could be confusing imo)
|
|
|
|
Some 2G devices send a 00004000 code when the device is removed from its charger. This is very useful as many cheap devices have a strange magnet connector which is very easy to unplug by accident. If not working, the feature might have to be activated by sending AON,1# to the device. Does NOT work on 4G devices which send a "sos" alert in that situation (00010000).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"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)
|
|
|
|
|
|
* Update WatchProtocolDecoder.java
Based on documentation for watch protocol
https://www.traccar.org/protocols/
比电协议V1.8(20160926).doc
* Update WatchProtocolDecoder.java
|
|
|
|
|
|
|