aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Arnavi4ProtocolDecoderTest.java
AgeCommit message (Collapse)Author
2017-07-14Correction based on comments.Ivan Muratov
Re-write modulo256 checksum's parameter to byte array, not varargs. Split the tests to two methods for HEADER ver1 and ver2. Remove above-class copyrights, added top-file copyrights. Rename parcelNumber to index. Rename recordStartSign to recordType. Remove crearing additional buffer for record data, use origin buffer instead. Added check on minimal length of packet to avoid the out-of-range exceptions.
2017-07-13Basic ARNAVI4 binary protocol implementation is done.Ivan Muratov
Supported 2 types of HEADER packets (v1, v2). Supported 3 types of PACKAGE DATA records: latitude, longitude and additional data (speed, satellites, altitude, course).
2017-07-11Create duplicate of ARNAVI3 protocol implementation.Ivan Muratov
Add an entry with ARNAVI4 port to the properties in default.xml.