java - Is it possible to write to a serial port without device connected to it? -


i have installed java rxtx library communicate serial port. have connected eftpos terminal serial port now. want check if writing happening onto port. if use test program given rxtx couldn right. possible write serial port without connecting devices port ? , how can watch packets written on serial port ? please me solve isssue!!

it depends on software whether transmit without being connected serial port.

some software check if signal line (dtr? can't remember one) being driven high, other software transmit in dumb fashion , not matter if connected, there may protocol error checking ensure being received same sent. basic transmission integrity checking can carried out receiver echoing transmitted character.

it possible buy intelligent breakout boxes serial ports, display whatever sent out. alternative use null modem cable , connect pc running terminal program. both methods display characters, 'packets' sent out proprietory protocol mentioned above.


Comments