site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=iI+shHsJ/g6RtCShYI0fDf6Rc+HJKn91YJN042FymAHcBkt3jcT3ZLr3qoqt9ALEde/2VPsclB+9v6mPZrjjrj6HK4DGRowj68I5DFHK3CweZJ6XKGO5AmCOXPweNokHeqniEw33QIsBD14ZRZhYJVILBrKLpDXDMtdLNfxCnlM= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=fBrJNzaFZ8pkyfgRgu8Tn3/CBtT/8fvgSCpctOlHBKIhbeOh/zrCFh0OnC/RakR/anuBYSBBVifqZCKRB0+u7MOHWQhUiPj+jKwa2YcFP6f/0dCP1Mg7VTb7OpXZGPZROxsG1alA0CrRbylvn12TXa6HaTS+qv4ZSQIWPaTG1+8= 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 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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/harelw%40gmail.com This email sent to harelw@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... On 2/27/07, Trevor Dugan <trevor_dugan@hotmail.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Harel M. Williams