mirror of
https://github.com/espressif/openthread.git
synced 2026-09-24 18:07:36 +00:00
[docs] fixed some common typos (#9752)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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>`.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user