mirror of
https://github.com/espressif/openthread.git
synced 2026-07-26 22:09:05 +00:00
[docs] change thrNetworkKey for docs (#6810)
This commit is contained in:
@@ -53,7 +53,7 @@ extern "C" {
|
||||
* @note This number versions both OpenThread platform and user APIs.
|
||||
*
|
||||
*/
|
||||
#define OPENTHREAD_API_VERSION (135)
|
||||
#define OPENTHREAD_API_VERSION (136)
|
||||
|
||||
/**
|
||||
* @addtogroup api-instance
|
||||
|
||||
@@ -378,11 +378,11 @@ otLinkModeConfig otThreadGetLinkMode(otInstance *aInstance);
|
||||
otError otThreadSetLinkMode(otInstance *aInstance, otLinkModeConfig aConfig);
|
||||
|
||||
/**
|
||||
* Get the thrNetworkKey.
|
||||
* Get the Thread Network Key.
|
||||
*
|
||||
* @param[in] aInstance A pointer to an OpenThread instance.
|
||||
*
|
||||
* @returns A pointer to a buffer containing the thrNetworkKey.
|
||||
* @returns A pointer to a buffer containing the Thread Network Key.
|
||||
*
|
||||
* @sa otThreadSetNetworkKey
|
||||
*
|
||||
@@ -390,16 +390,16 @@ otError otThreadSetLinkMode(otInstance *aInstance, otLinkModeConfig aConfig);
|
||||
const otNetworkKey *otThreadGetNetworkKey(otInstance *aInstance);
|
||||
|
||||
/**
|
||||
* Set the thrNetworkKey.
|
||||
* Set the Thread Network Key.
|
||||
*
|
||||
* This function succeeds only when Thread protocols are disabled. A successful
|
||||
* call to this function invalidates the Active and Pending Operational Datasets in
|
||||
* non-volatile memory.
|
||||
*
|
||||
* @param[in] aInstance A pointer to an OpenThread instance.
|
||||
* @param[in] aKey A pointer to a buffer containing the thrNetworkKey.
|
||||
* @param[in] aKey A pointer to a buffer containing the Thread Network Key.
|
||||
*
|
||||
* @retval OT_ERROR_NONE Successfully set the thrNetworkKey.
|
||||
* @retval OT_ERROR_NONE Successfully set the Thread Network Key.
|
||||
* @retval OT_ERROR_INVALID_ARGS If aKeyLength is larger than 16.
|
||||
* @retval OT_ERROR_INVALID_STATE Thread protocols are enabled.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user