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. */
101 /** Send message with a random delay according to the Access layer transmitting rules. */
113 * @param net_key_idx NetKey Index of the subnet to send the message on. Only used if
115 * @param app_key_idx AppKey Index to encrypt the message with.
130 * @param app_key_idx AppKey Index to encrypt the message with.
140 * @param net_key_idx NetKey Index of the subnet to send the message on.
159 /** @brief Initialize a model message.
161 * Clears the message buffer contents, and encodes the given opcode.
162 * The message buffer will be ready for filling in payload data.
164 * @param msg Message buffer.
170 * Acknowledged message context for tracking the status of model messages pending a response.
179 /** @brief Initialize an acknowledged message context.
184 * @param ack Acknowledged message context to initialize.
191 /** @brief Reset the synchronization semaphore in an acknowledged message context.
195 * @param ack Acknowledged message context to be reset.
202 /** @brief Clear parameters of an acknowledged message context.
207 * @param ack Acknowledged message context to be cleared.
211 /** @brief Prepare an acknowledged message context for the incoming message to wait.
213 * This function sets the opcode, remote address of the incoming message and stores the user data.
216 * @param ack Acknowledged message context to prepare.
217 * @param op The message OpCode.
218 * @param dst Destination address of the message.
219 * @param user_data User data for the acknowledged message context.
226 /** @brief Check if the acknowledged message context is initialized with an opcode.
228 * @param ack Acknowledged message context.
230 * @return true if the acknowledged message context is initialized with an opcode,
238 /** @brief Wait for a message acknowledge.
242 * @param ack Acknowledged message context of the message to wait for.
249 /** @brief Mark a message as acknowledged.
253 * @param ack Context of a message to be acknowledged.
260 /** @brief Check if an opcode and address of a message matches the expected one.
262 * @param ack Acknowledged message context to be checked.
263 * @param op OpCode of the incoming message.
264 * @param addr Source address of the incoming message.
265 * @param user_data If not NULL, returns a user data stored in the acknowledged message context
268 * @return true if the incoming message matches the expected one, false otherwise.