Synopsis
CTL_STATUS_t ctl_net_scan_mac_addr(CTL_NET_MAC_ADDR_t *dst,
                                   const char *text);
Description

ctl_net_scan_mac_addr converts the zero-terminated string text into a MAC address in dst. The textual string is in the form "0A 1B 2C 4D F7 78"; the spaces between the octets can be any character, allowing use of both ':' and '-' as separators.

Return Value

ctl_net_scan_mac_addr returns a standard status code.

See Also

ctl_mac_sprint_addr.