Skip to content

Commit d4cff72

Browse files
authored
Merge pull request #12443 from DavidLin1577/patch-4
Fixed typo: 'lenght' in coap_service_api.h
2 parents 6a79d0e + e8f632a commit d4cff72

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: features/nanostack/coap-service/coap-service/coap_service_api.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ extern void coap_service_close_secure_connection(int8_t service_id, uint8_t dest
184184
* \param destination_addr_ptr Receiver IPv6 address.
185185
* \param port Receiver port number.
186186
* \param *data_ptr Pointer to the data.
187-
* \param data_len Lenght of the data.
187+
* \param data_len Length of the data.
188188
*
189189
* \return 0 for success / -1 for failure
190190
*/
@@ -199,7 +199,7 @@ typedef int coap_service_virtual_socket_send_cb(int8_t service_id, uint8_t desti
199199
* \param source_addr_ptr Receiver IPv6 address.
200200
* \param port Receiver port number.
201201
* \param *data_ptr Pointer to the data
202-
* \param data_len Lenght of the data
202+
* \param data_len Length of the data
203203
*
204204
* \return 0 for success / -1 for failure
205205
*/
@@ -257,7 +257,7 @@ extern int8_t coap_service_unregister_uri(int8_t service_id, const char *uri);
257257
* \param *uri Uri address.
258258
* \param cont_type Content type can be found from sn_coap_header.
259259
* \param payload_ptr Pointer to message content.
260-
* \param payload_len Lenght of the message.
260+
* \param payload_len Length of the message.
261261
* \param *request_response_cb Callback to inform result of the request.
262262
*
263263
* \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
276276
* \param message_code Message code can be found from sn_coap_header.
277277
* \param content_type Content type can be found from sn_coap_header.
278278
* \param payload_ptr Pointer to message content.
279-
* \param payload_len Lenght of the message.
279+
* \param payload_len Length of the message.
280280
*
281281
* \return -1 For failure
282282
*- 0 For success
@@ -295,7 +295,7 @@ extern int8_t coap_service_response_send(int8_t service_id, uint8_t options, sn_
295295
* \param message_code Message code can be found from sn_coap_header.
296296
* \param content_type Content type can be found from sn_coap_header.
297297
* \param payload_ptr Pointer to message content.
298-
* \param payload_len Lenght of the message.
298+
* \param payload_len Length of the message.
299299
*
300300
* \return -1 For failure
301301
*- 0 For success

0 commit comments

Comments
 (0)