Bluetooth: Mesh: Print URI and FWID in Upload OOB Start msg

this is useful for debugging.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
Pavel Vasilyev 2023-10-10 09:50:18 +02:00 committed by Johan Hedberg
commit 2c9fc043d7

View file

@ -572,6 +572,10 @@ static int handle_upload_start_oob(struct bt_mesh_model *mod, struct bt_mesh_msg
fwid_len = buf->len;
fwid = net_buf_simple_pull_mem(buf, fwid_len);
LOG_DBG("Upload OOB Start");
LOG_HEXDUMP_DBG(uri, uri_len, "URI");
LOG_HEXDUMP_DBG(fwid, fwid_len, "FWID");
if (upload_is_busy(srv)) {
#ifdef CONFIG_BT_MESH_DFD_SRV_OOB_UPLOAD
if (srv->upload.is_oob &&