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: Marco Pontil <email@hidden>
- Date: Tue, 13 Apr 2004 09:14:26 -0700
Since you correctly registered yourself as delegate of the channel you
should implement:
- (void)rfcommChannelData:(IOBluetoothRFCOMMChannel*)rfcommChannel
data:(void *)dataPointer length:(size_t)dataLength;
to receive data. There are more delegate methods you may need, the full
list of delegate methods for an RFCOMM channel are toward the end of
IOBluetoothRFCOMMChannel.h
... Marco
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?
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
_______________________________________________
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.
_______________________________________________
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.