IOBluetoothNSStringToDeviceAddress
IOBluetoothNSStringToDeviceAddress
- Subject: IOBluetoothNSStringToDeviceAddress
- From: julien genestoux <email@hidden>
- Date: Mon, 20 Jan 2003 17:47:09 +0100
Hi everyone...
I'm just trying to build and run a small App I made using BT
:IOBluetoothUtilities.h and particularly this function
IOReturn IOBluetoothNSStringToDeviceAddress( NSString * inNameString,
BluetoothDeviceAddress * outDeviceAddress );
But it seems it's not working, does someone experienced problems with
it?
here's my code :
NOte that the device address was obtained previously : so it's good.
devAddressString=@"00-08-c6-13-45-e9";
BluetoothDeviceAddress * devAddress=nil;
NSLog(devAddressString);
IOBluetoothNSStringToDeviceAddress(devAddressString,
devAddress);
BtDevice=[IOBluetoothDevice withAddress:devAddress];
NSLog(@"the new name %s ",[BtDevice getName]);
here's what happens:
00-08-c6-13-45-e9
the new name (null)
And it bugs if I want to obtain the new device Address'
Thanks for helping...
Julien Genestoux.
Portable: 06 89 65 09 01
Web: www.jobetudiant.net/julien
MSN: email@hidden
AIM: email@hidden
Mails: email@hidden
email@hidden
VCard:
[demime 0.98b removed an attachment of type text/directory which had a name of julien genestoux.vcf]
_______________________________________________
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.