I'm testing with a ConnectBlue OLP425i-ES, a device equipped with 3D sensor, temperature and LED control. CBCentralManager scanning with no filtering (NIL) finds the device and enables me to access all sensors.
The peripheral name is shows OBP425-D7FD.
Next fragment shows some logging of all kinds of code that were retrieved from hardware.
2013-05-16
08:28:54.418 BtCoreTest[173:907] Service found with UUID: Generic
Access Profile
2013-05-16
08:28:54.419 BtCoreTest[173:907] Service found with UUID: Generic
Attribute Profile
2013-05-16
08:28:54.421 BtCoreTest[173:907] Service found with UUID: Unknown
(<180a>)
2013-05-16
08:28:54.422 BtCoreTest[173:907] Service found with UUID: Unknown
(<180f>)
2013-05-16
08:28:54.423 BtCoreTest[173:907] Service found with UUID: Unknown
(<ffa0>)
2013-05-16
08:28:54.425 BtCoreTest[173:907] call discoverCharacteristics for
Unknown (<ffa0>)
2013-05-16
08:28:54.428 BtCoreTest[173:907] Service found with UUID: Unknown
(<ffe0>)
2013-05-16
08:28:54.432 BtCoreTest[173:907] Service found with UUID: Unknown
(<ffd0>)
2013-05-16
08:28:54.434 BtCoreTest[173:907] call discoverCharacteristics for
Unknown (<ffd0>)
2013-05-16
08:28:54.438 BtCoreTest[173:907] Service found with UUID: Unknown
(<2456e1b9 26e28f83 e744f34f 01e9d701>)
2013-05-16
08:28:54.443 BtCoreTest[173:907] found characteristic for Unknown
(<ffa0>) Unknown (<ffa2>)
2013-05-16
08:28:54.445 BtCoreTest[173:907] found characteristic for Unknown
(<ffa0>) Unknown (<ffa3>)
2013-05-16
08:28:54.446 BtCoreTest[173:907] Setting notify
2013-05-16
08:28:54.449 BtCoreTest[173:907] found characteristic for Unknown
(<ffa0>) Unknown (<ffa4>)
2013-05-16
08:28:54.451 BtCoreTest[173:907] Setting notify
2013-05-16
08:28:54.454 BtCoreTest[173:907] found characteristic for Unknown
(<ffa0>) Unknown (<ffa5>)
2013-05-16
08:28:54.455 BtCoreTest[173:907] Setting notify
2013-05-16
08:28:54.457 BtCoreTest[173:907] found characteristic for Unknown
(<ffd0>) Unknown (<ffd1>)
2013-05-16
08:28:54.459 BtCoreTest[173:907] found characteristic for Unknown
(<ffd0>) Unknown (<ffd2>)
NSArray *uuidArray = [NSArray arrayWithObjects:[CBUUID UUIDWithString:"180A"], nil];
NSDictionary *options = [NSDictionary dictionaryWithObject:[NSNumber numberWithBool:NO] forKey:CBCentralManagerScanOptionAllowDuplicatesKey];
[centralManager scanForPeripheralsWithServices:uuidArray options:options];
How can I convert the 4 nibble codes that where captured in the log data ( i.e. ffe0 or 180a) to the 128 bit UUID? Or is that not the cause of the problem?