Subject: sending ascii to comm port
To: None <netbsd-help@NetBSD.org>
From: Tomas D <u0giene@yahoo.com>
List: netbsd-help
Date: 05/31/2006 07:05:44
Dear all,
Can anyone help me simulate following(TX:) on my comm port?

CONFIG: 9600,N,8,1
  DATE: 30/05/2006  TIME: 15:43:56
------------------------------------------------
TX:[EOT][CR]
TX:[NUL][NUL]
RX:[CR][ESC][EOT][CR]
TX:[CR]
RX:ID=
TX:[ESC]PG1[CR]
RX:[CR][ACK][CR][ESC][p[CR]
TX:[STX]182[CR]TEST MESSAGE[CR][ETX]41?[CR]
TX:[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]
RX:[CR][ACK][CR]
[END CAPTURE] DATE: 30/05/2006  TIME: 15:44:50
------------------------------------------------

This was comm port dump when sending a message "TEST MESSAGE" to pager# 182 using TAP protocol
connnecting 9600,N,8,1 to ascom paging system with native ascom software.

I've looked up these symbols on ascii table and got all HEX values etc. I wonder if it's possible
instead of converting all that to HEX and type this way just type in something before each symbol
so it gets recognised?

Any help will be much appreciated!

best regards
Tomas

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com