aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/ChecksumTest.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-13Replace MODULO256 checksum method.Ivan Muratov
Added covering tests.
2016-12-29Finish Smokey protocol implementationAnton Tananaev
2016-05-04Explicitly use ASCII charsetAnton Tananaev
2015-10-06Clean up CRC-16 implementationsAnton Tananaev
2015-10-06Rename some of checksum methodsAnton Tananaev
2015-10-06Implement Cityeasy protocol commandsAnton Tananaev