Lines Matching full:message

2  *  @brief Message APIs.
14 * @brief Message
15 * @defgroup bt_mesh_msg Message
42 * @brief Helper for model message buffer length.
44 * Returns the length of a Mesh model message buffer, including the opcode
47 * @param _op Opcode of the message.
54 * @brief Helper for model message buffer length.
56 * Returns the length of a Mesh model message buffer, including the opcode
59 * @param _op Opcode of the message.
66 * @brief Define a Mesh model message buffer using @ref NET_BUF_SIMPLE_DEFINE.
69 * @param _op Opcode of the message.
70 * @param _payload_len Length of the model message payload.
75 /** Message sending context. */
77 /** NetKey Index of the subnet to send the message on. */
80 /** AppKey Index to encrypt the message with. */
86 /** Destination address of a received message. Not used for sending. */
110 * @param net_key_idx NetKey Index of the subnet to send the message on. Only used if
112 * @param app_key_idx AppKey Index to encrypt the message with.
127 * @param app_key_idx AppKey Index to encrypt the message with.
137 * @param net_key_idx NetKey Index of the subnet to send the message on.
156 /** @brief Initialize a model message.
158 * Clears the message buffer contents, and encodes the given opcode.
159 * The message buffer will be ready for filling in payload data.
161 * @param msg Message buffer.
167 * Acknowledged message context for tracking the status of model messages pending a response.
176 /** @brief Initialize an acknowledged message context.
181 * @param ack Acknowledged message context to initialize.
188 /** @brief Reset the synchronization semaphore in an acknowledged message context.
192 * @param ack Acknowledged message context to be reset.
199 /** @brief Clear parameters of an acknowledged message context.
204 * @param ack Acknowledged message context to be cleared.
208 /** @brief Prepare an acknowledged message context for the incoming message to wait.
210 * This function sets the opcode, remote address of the incoming message and stores the user data.
213 * @param ack Acknowledged message context to prepare.
214 * @param op The message OpCode.
215 * @param dst Destination address of the message.
216 * @param user_data User data for the acknowledged message context.
223 /** @brief Check if the acknowledged message context is initialized with an opcode.
225 * @param ack Acknowledged message context.
227 * @return true if the acknowledged message context is initialized with an opcode,
235 /** @brief Wait for a message acknowledge.
239 * @param ack Acknowledged message context of the message to wait for.
246 /** @brief Mark a message as acknowledged.
250 * @param ack Context of a message to be acknowledged.
257 /** @brief Check if an opcode and address of a message matches the expected one.
259 * @param ack Acknowledged message context to be checked.
260 * @param op OpCode of the incoming message.
261 * @param addr Source address of the incoming message.
262 * @param user_data If not NULL, returns a user data stored in the acknowledged message context
265 * @return true if the incoming message matches the expected one, false otherwise.