iOS app如何连接 已经与手机配对好的蓝牙设备

NSUUID *uuid = [[NSUUID alloc]initWithUUIDString:@"F0010001-0451-4000-B000-000000000000"];
NSArray *bleArray = [NSArray arrayWithObjects:uuid, nil];
NSArray *retrivedArray = [centralManager retrieveConnectedPeripheralsWithServices:bleArray];
for (CBPeripheral *peripheral in retrivedArray) {
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{

        self.testPeripheral = peripheral;
        [centralManager stopScan];
        [centralManager connectPeripheral:peripheral options:nil];
        NSLog(@"%@",peripheral.services);
        peripheral.delegate = self;
        [peripheral discoverServices:nil];
    });
    NSLog(@"peripheral:%@",peripheral);
}
    我用上边的方法获取到了设备可是就是连接不起来,请高手帮忙回答一下

http://www.oschina.net/question/2399354_240682

希望对你有帮助
http://m.blog.csdn.net/article/details?plg_nld=1&id=51014318&plg_auth=1&plg_uin=1&plg_usr=1&plg_vkey=1&plg_nld=1&plg_dev=1