zephyr/include/bluetooth
Radoslaw Koppel ecf06debe6 Bluetooth: UUID: Implement UUID 128 encoder
This commit adds an macro to allow UUID 128
to be written in more user-friendly form.
UUID in 128 bit form requires an array creation.
To complicate the whole thing - it requires the array to start from LSB,
so using the readable form, we have to write it down backwards.

Old way to declare example UUID 6E400001-B5A3-F393-E0A9-E50E24DCCA9E:
 0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0,
 0x93, 0xF3, 0xA3, 0xB5, 0x01, 0x00, 0x40, 0x6E

A form provided by this commit:
 BT_UUID_128_ENCODE(0x6E400001, 0xB5A3, 0xF393, 0xE0A9, 0xE50E24DCCA9E)

Signed-off-by: Radoslaw Koppel <radoslaw.koppel@nordicsemi.no>
2019-10-23 18:49:13 +03:00
..
mesh Bluetooth: Mesh: Model message macros 2019-10-08 18:38:43 +03:00
services include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
a2dp-codec.h
a2dp.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
addr.h Bluetooth: Host: Move Bluetooth Device address definition to own header 2019-10-17 10:04:06 +02:00
att.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
avdtp.h
bluetooth.h Bluetooth: Host: Move Bluetooth Device address definition to own header 2019-10-17 10:04:06 +02:00
buf.h Bluetooth: Introduce separate pool for discardable events 2019-07-01 16:36:15 +03:00
conn.h Bluetooth: Host: Move HCI error codes to its own header 2019-10-17 10:04:06 +02:00
controller.h Bluetooth: Controller: Add support for setting public address 2018-09-21 12:40:10 +02:00
crypto.h
gap.h Bluetooth: Host: Move GAP and GAP defined assigned numbers to own header 2019-10-17 10:04:06 +02:00
gatt.h Bluetooth: GATT: Add function to check if attribute has been subscribed 2019-10-15 15:08:56 +03:00
hci_err.h Bluetooth: Host: Move HCI error codes to its own header 2019-10-17 10:04:06 +02:00
hci_raw.h
hci_vs.h Bluetooth: controller: Preliminary work in progress mesh ext. 2019-01-23 09:45:06 +01:00
hci.h Bluetooth: HCI: Add function to get connection handle of connection 2019-10-17 10:04:06 +02:00
hfp_hf.h
l2cap.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
mesh.h
rfcomm.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
sdp.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
testing.h
uuid.h Bluetooth: UUID: Implement UUID 128 encoder 2019-10-23 18:49:13 +03:00