Lines Matching full:a
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
66 …* Represents a function pointer which is called when a CoAP response is received or on the request…
73 …* Represents a function pointer which is called when a CoAP request associated with a given URI pa…
90 * Converts a pointer to `otCoapTxParameters` to `Coap::TxParamters`
94 * @param[in] aTxParameters A pointer to tx parameter.
96 …* @returns A reference to corresponding `TxParamters` if @p aTxParameters is not `nullptr`, other…
144 * @param[in] aUriPath A pointer to a null-terminated string for the URI path.
145 …* @param[in] aHandler A function pointer that is called when receiving a CoAP message for @p aUr…
146 * @param[in] aContext A pointer to arbitrary context information.
153 * @param[in] aUri A Thread URI.
154 …* @param[in] aHandler A function pointer that is called when receiving a CoAP message for the UR…
155 * @param[in] aContext A pointer to arbitrary context information.
160 * Returns a pointer to the URI path.
162 * @returns A pointer to the URI path.
185 * @param[in] aUriPath A pointer to a NULL-terminated string for the Uri-Path.
186 …* @param[in] aHandler A function pointer that is called when receiving a CoAP message for…
187 * @param[in] aContext A pointer to arbitrary context information.
188 …* @param[in] aReceiveHook A function pointer that is called when receiving a CoAP block messa…
190 …* @param[in] aTransmitHook A function pointer that is called when transmitting a CoAP block me…
224 … * @returns A pointer to the next entry in the linked list or `nullptr` if at the end of the list.
234 … * @returns A pointer to the next entry in the linked list or `nullptr` if at the end of the list.
244 * @param[in] aNext A pointer to the next entry.
249 * Returns a pointer to the URI path.
251 * @returns A pointer to the URI path.
272 * @param[in] aInstance A reference to the OpenThread instance.
277 * Adds a given response to the cache.
296 … * Gets a copy of CoAP response from the cache that matches a given Message ID and source endpoint.
300 …* @param[out] aResponse A pointer to return a copy of a cached CoAP response matching given ar…
302 * @retval kErrorNone Matching response found and successfully created a copy.
303 …retval kErrorNoBufs Matching response found but there is not sufficient buffer to create a copy.
309 * Gets a reference to the cached CoAP responses queue.
311 * @returns A reference to the cached CoAP responses queue.
348 * Pointer is called before CoAP server processing a CoAP message.
350 * @param[in] aMessage A reference to the message.
351 @ @param[in] aMessageInfo A reference to the message info associated with @p aMessage.
352 * @param[in] aContext A pointer to arbitrary context information.
356 * @retval kErrorNotTmf The message is not a TMF message.
368 * @param[in] aAddress A reference to the specified address.
375 * Adds a block-wise resource to the CoAP server.
377 * @param[in] aResource A reference to the resource.
382 * Removes a block-wise resource from the CoAP server.
384 * @param[in] aResource A reference to the resource.
390 * Adds a resource to the CoAP server.
392 * @param[in] aResource A reference to the resource.
397 * Removes a resource from the CoAP server.
399 * @param[in] aResource A reference to the resource.
405 …* @param[in] aHandler A function pointer that shall be called when an unhandled request arrives.
406 … * @param[in] aContext A pointer to arbitrary context information. May be `nullptr` if not used.
411 * Allocates a new message with a CoAP header.
415 * @returns A pointer to the message or `nullptr` if failed to allocate message.
420 * Allocates a new message with a CoAP header with default settings.
422 * @returns A pointer to the message or `nullptr` if failed to allocate message.
427 * Allocates a new message with a CoAP header that has Network Control priority level.
429 * @returns A pointer to the message or `nullptr` if failed to allocate message.
434 …* Allocates and initializes a new CoAP Confirmable Post message with Network Control priority leve…
436 …AP header is initialized as `kTypeConfirmable` and `kCodePost` with a given URI path and a randomly
443 * @returns A pointer to the message or `nullptr` if failed to allocate message.
448 * Allocates and initializes a new CoAP Confirmable Post message with normal priority level.
450 …* The CoAP header is initialized as `kTypeConfirmable` and `kCodePost` with a given URI and a rand…
457 * @returns A pointer to the message or `nullptr` if failed to allocate message.
462 … * Allocates and initializes a new CoAP Non-confirmable Post message with Network Control priority
465 …CoAP header is initialized as `kTypeNonConfirmable` and `kCodePost` with a given URI and a randomly
472 * @returns A pointer to the message or `nullptr` if failed to allocate message.
477 * Allocates and initializes a new CoAP Non-confirmable Post message with normal priority level.
479 …CoAP header is initialized as `kTypeNonConfirmable` and `kCodePost` with a given URI and a randomly
486 * @returns A pointer to the message or `nullptr` if failed to allocate message.
491 … * Allocates and initializes a new CoAP response message with Network Control priority level for a
499 * @returns A pointer to the message or `nullptr` if failed to allocate message.
504 * Allocates and initializes a new CoAP response message with regular priority level for a given
512 * @returns A pointer to the message or `nullptr` if failed to allocate message.
518 * Sends a CoAP message block-wise with custom transmission parameters.
520 …* If a response for a request is expected, respective function and context information should be p…
524 * @param[in] aMessage A reference to the message to send.
525 * @param[in] aMessageInfo A reference to the message info associated with @p aMessage.
526 * @param[in] aTxParameters A reference to transmission parameters for this message.
527 …* @param[in] aHandler A function pointer that shall be called on response reception or time-…
528 * @param[in] aContext A pointer to arbitrary context information.
529 * @param[in] aTransmitHook A pointer to a hook function for outgoing block-wise transfer.
530 * @param[in] aReceiveHook A pointer to a hook function for incoming block-wise transfer.
545 * Sends a CoAP message with custom transmission parameters.
547 …* If a response for a request is expected, respective function and context information should be p…
551 * @param[in] aMessage A reference to the message to send.
552 * @param[in] aMessageInfo A reference to the message info associated with @p aMessage.
553 * @param[in] aTxParameters A reference to transmission parameters for this message.
554 …* @param[in] aHandler A function pointer that shall be called on response reception or time-…
555 * @param[in] aContext A pointer to arbitrary context information.
568 * Sends a CoAP message with custom transmission parameters.
572 * @param[in] aMessage A reference to the message to send.
573 * @param[in] aMessageInfo A reference to the message info associated with @p aMessage.
574 * @param[in] aTxParameters A reference to transmission parameters for this message.
581 * Sends a CoAP message with default transmission parameters.
585 * @param[in] aMessage A reference to the message to send.
586 * @param[in] aMessageInfo A reference to the message info associated with @p aMessage.
587 …* @param[in] aHandler A function pointer that shall be called on response reception or time-…
588 * @param[in] aContext A pointer to arbitrary context information.
599 * Sends a CoAP message with default transmission parameters.
603 * @param[in] aMessage A reference to the message to send.
604 * @param[in] aMessageInfo A reference to the message info associated with @p aMessage.
612 * Sends a CoAP reset message.
614 * @param[in] aRequest A reference to the CoAP Message that was used in CoAP request.
627 * @param[in] aRequest A reference to the CoAP Message that was used in CoAP request.
637 * Sends a CoAP ACK empty message which is used in Separate Response for confirmable requests.
639 * @param[in] aRequest A reference to the CoAP Message that was used in CoAP request.
649 * Sends a CoAP ACK message on which a dummy CoAP response is piggybacked.
651 * @param[in] aRequest A reference to the CoAP Message that was used in CoAP request.
662 * Sends a CoAP ACK message on which a dummy CoAP response is piggybacked.
664 * @param[in] aRequest A reference to the CoAP Message that was used in CoAP request.
674 * Sends a header-only CoAP message to indicate no resource matched for the request.
676 * @param[in] aRequest A reference to the CoAP Message that was used in CoAP request.
686 * Sends a header-only CoAP message to indicate not all blocks have been sent or
689 * @param[in] aRequest A reference to the CoAP Message that was used in CoAP request.
706 * @param[in] aHandler A function pointer that should be called when the transaction ends.
707 * @param[in] aContext A pointer to arbitrary context information.
715 * Sets interceptor to be called before processing a CoAP packet.
717 * @param[in] aInterceptor A pointer to the interceptor.
718 * @param[in] aContext A pointer to arbitrary context information.
723 * Returns a reference to the request message list.
725 * @returns A reference to the request message list.
730 * Returns a reference to the cached response list.
732 * @returns A reference to the cached response list.
738 * Defines function pointer to handle a CoAP resource.
740 …* When processing a received request, this handler is called first with the URI path before checki…
743 * @param[in] aCoapBase A reference the CoAP agent.
757 * Pointer is called to send a CoAP message.
759 * @param[in] aCoapBase A reference to the CoAP agent.
760 * @param[in] aMessage A reference to the message to send.
761 * @param[in] aMessageInfo A reference to the message info associated with @p aMessage.
771 * @param[in] aInstance A reference to the OpenThread instance.
772 … * @param[in] aSender A function pointer to send CoAP message, which SHOULD be a static
773 * member method of a descendant of this class.
778 * Receives a CoAP message.
780 * @param[in] aMessage A reference to the received message.
781 * @param[in] aMessageInfo A reference to the message info associated with @p aMessage.
798 …ResponseHandler mResponseHandler; // A function pointer that is called on response recept…
799 void *mResponseContext; // A pointer to arbitrary context information.
904 * @param[in] aInstance A reference to the OpenThread instance.