• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Enter at commands to mobile phone using bluetooth
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Enter at commands to mobile phone using bluetooth
      • From: Nathanael P <email@hidden>
    • Re: Enter at commands to mobile phone using bluetooth
      • From: Nicko van Someren <email@hidden>
References: 
 >Enter at commands to mobile phone using bluetooth (From: Nathanael P <email@hidden>)

  • Prev by Date: Enter at commands to mobile phone using bluetooth
  • Next by Date: Re: Enter at commands to mobile phone using bluetooth
  • Previous by thread: Enter at commands to mobile phone using bluetooth
  • Next by thread: Re: Enter at commands to mobile phone using bluetooth
  • Index(es):
    • Date
    • Thread