[−][src]Function openthread_sys::otCoapMessageAppendUriPathOptions
pub unsafe extern "C" fn otCoapMessageAppendUriPathOptions(
aMessage: *mut otMessage,
aUriPath: *const c_char
) -> otError
This function appends a Uri-Path option.
@param[inout] aMessage A pointer to the CoAP message. @param[in] aUriPath A pointer to a NULL-terminated string.
@retval OT_ERROR_NONE Successfully appended the option. @retval OT_ERROR_INVALID_ARGS The option type is not equal or greater than the last option type. @retval OT_ERROR_NO_BUFS The option length exceeds the buffer size.