pub unsafe extern "C" fn otThreadGetChildInfoById(
    aInstance: *mut otInstance,
    aChildId: u16,
    aChildInfo: *mut otChildInfo
) -> otError
Expand description

Gets diagnostic information for an attached Child by its Child ID or RLOC16.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aChildId The Child ID or RLOC16 for the attached child. @param[out] aChildInfo A pointer to where the child information is placed.

@retval OT_ERROR_NONE @p aChildInfo was successfully updated with the info for the given ID. @retval OT_ERROR_NOT_FOUND No valid child with this Child ID. @retval OT_ERROR_INVALID_ARGS If @p aChildInfo is NULL.