aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/ST210ProtocolDecoder.java
diff options
context:
space:
mode:
authorwilliamchitto <williamchitto@gmail.com>2012-07-31 08:08:53 -0300
committerwilliamchitto <williamchitto@gmail.com>2012-07-31 08:08:53 -0300
commitf5e305c4ea89210a2e4daffa4e947acdc440fbe7 (patch)
treeebc542944483e95c9b7374217690fc7bba38ff33 /src/org/traccar/protocol/ST210ProtocolDecoder.java
parentd9c99fafa2e4d581f473029144aec495cb94bb62 (diff)
downloadtrackermap-server-f5e305c4ea89210a2e4daffa4e947acdc440fbe7.tar.gz
trackermap-server-f5e305c4ea89210a2e4daffa4e947acdc440fbe7.tar.bz2
trackermap-server-f5e305c4ea89210a2e4daffa4e947acdc440fbe7.zip
adicionando classes de testes
Diffstat (limited to 'src/org/traccar/protocol/ST210ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/ST210ProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/ST210ProtocolDecoder.java b/src/org/traccar/protocol/ST210ProtocolDecoder.java
index eeedccf69..8fbea8da5 100644
--- a/src/org/traccar/protocol/ST210ProtocolDecoder.java
+++ b/src/org/traccar/protocol/ST210ProtocolDecoder.java
@@ -596,6 +596,9 @@ public class ST210ProtocolDecoder extends GenericProtocolDecoder {
@Override
public Object decode(ChannelHandlerContext ctx, Channel channel, Object msg)
throws Exception {
+ if (channel != null) {
+ channel.write("OI AMIGO do decoder");
+ }
String sentence = (String) msg;
return decodeMsg(sentence);
}