Re: remoteNameRequest
Re: remoteNameRequest
- Subject: Re: remoteNameRequest
- From: Marco Pontil <email@hidden>
- Date: Wed, 10 Sep 2003 10:16:01 -0700
- (IOReturn)remoteNameRequest:(id)target; is an asynchronous call.
Target is the object to call once the remoteNameRequest is completed.
To get the result the target object has to implement the method
remoteNameRequestComplete:status: which may look something like:
- (void)remoteNameRequestComplete:(IOBluetoothDevice *)device
status:(IOReturn)status
{
if ( status == kIOReturnSuccess )
{
NSString *name = [device getName];
}
}
On Sep 10, 2003, at 5:18 AM, Eivind Andersen wrote:
An IOBluetoothDevice object has the following metod:
- (IOReturn)remoteNameRequest:(id)target;
What is the (id)target argument? What should the argument be if i want
to send the REMOTE_NAME_REQUEST message to my mobile phone?
(The thing is: I want to get the name of the bluetooth device, without
having to set up a full link establisment first)
I would be grateful for any help!
Best regards,
Eivind Andersen
_______________________________________________
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.