IOBluetoothDevice has the following methods that will be useful to you:
- [IOBluetoothDevice addressString] , which will give you the device address as a string, which you can easily save in your default settings.
+ [IOBluetoothDevice deviceWithAddressString:(NSString*) address] will allow you to create IOBluetoothDevice* with this address bar after restarting the application.
- [IOBluetoothDevice openConnection] or - [IOBluetoothDevice openConnection:(id)delegate] , which allows you to open the connection to the device you created synchronously or asynchronously.
source share