PebbleOS
Loading...
Searching...
No Matches
Functions
Bluetooth UUIDs

Expand 16-bit and 32-bit Bluetooth UUIDs to 128 bits. More...

Functions

Uuid bt_uuid_expand_16bit (uint16_t uuid16)
 Expand a 16-bit UUID with the Bluetooth Base UUID, 0000xxxx-0000-1000-8000-00805F9B34FB.
 
Uuid bt_uuid_expand_32bit (uint32_t uuid32)
 Expand a 32-bit UUID with the Bluetooth Base UUID, xxxxxxxx-0000-1000-8000-00805F9B34FB.
 

Detailed Description

Expand 16-bit and 32-bit Bluetooth UUIDs to 128 bits.

See PBL_BT_SIG_UUID_EXPAND() for the compile-time equivalent.

Function Documentation

◆ bt_uuid_expand_16bit()

Uuid bt_uuid_expand_16bit ( uint16_t  uuid16)

Expand a 16-bit UUID with the Bluetooth Base UUID, 0000xxxx-0000-1000-8000-00805F9B34FB.

Parameters
uuid16The 16-bit UUID.
Returns
The 128-bit UUID.

◆ bt_uuid_expand_32bit()

Uuid bt_uuid_expand_32bit ( uint32_t  uuid32)

Expand a 32-bit UUID with the Bluetooth Base UUID, xxxxxxxx-0000-1000-8000-00805F9B34FB.

Parameters
uuid32The 32-bit UUID.
Returns
The 128-bit UUID.