mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 14:47:46 +00:00
[network-diagnostic] add method documentation for GetNextDiagTlv (#4992)
This commit is contained in:
committed by
Jonathan Hui
parent
c4faeea067
commit
c90f5f3f3e
@@ -100,6 +100,19 @@ public:
|
||||
*/
|
||||
otError SendDiagnosticReset(const Ip6::Address &aDestination, const uint8_t aTlvTypes[], uint8_t aCount);
|
||||
|
||||
/**
|
||||
* This static method gets the next Network Diagnostic TLV in a given message.
|
||||
*
|
||||
* @param[in] aMessage A message.
|
||||
* @param[inout] aIterator The Network Diagnostic iterator. To get the first TLV it should be set to
|
||||
* OT_NETWORK_DIAGNOSTIC_ITERATOR_INIT.
|
||||
* @param[out] aNetworkDiagTlv A reference to a Network Diagnostic TLV to output the next TLV.
|
||||
*
|
||||
* @retval OT_ERROR_NONE Successfully found the next Network Diagnostic TLV.
|
||||
* @retval OT_ERROR_NOT_FOUND No subsequent Network Diagnostic TLV exists in the message.
|
||||
* @retval OT_ERROR_PARSE Parsing the next Network Diagnostic failed.
|
||||
*
|
||||
*/
|
||||
static otError GetNextDiagTlv(const Coap::Message & aMessage,
|
||||
otNetworkDiagIterator &aIterator,
|
||||
otNetworkDiagTlv & aNetworkDiagTlv);
|
||||
|
||||
Reference in New Issue
Block a user