Bob,
For comparison, every 16-bit and 32-bit UUID can be transformed into a unique 128-bit UUID
by expanding using the Bluetooth Base UUID, as described in Bluetooth Core Spec Version 4.0
Volume 3 Part B Section 2.5.1.
Therefore, when you scan for services using a 32-bit UUID, it will be transformed into a 128-bit UUID,
and then compared with the UUID received from the peripheral. It is not likely to get a performance
increase out of using 32-bit UUIDs, since the lower layers of Bluetooth Low Energy support only
16-bit and 128-bit UUIDs.
The comments in the CBUUID.h file indicate that when you pass a 32-bit value to a constructor, it
will correctly convert it into the corresponding 128-bit UUID.
Etan
wrote:
does the CoreBluetooth framework allow me to scan for services with a 32-bit UUID??? the comments in CBUUID generally lead me to believe the answer is "NO", though
there is some verbage at the top of file about 32-bit UUIDs...
thanks,
bob.
Bob Frankel, CTO
Emmoco, Inc | Embedded Mobile Control
c: +1-805-680-0112
e: email@hidden
_______________________________________________
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
|