[cli] add 'childip' command to cli for getting ip addresses of MTD children (#3791)

This commit is contained in:
Ciaran Woodward
2019-04-30 18:40:40 -07:00
committed by Jonathan Hui
parent 617f8958dd
commit 267a3b3e29
5 changed files with 76 additions and 9 deletions
+16
View File
@@ -3086,6 +3086,22 @@ otThreadGetChildInfoByIndex(
return DwordToThreadError(QueryIOCTL(aInstance, IOCTL_OTLWF_OT_CHILD_INFO_BY_INDEX, &aChildIndex, aChildInfo));
}
OTAPI
otError
OTCALL
otThreadGetChildNextIp6Address(
_In_ otInstance *aInstance,
uint8_t aChildIndex,
_Inout_ otChildIp6AddressIterator *aIterator,
_Out_ otIp6Address *aAddress)
{
if (aInstance == nullptr) return OT_ERROR_INVALID_ARGS;
UNREFERENCED_PARAMETER(aChildIndex);
UNREFERENCED_PARAMETER(aIterator);
UNREFERENCED_PARAMETER(aAddress);
return OT_ERROR_NOT_IMPLEMENTED; // TODO
}
OTAPI
otError
OTCALL