[docs] fixed some common typos (#9752)

This commit is contained in:
jrhodie
2024-01-08 13:55:25 -08:00
committed by GitHub
parent d81c6fab98
commit f40eeeb145
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ typedef void (*otCoapResponseHandler)(void *aContext,
typedef void (*otCoapRequestHandler)(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo);
/**
* Pointer is called when a CoAP message with an block-wise transfer option is received.
* Pointer is called when a CoAP message with a block-wise transfer option is received.
*
* Is available when OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE configuration
* is enabled.
+1 -1
View File
@@ -408,7 +408,7 @@ otError otDnsBrowseResponseGetServiceName(const otDnsBrowseResponse *aResponse,
* MUST only be used from `otDnsBrowseCallback`.
*
* The response may include multiple service instance records. @p aIndex can be used to iterate through the list. Index
* zero gives the the first record. When we reach end of the list, `OT_ERROR_NOT_FOUND` is returned.
* zero gives the first record. When we reach end of the list, `OT_ERROR_NOT_FOUND` is returned.
*
* Note that this function gets the service instance label and not the full service instance name which is of the form
* `<Instance>.<Service>.<Domain>`.
+1 -1
View File
@@ -53,7 +53,7 @@ extern "C" {
* @note This number versions both OpenThread platform and user APIs.
*
*/
#define OPENTHREAD_API_VERSION (388)
#define OPENTHREAD_API_VERSION (389)
/**
* @addtogroup api-instance
+1 -1
View File
@@ -231,7 +231,7 @@ typedef void (*otTcpDisconnected)(otTcpEndpoint *aEndpoint, otTcpDisconnectedRea
/**
* Represents a TCP endpoint.
*
* An TCP endpoint acts an endpoint of TCP connection. It can be used to
* A TCP endpoint acts an endpoint of TCP connection. It can be used to
* initiate TCP connections, and, once a TCP connection is established, send
* data to and receive data from the connection peer.
*
+1 -1
View File
@@ -238,7 +238,7 @@ typedef void (*otDetachGracefullyCallback)(void *aContext);
* @param[in] aEnabled TRUE if Thread is enabled, FALSE otherwise.
*
* @retval OT_ERROR_NONE Successfully started Thread protocol operation.
* @retval OT_ERROR_INVALID_STATE The network interface was not not up.
* @retval OT_ERROR_INVALID_STATE The network interface was not up.
*
*/
otError otThreadSetEnabled(otInstance *aInstance, bool aEnabled);