From f5e305c4ea89210a2e4daffa4e947acdc440fbe7 Mon Sep 17 00:00:00 2001 From: williamchitto Date: Tue, 31 Jul 2012 08:08:53 -0300 Subject: adicionando classes de testes --- src/org/traccar/protocol/ST210ProtocolDecoder.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/org/traccar/protocol') 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); } -- cgit v1.2.3