diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/OrbcommProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/OrbcommProtocolDecoder.java b/src/main/java/org/traccar/protocol/OrbcommProtocolDecoder.java index aff722c46..bc28498cc 100644 --- a/src/main/java/org/traccar/protocol/OrbcommProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/OrbcommProtocolDecoder.java @@ -70,7 +70,7 @@ public class OrbcommProtocolDecoder extends BaseProtocolDecoder { for (int i = 0; i < messages.size(); i++) { JsonObject message = messages.getJsonObject(i); DeviceSession deviceSession = getDeviceSession( - channel, remoteAddress, true, message.getJsonNumber("ID").toString()); + channel, remoteAddress, true, message.getString("MobileID")); if (deviceSession != null) { Position position = new Position(getProtocolName()); |