Skip to content

Commit 49556cc

Browse files
PavelVPVrlubos
authored andcommitted
[nrf fromtree] Bluetooth: Mesh: Print URI and FWID in Upload OOB Start msg
this is useful for debugging. Signed-off-by: Pavel Vasilyev <[email protected]> (cherry picked from commit 2c9fc04)
1 parent 3b705c2 commit 49556cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

subsys/bluetooth/mesh/dfd_srv.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,10 @@ static int handle_upload_start_oob(struct bt_mesh_model *mod, struct bt_mesh_msg
572572
fwid_len = buf->len;
573573
fwid = net_buf_simple_pull_mem(buf, fwid_len);
574574

575+
LOG_DBG("Upload OOB Start");
576+
LOG_HEXDUMP_DBG(uri, uri_len, "URI");
577+
LOG_HEXDUMP_DBG(fwid, fwid_len, "FWID");
578+
575579
if (upload_is_busy(srv)) {
576580
#ifdef CONFIG_BT_MESH_DFD_SRV_OOB_UPLOAD
577581
if (srv->upload.is_oob &&

0 commit comments

Comments
 (0)