[uClinux-dev] Controlling DTR

WHarms at bfs.de WHarms at bfs.de
Thu Nov 29 10:00:13 EST 2001





what you are looking for ictl().
and flags like  TIOCM_CAR,TIOCM_RTS,TIOCM_RNG,
TIOCMBIS

there is sjinn project that have nice examples.

	walter

- - - - - - - - - - - - - - Original Message - - - - - - - - - - - - - -
From: Rob Norman <rjnorman at pacbell.net>
Subject: [uClinux-dev] Controlling DTR
Date: 11/28/01 17:22

Hi.

I'm talking to a wireless modem that requires DTR and I'm  feeling a bit stuck being new to Linux and not familiar with serial control protocols.  I've got code that talks to the serial ports of my uCdimm but cannot figure out how to control the DTR  which is sitting at ground.  I've looked at code examples in minicom but can't decipher  what options are appropriate to my module.  I'm on a tight schedule and would appreciate some help here.

I'm using system IO to talk to the modem --- open, read write.  Is there a better way to access my modem?

Thanks in advance

Robert Norman
 www.acpropulsion.com


This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list