public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* TIOCMIWAIT & TIOCGICOUNT
@ 2004-08-25 16:01 Radha Thiagarajan
  2004-08-25 16:53 ` [Bluez-devel] " Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Radha Thiagarajan @ 2004-08-25 16:01 UTC (permalink / raw)
  To: marcel, bluez-devel; +Cc: William List, Radha Thiagarajan

Hi Marcel,

I am interested in implementing the two ioctls TIOCMIWAIT and TIOCGICOUNT 
for RFCOMM that mimic the serial driver behavior. Do you have any 
recommendations on how this could be done? My initial thought would be to 
put a process that calls TIOCMIWAIT to sleep and then wake it up when a 
MSC packet is received. The user could then call TIOCGICOUNT to 
retrieve which control lines have changed. Any suggestions on this topic 
would be greatly appreciated.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bluez-devel] Re: TIOCMIWAIT & TIOCGICOUNT
  2004-08-25 16:01 TIOCMIWAIT & TIOCGICOUNT Radha Thiagarajan
@ 2004-08-25 16:53 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-08-25 16:53 UTC (permalink / raw)
  To: Radha Thiagarajan; +Cc: BlueZ Mailing List, William List

Hi Radha,

> I am interested in implementing the two ioctls TIOCMIWAIT and TIOCGICOUNT 
> for RFCOMM that mimic the serial driver behavior. Do you have any 
> recommendations on how this could be done? My initial thought would be to 
> put a process that calls TIOCMIWAIT to sleep and then wake it up when a 
> MSC packet is received. The user could then call TIOCGICOUNT to 
> retrieve which control lines have changed. Any suggestions on this topic 
> would be greatly appreciated.

I never thought about it before, so come up with a patch for it and we
will see. Check first how other serial drivers implemented this.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-25 16:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-25 16:01 TIOCMIWAIT & TIOCGICOUNT Radha Thiagarajan
2004-08-25 16:53 ` [Bluez-devel] " Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox