openthread_sys

Function otIp6AddressFromString

Source
pub unsafe extern "C" fn otIp6AddressFromString(
    aString: *const c_char,
    aAddress: *mut otIp6Address,
) -> otError
Expand description

Converts a human-readable IPv6 address string into a binary representation.

@param[in] aString A pointer to a NULL-terminated string. @param[out] aAddress A pointer to an IPv6 address.

@retval OT_ERROR_NONE Successfully parsed @p aString and updated @p aAddress. @retval OT_ERROR_PARSE Failed to parse @p aString as an IPv6 address.