Skip to content

Commit

Permalink
Bluetooth: Mesh: Print URI and FWID in Upload OOB Start msg
Browse files Browse the repository at this point in the history
this is useful for debugging.

Signed-off-by: Pavel Vasilyev <[email protected]>
  • Loading branch information
PavelVPV authored and jhedberg committed Oct 11, 2023
1 parent 1c1c5e2 commit 2c9fc04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions subsys/bluetooth/mesh/dfd_srv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 2c9fc04

Please sign in to comment.