GAP Discovery
GAP Discovery
- Subject: GAP Discovery
- From: Thomas Sorensen <email@hidden>
- Date: Wed, 29 Feb 2012 15:24:16 +0100
Hello,
I am developing a Bluetooth low energy app, but has a problem with service discovery.
I am scanning for a Bluegiga low energy module.
If i pass nil to the scanForPeripheralsWithServices I can discover the device.
If i look for the GAP (0x1800) i get nothing. The code i executes is this: // Init Bluetooth and Start scanning centralManager = [[CBCentralManager alloc]initWithDelegate:self queue:nil]; ready = NO; CBUUID *uuid = [CBUUID UUIDWithString:@"1800"]; NSLog(@"uuid %@",uuid); NSArray *serviceIDs = [NSArray arrayWithObject:uuid]; NSLog(@"search for uuid: %@", serviceIDs); [centralManager scanForPeripheralsWithServices:serviceIDs options:nil];
Any idea of what the problem could be ?
/Thomas |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden