I am using this code to open Bluetooth screen settings:
NSURL *url = [NSURL URLWithString:@"prefs:root=General&path=Bluetooth"];
[[UIApplication sharedApplication] openURL: url];
But it's not working, I am using iOS 6.0 SDK
I believe opening the settings app is deprecated in iOS 5.1.