mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 22:57:47 +00:00
Add note/comment to describe the behavior of otAddUnicastAddress() (#220)
This commit changes the documentation for `otAddUnicastAddress` in "openthread.h" to describe/clarify its behavior.
This commit is contained in:
committed by
Jonathan Hui
parent
4cddb988a3
commit
d365f3aaa3
@@ -441,6 +441,10 @@ const otNetifAddress *otGetUnicastAddresses(void);
|
||||
/**
|
||||
* Add a Network Interface Address to the Thread interface.
|
||||
*
|
||||
* The passed in instance @p aAddress will be added and stored by the Thread interface, so the caller should ensure
|
||||
* that the address instance remains valid (not de-alloacted) and is not modified after a successful call to this
|
||||
* method.
|
||||
*
|
||||
* @param[in] aAddress A pointer to a Network Interface Address.
|
||||
*
|
||||
* @retval kThreadErrorNone Successfully added the Network Interface Address.
|
||||
|
||||
Reference in New Issue
Block a user