Bluetooth phone dialing...
Bluetooth phone dialing...
- Subject: Bluetooth phone dialing...
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 8 Nov 2004 00:23:43 -0700
I searched the archives and could only find dead links to resources...
I'm trying to make a connection to a Bluetooth phone and have it place
a call to a specified number. So far I've implemented locating the
phone and opening an RFCOMM connection, but I have a few questions...
1. Is there any way to search for the appropriate service? The headers
and documentation make reference to a function called
"IOBluetoothDeviceSearchGetSDPData()" that appears to be present in the
IOBluetooth framework but is not in any of the headers. Right now I
have the program iterating through the services looking for the first
one whose name contains the string "Serial Port" but am I doing this
the right way?
2. Once I have a connection open, what command do I have to send to get
the phone to dial _and_ have the speaker & microphone fully active? I
can get the phone to place a call by using the ATDT command, but it
always returns NO CARRIER as if it was expecting to be connected to a
modem. Of course no modem is on the other side of the number I'm using
for testing. I'm using a Sony Ericsson T616, and I couldn't find any
documentation on commands for this phone model anywhere.
3. Is there any way, other than putting multiple commands into one
string, to batch AT commands to the phone? I noticed that, if I call
IOBluetoothRFCCOMMChannel's -writeSync:length: twice in a row, then the
phone only gets what was sent the first time...
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