bt_mesh_msg_ack_ctx_match() function
Check if an opcode and address of a message matches the expected one.
Arguments
ack
Acknowledged message context to be checked.
op
OpCode of the incoming message.
addr
Source address of the incoming message.
user_data
If not NULL, returns a user data stored in the acknowledged message context by bt_mesh_msg_ack_ctx_prepare.
Return value
true if the incoming message matches the expected one, false otherwise.