mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 14:29:54 +00:00
[docs] fix typos in comments and variable name (#2132)
This commit is contained in:
committed by
Jonathan Hui
parent
293d0d4c66
commit
d4e6b8302e
+1
-1
@@ -173,7 +173,7 @@
|
|||||||
|
|
||||||
## Standards
|
## Standards
|
||||||
|
|
||||||
- OpenThread uses and enfores both Python 2 and Python 3. Support for Python 2 is a result of the fact that some current Linux distributions and Macs are still using 2.x as default.
|
- OpenThread uses and enforces both Python 2 and Python 3. Support for Python 2 is a result of the fact that some current Linux distributions and Macs are still using 2.x as default.
|
||||||
|
|
||||||
## Conventions and Best Practices
|
## Conventions and Best Practices
|
||||||
|
|
||||||
|
|||||||
@@ -328,7 +328,7 @@ otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, const uint16_t
|
|||||||
* Remove an extended address from the source address match table.
|
* Remove an extended address from the source address match table.
|
||||||
*
|
*
|
||||||
* @param[in] aInstance The OpenThread instance structure.
|
* @param[in] aInstance The OpenThread instance structure.
|
||||||
* @param[in] aExtAddress The extended address to be removed stoerd in little-endian byte order.
|
* @param[in] aExtAddress The extended address to be removed stored in little-endian byte order.
|
||||||
*
|
*
|
||||||
* @retval OT_ERROR_NONE Successfully removed the extended address from the source match table.
|
* @retval OT_ERROR_NONE Successfully removed the extended address from the source match table.
|
||||||
* @retval OT_ERROR_NO_ADDRESS The extended address is not in source address match table.
|
* @retval OT_ERROR_NO_ADDRESS The extended address is not in source address match table.
|
||||||
|
|||||||
@@ -62,11 +62,11 @@ namespace ot {
|
|||||||
namespace MeshCoP {
|
namespace MeshCoP {
|
||||||
|
|
||||||
DatasetManager::DatasetManager(ThreadNetif &aThreadNetif, const Tlv::Type aType, const char *aUriSet,
|
DatasetManager::DatasetManager(ThreadNetif &aThreadNetif, const Tlv::Type aType, const char *aUriSet,
|
||||||
const char *aUriGet, Timer::Handler aTimerHander):
|
const char *aUriGet, Timer::Handler aTimerHandler):
|
||||||
ThreadNetifLocator(aThreadNetif),
|
ThreadNetifLocator(aThreadNetif),
|
||||||
mLocal(aThreadNetif.GetInstance(), aType),
|
mLocal(aThreadNetif.GetInstance(), aType),
|
||||||
mNetwork(aType),
|
mNetwork(aType),
|
||||||
mTimer(aThreadNetif.GetInstance(), aTimerHander, this),
|
mTimer(aThreadNetif.GetInstance(), aTimerHandler, this),
|
||||||
mUriSet(aUriSet),
|
mUriSet(aUriSet),
|
||||||
mUriGet(aUriGet)
|
mUriGet(aUriGet)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ protected:
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DatasetManager(ThreadNetif &aThreadNetif, const Tlv::Type aType, const char *aUriSet, const char *aUriGet,
|
DatasetManager(ThreadNetif &aThreadNetif, const Tlv::Type aType, const char *aUriSet, const char *aUriGet,
|
||||||
TimerMilli::Handler aTimerHander);
|
TimerMilli::Handler aTimerHandler);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method restores the Operational Dataset from non-volatile memory.
|
* This method restores the Operational Dataset from non-volatile memory.
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* This method update addresses that shall be automatically created using DHCP.
|
* This method update addresses that shall be automatically created using DHCP.
|
||||||
*
|
*
|
||||||
* @param[in] aInstance A pointer to openThread instance.
|
* @param[in] aInstance A pointer to OpenThread instance.
|
||||||
* @param[inout] aAddresses A pointer to an array containing addresses created by this module.
|
* @param[inout] aAddresses A pointer to an array containing addresses created by this module.
|
||||||
* @param[in] aNumAddresses The number of elements in aAddresses array.
|
* @param[in] aNumAddresses The number of elements in aAddresses array.
|
||||||
* @param[in] aContext A pointer to IID creator-specific context data.
|
* @param[in] aContext A pointer to IID creator-specific context data.
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* This function update addresses that shall be automatically created using SLAAC.
|
* This function update addresses that shall be automatically created using SLAAC.
|
||||||
*
|
*
|
||||||
* @param[in] aInstance A pointer to openThread instance.
|
* @param[in] aInstance A pointer to OpenThread instance.
|
||||||
* @param[inout] aAddresses A pointer to an array containing addresses created by this module.
|
* @param[inout] aAddresses A pointer to an array containing addresses created by this module.
|
||||||
* @param[in] aNumAddresses The number of elements in aAddresses array.
|
* @param[in] aNumAddresses The number of elements in aAddresses array.
|
||||||
* @param[in] aIidCreator A pointer to function that will be used to create IID for IPv6 addresses.
|
* @param[in] aIidCreator A pointer to function that will be used to create IID for IPv6 addresses.
|
||||||
|
|||||||
Reference in New Issue
Block a user