@@ -53,16 +53,16 @@ typedef void (*coap_client_response_cb_t)(int16_t result_code,
5353 * @brief Representation of a CoAP client request.
5454 */
5555struct coap_client_request {
56- enum coap_method method ; /**< Method of the request */
57- bool confirmable ; /**< CoAP Confirmable/Non-confirmable message */
58- const char * path ; /**< Path of the requested resource */
59- enum coap_content_format fmt ; /**< Content format to be used */
60- uint8_t * payload ; /**< User allocated buffer for send request */
61- size_t len ; /**< Length of the payload */
62- coap_client_response_cb_t cb ; /**< Callback when response received */
63- struct coap_client_option * options ; /**< Extra options to be added to request */
64- uint8_t num_options ; /**< Number of extra options */
65- void * user_data ; /**< User provided context */
56+ enum coap_method method ; /**< Method of the request */
57+ bool confirmable ; /**< CoAP Confirmable/Non-confirmable message */
58+ const char * path ; /**< Path of the requested resource */
59+ enum coap_content_format fmt ; /**< Content format to be used */
60+ const uint8_t * payload ; /**< User allocated buffer for send request */
61+ size_t len ; /**< Length of the payload */
62+ coap_client_response_cb_t cb ; /**< Callback when response received */
63+ const struct coap_client_option * options ; /**< Extra options to be added to request */
64+ uint8_t num_options ; /**< Number of extra options */
65+ void * user_data ; /**< User provided context */
6666};
6767
6868/**
0 commit comments