Skip to content

Commit

Permalink
[docs] fixed some common typos (openthread#9752)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhodie committed Jan 8, 2024
1 parent d81c6fa commit f40eeeb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/openthread/coap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion include/openthread/dns_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>`.
Expand Down
2 changes: 1 addition & 1 deletion include/openthread/instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/openthread/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openthread/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f40eeeb

Please sign in to comment.