aboutsummaryrefslogtreecommitdiff
path: root/src/org
AgeCommit message (Collapse)Author
2017-10-24Arnavi4 frame decoder's code reorganization based on traccar maintainer ↵Ivan Muratov
comments.
2017-07-17Fix build issues.Ivan Muratov
2017-07-17Refactoring of the ARNAVI4 protocol decoder.Ivan Muratov
2017-07-17Rewrite the code of frame decoder.Ivan Muratov
Added tests with invalid packets.
2017-07-14Fix build issues.Ivan Muratov
[ERROR] src/org/traccar/protocol/Arnavi4ProtocolDecoder.java:[36,15] (imports) UnusedImports: Unused import - org.traccar.protocol.Arnavi4FrameDecoder.PACKAGE_START_SIGN. [ERROR] src/org/traccar/protocol/Arnavi4ProtocolDecoder.java:[37,15] (imports) UnusedImports: Unused import - org.traccar.protocol.Arnavi4FrameDecoder.PACKAGE_END_SIGN.
2017-07-14Upgrade the frame decoder and remove unnecessary check for the last end sign ↵Ivan Muratov
byte in protocol decoder. Protocol decoder read the buffer until its over, because frame decoder garantee the correct package length. Added additional tests for frame decoding.
2017-07-14Split responses to separate methods.Ivan Muratov
Optimize math operations with course and altitude. Remove unnecessary check for package first byte. Remove exception throwing. Store speed in knots, but not in km/h.
2017-07-14Add reading bytes from buffer for non-data packages.Ivan Muratov
2017-07-14Change signed byte to unsidned for tag value of movement speed.Ivan Muratov
2017-07-14Fix build issues.Ivan Muratov
[ERROR] src/org/traccar/protocol/Arnavi4ProtocolDecoder.java:[81] (sizes) LineLength: Line is longer than 120 characters (found 121).
2017-07-14Switch from the unnecessary creating the byte array to direct working with ↵Ivan Muratov
origin buffer. Remove tag value parsing inside case block.
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-13Fix build issues.Ivan Muratov
[ERROR] src/org/traccar/protocol/Arnavi4FrameDecoder.java:[13,49] (whitespace) WhitespaceAfter: 'typecast' is not followed by whitespace. [ERROR] src/org/traccar/protocol/Arnavi4ProtocolDecoder.java:[18] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - org.traccar.protocol.Arnavi4FrameDecoder.*. [ERROR] src/org/traccar/protocol/Arnavi4ProtocolDecoder.java:[102] (sizes) LineLength: Line is longer than 120 characters (found 125). [ERROR] src/org/traccar/protocol/Arnavi4ProtocolDecoder.java:[135,41] (blocks) AvoidNestedBlocks: Avoid nested blocks.
2017-07-13Replace MODULO256 checksum method.Ivan Muratov
Added covering tests.
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.
2017-07-11Support Gelileo command responseAnton Tananaev
2017-07-11Fix Galileo command encoderAnton Tananaev
2017-07-09Enable status events by default (fix #3324)Anton Tananaev
2017-07-09Implement GalileoSky protocol commandsAnton Tananaev
2017-07-09Fix code style issueAnton Tananaev
2017-07-09Check if fuel drop threshold is setAnton Tananaev
2017-07-09Decode AZ735 protocol statusAnton Tananaev
2017-07-08Add more integration testsAnton Tananaev
2017-07-08Fix code check issuesAnton Tananaev
2017-07-05Implement simple cachingAnton Tananaev
2017-07-05Add new attribute keys (fix #3313)Anton Tananaev
2017-07-04Decode AZ735 command resultsAnton Tananaev
2017-07-02Merge pull request #3309 from ckrey/api-get-deviceAnton Tananaev
[NEW] add GET device to API for external monitoring
2017-07-02[FIX] permission check before getting device, eleminate unnecessary variable.Christoph Krey
2017-07-01[FIX] get devices with IDs works like PositionResourceChristoph Krey
2017-06-30[NEW] add GET device to API for external monitoringChristoph Krey
2017-06-30Merge pull request #3306 from ckrey/Aplicom-fixAnton Tananaev
Ignore Aplicom Alive messages
2017-06-30[FIX] use readable() instead of testing readableBytes()Christoph Krey
2017-06-29[FIX] Aplicom protocol does not ignore Alive messages #3305Christoph Krey
2017-06-28Fix user pemissions issue (fix #3302)Anton Tananaev
2017-06-27Add more alarms for TK103 protocolAnton Tananaev
2017-06-27Support AZ735 GT06 protocol variantAnton Tananaev
2017-06-27Fix X1 GT06 photo decodingAnton Tananaev
2017-06-26Add support for X1 GT06 photosAnton Tananaev
2017-06-26Merge pull request #3293 from Abyss777/smpp_reconnectionAnton Tananaev
Fix SMPP reconnection on enquire link failed
2017-06-26Fix reconnection on enquire link failedAbyss777
2017-06-26Support X1 GT06 variantAnton Tananaev
2017-06-26Support watch audio fileAnton Tananaev
2017-06-26Decode Atrack INFO messagesAnton Tananaev
2017-06-25Consider attributes in duplicate filter (fix #3285)Anton Tananaev
2017-06-25Merge pull request #3286 from ckrey/tk013-commandsAnton Tananaev
Tk103 commands
2017-06-25style fixesChristoph Krey
2017-06-25Correctly decode Meitrack temperature (fix #3287)Anton Tananaev
2017-06-24add TYPE_POSITION_PERIODIC, TYPE_POSITION_STOP, TYPE_GET_VERSION, ↵Christoph Krey
TYPE_REBOOT_DEVICE, and TYPE_SET_ODOMETER to Tk103 protocol