diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/GlobalSatProtocolDecoder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java index 2c808813a..70c1dfe60 100644 --- a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java +++ b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java @@ -162,6 +162,9 @@ public class GlobalSatProtocolDecoder extends BaseProtocolDecoder { case 'K': position.setCourse(Double.valueOf(value)); break; + case 'N': + extendedInfo.set("battery", Double.valueOf(value)); + break; default: // Unsupported break; |