From 861558f452b51f8a20db35a30b5dc0492f3ec041 Mon Sep 17 00:00:00 2001 From: Arto Kinnunen Date: Thu, 20 Feb 2020 16:27:25 +0200 Subject: [PATCH] Squashed 'features/nanostack/coap-service/' changes from b919a3366f..e5e0c138e6 e5e0c138e6 Merge pull request #126 from ARMmbed/sync_from_mbedos 475b8f13fc Fixed typo: 'lenght' in coap_service_api.h git-subtree-dir: features/nanostack/coap-service git-subtree-split: e5e0c138e68bfd9a4687e1b02ec4c7c95b2617f6 --- coap-service/coap_service_api.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/coap-service/coap_service_api.h b/coap-service/coap_service_api.h index 99fcf03e4e..edacd971de 100644 --- a/coap-service/coap_service_api.h +++ b/coap-service/coap_service_api.h @@ -184,7 +184,7 @@ extern void coap_service_close_secure_connection(int8_t service_id, uint8_t dest * \param destination_addr_ptr Receiver IPv6 address. * \param port Receiver port number. * \param *data_ptr Pointer to the data. - * \param data_len Lenght of the data. + * \param data_len Length of the data. * * \return 0 for success / -1 for failure */ @@ -199,7 +199,7 @@ typedef int coap_service_virtual_socket_send_cb(int8_t service_id, uint8_t desti * \param source_addr_ptr Receiver IPv6 address. * \param port Receiver port number. * \param *data_ptr Pointer to the data - * \param data_len Lenght of the data + * \param data_len Length of the data * * \return 0 for success / -1 for failure */ @@ -257,7 +257,7 @@ extern int8_t coap_service_unregister_uri(int8_t service_id, const char *uri); * \param *uri Uri address. * \param cont_type Content type can be found from sn_coap_header. * \param payload_ptr Pointer to message content. - * \param payload_len Lenght of the message. + * \param payload_len Length of the message. * \param *request_response_cb Callback to inform result of the request. * * \return msg_id Id number of the current message. @@ -276,7 +276,7 @@ extern uint16_t coap_service_request_send(int8_t service_id, uint8_t options, co * \param message_code Message code can be found from sn_coap_header. * \param content_type Content type can be found from sn_coap_header. * \param payload_ptr Pointer to message content. - * \param payload_len Lenght of the message. + * \param payload_len Length of the message. * * \return -1 For failure *- 0 For success @@ -295,7 +295,7 @@ extern int8_t coap_service_response_send(int8_t service_id, uint8_t options, sn_ * \param message_code Message code can be found from sn_coap_header. * \param content_type Content type can be found from sn_coap_header. * \param payload_ptr Pointer to message content. - * \param payload_len Lenght of the message. + * \param payload_len Length of the message. * * \return -1 For failure *- 0 For success