bt_mesh_msg_ack_ctx_wait() function
Wait for a message acknowledge. This function blocks execution until bt_mesh_msg_ack_ctx_rx is called or by timeout.
Arguments
ack
Acknowledged message context of the message to wait for.
Return value
0 on success, or (negative) error code on failure.