Converts a 6 byte MAC address into a null terminated string.
- Parameters
-
| [in] | addr | MAC address. |
| [out] | str_mac | Pointer to a character buffer will contain the resulting text address in standard ":" notation.
The str_mac buffer must be at least 18 bytes long (FNET_MAC_ADDR_STR_SIZE). |
- Returns
- This function always returns the
str_mac.
- See also
- fnet_str_to_mac()
This function takes an MAC-48 address, specified by the addr parameter, and returns a null-terminated ASCII string, represented by six groups of two hexadecimal digits, separated by colons (:), in transmission order (e.g. 01:23:45:67:89:ab ), into buffer pointed to by the str_mac.