Re: Enter at commands to mobile phone using bluetooth
Re: Enter at commands to mobile phone using bluetooth
- Subject: Re: Enter at commands to mobile phone using bluetooth
- From: Nicko van Someren <email@hidden>
- Date: Tue, 13 Apr 2004 17:35:02 +0100
On Apr 12, 2004, at 10:46 PM, Nathanael P wrote:
I want to enter at commands to mobile phone using
bluetooth. I wrote the program on xcode. I have opened
a rfcomm channel synchronously:
[selectedDevice openRFCOMMChannelSync:&mRFCOMMChannel
withChannelID:10 delegate:self];
[mRFCOMMChannel retain];
I have a problem:
I've tried to enter the at commands using writeSync,
but there's no response. I have no idea how to read
the incoming data from the mobile phone. How to write
the at commands and read the incoming data?
Note that on many phones you will need to send the command string
terminated by a \r, rather than the more usual \n. This caught me out
on my SonyEricsson T630 for a while.
Nicko
_______________________________________________
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.