Serial Port Close/Reopen
Serial Port Close/Reopen
- Subject: Serial Port Close/Reopen
- From: "Timothy Desrochers" <email@hidden>
- Date: Thu, 30 Jun 2005 08:03:31 -0700
- Importance: Normal
Title: Message
I am using posix
open/close read/write on a bluetooth device that creates a serial port. When my
App quits, it closes the port (performing a drain first). If I re-launch my App
within about 15 seconds, the open fails with the error "Device Busy". If I wait
more than 15 seconds, then launch, everything is fine.
Is there anything in
the MacOS bluetooth stack that holds onto the port after I close it? I have no
pending I/O to the port when I close it. Is it likely that the device is holding
onto the connection?
Timothy Desrochers
Software Development
Manager
PASCO scientific
(916) 786-3800 x323
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden