Re: Bluetooth phone dialing...
Re: Bluetooth phone dialing...
- Subject: Re: Bluetooth phone dialing...
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 8 Nov 2004 16:32:51 -0700
On Nov 8, 2004, at 4:00 PM, Yann Bizeul wrote:
I think using getDeviceClassMajor would be better, then you will be
able to get all devices that are phones, calling it with the constant
kBluetoothDeviceClassMajorPhone as argument.
OK, forgive me for asking what is possibly a dumb question, but how do
I do this with service records obtained from the device? I already know
the device is a phone; I need a service record so I can open the
appropriate RFCOMM channel. Right now I'm doing it by checking the
service record's name to see if it contains the phrase "Serial Port"
but there's got to be a better way...
I use ATD%@; placing the phone number in place of %@, which seem to
work fine.
The ; was what I was missing. Thanks.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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