zephyr/subsys/bluetooth/host
Lyle Zhu af42036ca6 Bluetooth: Classic: SDP: Improve UUID 128 support
In current implementation, the UUID 128 is not well supported. The
found issue includes,
Issue 1: No clear byte order of the UUID 128 in local SDP record.
Issue 2: No clear byte order of the UUID 128 of the SDP discover
parameter.

For issue 1,
Add the description to note that if the SDP attribute type is
`BT_SDP_UINT128`, `BT_SDP_INT128`, and `BT_SDP_UUID128`, the byte
order should be little-endian.

And swap the 128bit from little-endian to big-endian when responding
the peer SDP discovery request.

For issue 2,
Add the description to note that if the SDP discovery type is
`Service Search` and `Service Search Attribute`, and UUID is UUID 128,
the passed UUID data of the discovery request parameter should be
represented as the little-endian byte-order sequence.

And swap the 128bit from little-endian to big-endian when packing the
SDP discovery packet.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-07-29 11:21:37 +01:00
..
classic Bluetooth: Classic: SDP: Improve UUID 128 support 2025-07-29 11:21:37 +01:00
shell bluetooth: host: Add support for extended feature set feature 2025-07-28 08:48:30 -04:00
addr_internal.h
addr.c
adv.c
adv.h
aes_ccm.c
att_internal.h
att.c
buf_view.h
buf.c
CMakeLists.txt
conn_internal.h bluetooth: host: Add support for extended feature set feature 2025-07-28 08:48:30 -04:00
conn.c bluetooth: host: Add support for extended feature set feature 2025-07-28 08:48:30 -04:00
crypto_psa.c
crypto.h
cs.c
data.c
direction_internal.h
direction.c
ecc.c
ecc.h
gatt_internal.h
gatt.c
hci_common.c
hci_core.c bluetooth: host: Add support for extended feature set feature 2025-07-28 08:48:30 -04:00
hci_core.h
hci_raw_internal.h
hci_raw.c
id.c
id.h
iso_internal.h
iso.c
Kconfig
Kconfig.gatt
Kconfig.l2cap
keys.c
keys.h
l2cap_internal.h
l2cap.c
long_wq.c
long_wq.h
monitor.c
monitor.h
scan.c
scan.h
settings.c
settings.h
smp_null.c
smp.c
smp.h
uuid.c