zephyr/subsys/bluetooth/host
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
..
a2dp_internal.h
a2dp.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
at.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
at.h
att_internal.h Bluetooth: Dispatch internal callbacks using RX thread 2019-08-09 21:01:59 +02:00
att.c Bluetooth: ATT: Replace checks for CONFIG_BT_ATT_ENFORCE_FLOW 2019-10-04 20:57:13 +03:00
avdtp_internal.h
avdtp.c Bluetooth: Host: Rename security level enum 2019-08-27 15:13:25 +02:00
CMakeLists.txt Bluetooth: Mesh: Move under subsys/bluetooth/mesh 2019-07-10 09:41:57 +03:00
conn_internal.h Bluetooth: Pass local identity to bt_conn_add_le() 2019-09-17 11:36:38 +03:00
conn.c Bluetooth: Keys: add key overwrite feature for key storage. 2019-10-17 22:20:55 +03:00
crypto.c Bluetooth: Host: Fix usage of re-using Bluetooth log buffers 2019-09-30 17:47:43 +02:00
crypto.h
ecc.h
gatt_internal.h Bluetooth: GATT: Use check_perm to check CCC permission 2019-09-19 21:12:39 +03:00
gatt.c Bluetooth: GATT: Fix gatt buffer leak for write commands and notify 2019-10-18 21:22:18 +03:00
hci_core.c Bluetooth: HCI: Add function to get connection handle of connection 2019-10-17 10:04:06 +02:00
hci_core.h Bluetooth: Host: Add whitelist support in Bluetooth Host API 2019-08-09 16:26:10 +02:00
hci_ecc.c bluetooth: host: Configurable HCI stack sizes 2019-09-07 15:50:43 +03:00
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: Introduce separate pool for discardable events 2019-07-01 16:36:15 +03:00
hfp_hf.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
hfp_internal.h
Kconfig Bluetooth: Keys: add key overwrite feature for key storage. 2019-10-17 22:20:55 +03:00
Kconfig.gatt bluetooth: host: Introduce a config option for Service Changed 2019-10-15 10:57:08 +02:00
Kconfig.l2cap Bluetooth: L2CAP: Kconfig: Remove redundant BT_CONN dependency 2019-08-07 16:51:02 +03:00
keys_br.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
keys.c Bluetooth: Keys: add key overwrite feature for key storage. 2019-10-17 22:20:55 +03:00
keys.h Bluetooth: Keys: add key overwrite feature for key storage. 2019-10-17 22:20:55 +03:00
l2cap_br.c Bluetooth: Host: Rename long error codes 2019-08-27 15:13:25 +02:00
l2cap_internal.h Bluetooth: conn: Add bt_conn_create_pdu_timeout 2019-08-30 09:52:01 +02:00
l2cap.c Bluetooth: L2CAP: Replace checks for CONFIG_BT_CENTRAL 2019-10-04 20:57:13 +03:00
monitor.c bluetooth: monitor: don't build backend if minimal 2019-10-01 09:24:02 -04:00
monitor.h
rfcomm_internal.h
rfcomm.c Bluetooth: Host: Rename API function to initiate bluetooth security. 2019-08-27 15:13:25 +02:00
sdp_internal.h
sdp.c Bluetooth: Host: Rename security level enum 2019-08-27 15:13:25 +02:00
settings.c Bluetooth: Settings: Fix broken CONFIG_BT_SETTINGS_USE_PRINTK check 2019-10-18 21:52:03 +03:00
settings.h subsys/settings: Update bluetooth module 2019-06-26 16:31:01 +02:00
smp_null.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
smp.c Bluetooth: SMP: Handle both devices initiating security 2019-09-30 10:29:56 -07:00
smp.h Bluetooth: SMP: Move re-encryption handling into the SMP module 2019-09-30 10:29:56 -07:00
testing.c Bluetooth: testing: Exclude Mesh related code if BT_MESH not set 2018-09-19 10:48:39 +03:00
testing.h Bluetooth: testing: Exclude Mesh related code if BT_MESH not set 2018-09-19 10:48:39 +03:00
uuid.c Bluetooth: UUID: Implement UUID 128 encoder 2019-10-23 18:49:13 +03:00