Re: Get info from Mobile
Re: Get info from Mobile
- Subject: Re: Get info from Mobile
- From: "Harel M. Williams" <email@hidden>
- Date: Tue, 27 Feb 2007 14:14:31 -0500
Hey Trevor,
Check out the example code at:
/Developer/Examples/Bluetooth/RFCOMM_Open_SPP_Example
This will show you how to establish an RFCOMM connection. Once the
connection is established, you can send AT commands to the phone using
[rfcommChannel writeSync:"AT+BRSF=0\r" length:10] as an example. Check
out 'rfcommChannelOpenComplete' method in RFCOMMSPPTestControl.mm. In
the comments it describes how to do all of this.
Hope that helps.
-Harel
On 2/27/07, Trevor Dugan <email@hidden> wrote:
I'm attempting a project to set the alarm on my Mac to the same time as the
alarm on my K800 SE phone.
Wonder if I could as this list for some advice please.
What would be the most appropriate language to write this app in?
How would I go about getting started? So far I've figured out that sony
uses 'AT' commands that can be passed to the phone and get a return.
For instance; this is a copy of part of the developers guidelines:
---------------------------------------------------------------------------------------------
AT+CALA Alarm (ver. 2)
Description: Sets an alarm time in the phone. There can be an array of
different alarms
and the alarms may be recurrent. When the alarm is timed out and exe-
cuted, the unsolicited result code +CALV is returned, even if the alarm is
set up to be silent.
The alarm time is set in hours and minutes. Date, seconds and time zone
are not possible to use.
---------------------------------------------------------------------------------------------
but in what language do these commands get processed? Java?
How would I go about getting the initial connection to the phone?
Many thanks to anybody who can offer me advice.
Dug
_______________________________________________
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
_______________________________________________
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