nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ qos_message_has_flag()

bool qos_message_has_flag ( const struct qos_data message,
uint32_t  flag 
)

#include <include/qos.h>

Function that checks if a flag is part of the bitmask associated with a message.

Parameters
messagePointer to message.
flagFlag to check for.
Return values
trueif the flag checked for is a part of the message flag bitmask.
falseif flag checked for is not a part of the message flag bitmask.