Thanks for the reply Aleks...Could you please either post or email me an
example?


Aleksandar Lazic-10 wrote:
> 
> On Fre 22.10.2010 06:15, newToMina wrote:
>>
>>Aleks, Coud you please explain a little more?
> 
> Well the data which I got from the serial was like this.
> 
> <STX><FIXED_PROTOCOL_DATA><ETX>
> 
> and the serial to ip converter does not give me the <STX> and <ETX> from
> the line, or maybe I have the option not found in the web gui of the
> moxa device.
> 
> I have read 
> 
> http://mina.apache.org/serial-tutorial.html
> 
> and used 
> 
> org.apache.mina.transport.serial.*
> 
> with a own protcol decoder wich checks the incomming data against the
> 
> <STX><FIXED_PROTOCOL_DATA><ETX>
> 
> Message pattern and delivers the <FIXED_PROTOCOL_DATA> to my handler.
> 
> BR
> 
> Aleks
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Serial-communication---RS-232-parsing-tp29995430p30034075.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

Reply via email to