Lines Matching full:a
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
150 * Represents a CoAP option.
326 * Pointer is called when a CoAP response is received or on the request timeout.
328 * @param[in] aContext A pointer to application-specific context.
329 …* @param[in] aMessage A pointer to the message buffer containing the response. NULL if no re…
330 …* @param[in] aMessageInfo A pointer to the message info for @p aMessage. NULL if no response was…
331 * @param[in] aResult A result of the CoAP transaction.
333 * @retval OT_ERROR_NONE A response was received successfully.
334 * @retval OT_ERROR_ABORT A CoAP transaction was reset by peer.
343 * Pointer is called when a CoAP request with a given Uri-Path is received.
345 * @param[in] aContext A pointer to arbitrary context information.
346 * @param[in] aMessage A pointer to the message.
347 * @param[in] aMessageInfo A pointer to the message info for @p aMessage.
352 * Pointer is called when a CoAP message with a block-wise transfer option is received.
357 * @param[in] aContext A pointer to application-specific context.
358 * @param[in] aBlock A pointer to the block segment.
359 * @param[in] aPosition The position of @p aBlock in a sequence in bytes.
362 …TotalLength The total length in bytes of the transferred information (indicated by a Size1 or Size2
377 * Pointer is called before the next block in a block-wise transfer is sent.
382 * @param[in] aContext A pointer to application-specific context.
383 * @param[in,out] aBlock A pointer to where the block segment can be written to.
384 * @param[in] aPosition The position in a sequence from which to obtain the block segment.
386 * @param[out] aMore A pointer to the flag if more block segments will follow.
402 * Represents a CoAP resource.
407 otCoapRequestHandler mHandler; ///< The callback for handling a received request
413 * Represents a CoAP resource with block-wise transfer.
418 otCoapRequestHandler mHandler; ///< The callback for handling a received request
439 …* must not exceed what can be represented by a uint32_t (0xffffffff). This limitation allows…
471 * @param[in,out] aMessage A pointer to the CoAP message to initialize.
478 * Initializes a response message.
482 * @param[in,out] aResponse A pointer to the CoAP response message.
483 * @param[in] aRequest A pointer to the CoAP request message.
493 * Sets the Token value and length in a header.
495 * @param[in,out] aMessage A pointer to the CoAP message.
496 * @param[in] aToken A pointer to the Token value.
507 * @param[in,out] aMessage A pointer to the CoAP message.
508 * @param[in] aTokenLength The Length of a Token to set.
515 * setting otCoapMessageSetPayloadMarker if a payload is to be included in the
518 * The function is a convenience wrapper around otCoapMessageAppendUintOption,
522 * @param[in,out] aMessage A pointer to the CoAP message.
533 * Appends a CoAP option in a header.
535 * @param[in,out] aMessage A pointer to the CoAP message.
538 * @param[in] aValue A pointer to the CoAP value.
550 * @param[in,out] aMessage A pointer to the CoAP message.
565 * @param[in,out] aMessage A pointer to the CoAP message.
575 * Appends a Uri-Path option.
577 * @param[in,out] aMessage A pointer to the CoAP message.
578 * @param[in] aUriPath A pointer to a NULL-terminated string.
587 * Appends a Uri-Query option.
589 * @param[in,out] aMessage A pointer to the CoAP message.
590 * @param[in] aUriQuery A pointer to a NULL-terminated string.
599 * Converts a CoAP Block option SZX field to the actual block size
608 * Appends a Block2 option
610 * @param[in,out] aMessage A pointer to the CoAP message.
622 * Appends a Block1 option
624 * @param[in,out] aMessage A pointer to the CoAP message.
636 * Appends a Proxy-Uri option.
638 * @param[in,out] aMessage A pointer to the CoAP message.
639 * @param[in] aUriPath A pointer to a NULL-terminated string.
648 * Appends a Max-Age option.
650 * @param[in,out] aMessage A pointer to the CoAP message.
660 * Appends a single Uri-Query option.
662 * @param[in,out] aMessage A pointer to the CoAP message.
663 …* @param[in] aUriQuery A pointer to NULL-terminated string, which should contain a single key…
674 * @param[in,out] aMessage A pointer to the CoAP message.
684 * @param[in] aMessage A pointer to the CoAP message.
693 * @param[in] aMessage A pointer to the CoAP message.
702 * @param[in,out] aMessage A pointer to the CoAP message to initialize.
710 * @param[in] aMessage A pointer to the CoAP message.
719 * @param[in] aMessage A pointer to the CoAP message.
728 * @param[in] aMessage A pointer to the CoAP message.
735 * Returns a pointer to the Token value.
737 * @param[in] aMessage A pointer to the CoAP message.
739 * @returns A pointer to the Token value.
746 * @param[in,out] aIterator A pointer to the CoAP message option iterator.
747 * @param[in] aMessage A pointer to the CoAP message.
755 * Returns a pointer to the first option matching the specified option number.
757 * @param[in] aIterator A pointer to the CoAP message option iterator.
760 …* @returns A pointer to the first matching option. If no matching option is present NULL pointer i…
765 * Returns a pointer to the first option.
767 * @param[in,out] aIterator A pointer to the CoAP message option iterator.
769 * @returns A pointer to the first option. If no option is present NULL pointer is returned.
774 * Returns a pointer to the next option matching the specified option number.
776 * @param[in] aIterator A pointer to the CoAP message option iterator.
779 …* @returns A pointer to the next matching option. If no further matching option is present NULL po…
784 * Returns a pointer to the next option.
786 * @param[in,out] aIterator A pointer to the CoAP message option iterator.
788 * @returns A pointer to the next option. If no more options are present NULL pointer is returned.
796 * @param[in,out] aIterator A pointer to the CoAP message option iterator.
797 * @param[out] aValue A pointer to an unsigned integer to receive the option value.
801 * @retval OT_ERROR_NO_BUFS Value is too long to fit in a uint64_t.
810 * @param[in,out] aIterator A pointer to the CoAP message option iterator.
811 * @param[out] aValue A pointer to a buffer to receive the option value.
819 * Creates a new CoAP message.
824 * @param[in] aInstance A pointer to an OpenThread instance.
825 * @param[in] aSettings A pointer to the message settings or NULL to set default settings.
827 …* @returns A pointer to the message buffer or NULL if no message buffers are available or paramete…
832 * Sends a CoAP request with custom transmission parameters.
834 …* If a response for a request is expected, respective function and context information should be p…
837 * @param[in] aInstance A pointer to an OpenThread instance.
838 * @param[in] aMessage A pointer to the message to send.
839 * @param[in] aMessageInfo A pointer to the message info associated with @p aMessage.
840 …* @param[in] aHandler A function pointer that shall be called on response reception or ti…
841 * @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.
842 …* @param[in] aTxParameters A pointer to transmission parameters for this request. Use NULL for…
860 * Sends a CoAP request block-wise with custom transmission parameters.
865 …* If a response for a request is expected, respective function and context information should be p…
866 * If the response is expected to be block-wise, a respective hook function should be provided.
869 * @param[in] aInstance A pointer to an OpenThread instance.
870 * @param[in] aMessage A pointer to the message to send.
871 * @param[in] aMessageInfo A pointer to the message info associated with @p aMessage.
872 …* @param[in] aHandler A function pointer that shall be called on response reception or ti…
873 * @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.
874 …* @param[in] aTxParameters A pointer to transmission parameters for this request. Use NULL for…
875 * @param[in] aTransmitHook A pointer to a hook function for outgoing block-wise transfer.
876 * @param[in] aReceiveHook A pointer to a hook function for incoming block-wise transfer.
892 * Sends a CoAP request block-wise.
897 …* If a response for a request is expected, respective function and context information should be p…
898 * If the response is expected to be block-wise, a respective hook function should be provided.
901 * @param[in] aInstance A pointer to an OpenThread instance.
902 * @param[in] aMessage A pointer to the message to send.
903 * @param[in] aMessageInfo A pointer to the message info associated with @p aMessage.
904 …* @param[in] aHandler A function pointer that shall be called on response reception or timeo…
905 * @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.
906 * @param[in] aTransmitHook A pointer to a hook function for outgoing block-wise transfer.
907 * @param[in] aReceiveHook A pointer to a hook function for incoming block-wise transfer.
926 * Sends a CoAP request.
928 …* If a response for a request is expected, respective function and context information should be p…
931 * @param[in] aInstance A pointer to an OpenThread instance.
932 * @param[in] aMessage A pointer to the message to send.
933 * @param[in] aMessageInfo A pointer to the message info associated with @p aMessage.
934 …* @param[in] aHandler A function pointer that shall be called on response reception or timeo…
935 * @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.
953 * @param[in] aInstance A pointer to an OpenThread instance.
964 * @param[in] aInstance A pointer to an OpenThread instance.
971 * Adds a resource to the CoAP server.
973 * @param[in] aInstance A pointer to an OpenThread instance.
974 * @param[in] aResource A pointer to the resource.
979 * Removes a resource from the CoAP server.
981 * @param[in] aInstance A pointer to an OpenThread instance.
982 * @param[in] aResource A pointer to the resource.
987 * Adds a block-wise resource to the CoAP server.
989 * @param[in] aInstance A pointer to an OpenThread instance.
990 * @param[in] aResource A pointer to the resource.
995 * Removes a block-wise resource from the CoAP server.
997 * @param[in] aInstance A pointer to an OpenThread instance.
998 * @param[in] aResource A pointer to the resource.
1005 * @param[in] aInstance A pointer to an OpenThread instance.
1006 * @param[in] aHandler A function pointer that shall be called when an unhandled request arrives.
1007 * @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.
1012 * Sends a CoAP response from the server with custom transmission parameters.
1014 * @param[in] aInstance A pointer to an OpenThread instance.
1015 * @param[in] aMessage A pointer to the CoAP response to send.
1016 * @param[in] aMessageInfo A pointer to the message info associated with @p aMessage.
1017 …* @param[in] aTxParameters A pointer to transmission parameters for this response. Use NULL fo…
1029 * Sends a CoAP response block-wise from the server with custom transmission parameters.
1034 * @param[in] aInstance A pointer to an OpenThread instance.
1035 * @param[in] aMessage A pointer to the CoAP response to send.
1036 * @param[in] aMessageInfo A pointer to the message info associated with @p aMessage.
1037 …* @param[in] aTxParameters A pointer to transmission parameters for this response. Use NULL fo…
1038 * @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.
1039 * @param[in] aTransmitHook A pointer to a hook function for outgoing block-wise transfer.
1053 * Sends a CoAP response block-wise from the server.
1058 * @param[in] aInstance A pointer to an OpenThread instance.
1059 * @param[in] aMessage A pointer to the CoAP response to send.
1060 * @param[in] aMessageInfo A pointer to the message info associated with @p aMessage.
1061 * @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.
1062 * @param[in] aTransmitHook A pointer to a hook function for outgoing block-wise transfer.
1078 * Sends a CoAP response from the server.
1080 * @param[in] aInstance A pointer to an OpenThread instance.
1081 * @param[in] aMessage A pointer to the CoAP response to send.
1082 * @param[in] aMessageInfo A pointer to the message info associated with @p aMessage.