Bluetooth: Print 16-bit dbg uuid as 4-byte hex

UUID format in 4-byte hex is more readable format than unsigned int.

Change-Id: I5e7fa3771d628705b9991c0064c102313573b8e4
Signed-off-by: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
This commit is contained in:
Grzegorz Kolodziejczyk 2015-09-03 14:11:38 +02:00 committed by Anas Nashif
parent df8426aad1
commit 7b3e771c91
1 changed files with 2 additions and 2 deletions

View File

@ -593,7 +593,7 @@ static uint8_t att_read_type_req(struct bt_conn *conn, struct bt_buf *buf)
return BT_ATT_ERR_UNLIKELY;
}
BT_DBG("start_handle 0x%04x end_handle 0x%04x type %u\n",
BT_DBG("start_handle 0x%04x end_handle 0x%04x type 0x%04x\n",
start_handle, end_handle, uuid.u16);
if (!range_is_valid(start_handle, end_handle, &err_handle)) {
@ -903,7 +903,7 @@ static uint8_t att_read_group_req(struct bt_conn *conn, struct bt_buf *buf)
return BT_ATT_ERR_UNLIKELY;
}
BT_DBG("start_handle 0x%04x end_handle 0x%04x type %u\n",
BT_DBG("start_handle 0x%04x end_handle 0x%04x type 0x%04x\n",
start_handle, end_handle, uuid.u16);
if (!range_is_valid(start_handle, end_handle, &err_handle)) {