mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-23 04:43:35 +08:00
attrib/gatttool: Use define for UUID format check
This commit is contained in:
parent
1e11df4348
commit
2620e5c7ab
@ -426,7 +426,7 @@ static void char_desc_cb(guint8 status, const guint8 *pdu, guint16 plen,
|
||||
value = list->data[i];
|
||||
handle = get_le16(value);
|
||||
|
||||
if (format == 0x01)
|
||||
if (format == ATT_FIND_INFO_RESP_FMT_16BIT)
|
||||
bt_uuid16_create(&uuid, get_le16(&value[2]));
|
||||
else {
|
||||
uint128_t u128;
|
||||
|
Loading…
Reference in New Issue
Block a user