aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GoSafeProtocolDecoder.java
diff options
context:
space:
mode:
authorSatish K. Pagare <spagare@silver.(none)>2015-08-02 08:58:37 +0530
committerSatish K. Pagare <spagare@silver.(none)>2015-08-02 08:58:37 +0530
commitca8117866731b8f2a776dcf516e76447f63a8e7f (patch)
tree5871366539441e6458ae52dbfefd2d033d97fa4b /src/org/traccar/protocol/GoSafeProtocolDecoder.java
parenta7a7926d8e64787fce047c7a82c394892a5266be (diff)
parent6f47747e6a438037392794f72ac91dbce6cc6683 (diff)
downloadtrackermap-server-ca8117866731b8f2a776dcf516e76447f63a8e7f.tar.gz
trackermap-server-ca8117866731b8f2a776dcf516e76447f63a8e7f.tar.bz2
trackermap-server-ca8117866731b8f2a776dcf516e76447f63a8e7f.zip
Merge branch 'master' of ssh://github.com/tananaev/traccar
Diffstat (limited to 'src/org/traccar/protocol/GoSafeProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/GoSafeProtocolDecoder.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/GoSafeProtocolDecoder.java b/src/org/traccar/protocol/GoSafeProtocolDecoder.java
index 758d9a71d..843671440 100644
--- a/src/org/traccar/protocol/GoSafeProtocolDecoder.java
+++ b/src/org/traccar/protocol/GoSafeProtocolDecoder.java
@@ -53,6 +53,10 @@ public class GoSafeProtocolDecoder extends BaseProtocolDecoder {
throws Exception {
String sentence = (String) msg;
+
+ if (channel != null) {
+ channel.write("1234");
+ }
// Parse message
Matcher parser = pattern.matcher(sentence);