Re: Serial connection with a T68i
Re: Serial connection with a T68i
- Subject: Re: Serial connection with a T68i
- From: Alberto Ricci <email@hidden>
- Date: Thu, 10 Oct 2002 00:09:40 +0200
Actually, I had the impression that Address Book.app did not open the
port in an exclusive mode, because I can use, say, ZTerm on the port
while Address Book.app is listening to incoming calls on the
bluetooth phone.
That's why I was wondering if there was a way to open multiple serial
connections with a bluetooth device...
But Eric Brown says that there is a single RFCOMM channel... so why
do I see RING messages in the ZTerm window while also getting
incoming call messages from Address Book.app?
If I look at Address Book.app's communication with my T68i by using
PacketDecoder2, I can see it actually gets incoming call
notifications through the standard AT command set and unsolicited
responses...
(by the way, where are constants such as TIOCEXCL documented?)
Thanks!
Alberto.
At 10:25 AM -0700 10/9/02, Eric Welch wrote:
Exclusive use of a Bluetooth serial port is more a POSIX issue than a
Bluetooth issue.
Consider
#include <ttycom.h>
ioctl(fd, TIOCEXCL, 0);
after you open the port. That should prevent anyone else from being able to
get it.
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.