aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/AplicomProtocolDecoder.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/AplicomProtocolDecoder.java b/src/org/traccar/protocol/AplicomProtocolDecoder.java
index 54b15700a..14ab83788 100644
--- a/src/org/traccar/protocol/AplicomProtocolDecoder.java
+++ b/src/org/traccar/protocol/AplicomProtocolDecoder.java
@@ -102,6 +102,18 @@ public class AplicomProtocolDecoder extends BaseProtocolDecoder {
buf.readUnsignedInt();
buf.readUnsignedByte();
break;
+ case 119:
+ StringBuilder sb = new StringBuilder();
+ while (buf.isReadable()) {
+ char c = (char) buf.readByte();
+ if (c >= 0x20) {
+ sb.append(c);
+ } else {
+ break;
+ }
+ }
+ position.set("eventData", sb.toString());
+ break;
case 121:
case 142:
buf.readLong();