Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Convert a Media Access Control (MAC) address into a hexadecimal address string.

Files

net_ascii.h/net_ascii.c

Prototype

Code Block
          void NetASCII_MAC_to_Str(CPU_INT08U   *p_addr_mac,
                                   CPU_CHAR     *p_addr_mac_ascii,
                                   CPU_BOOLEAN   hex_lower_case,
                                   CPU_BOOLEAN   hex_colon_sep,
                                   NET_ERR      *p_err);

Arguments

p_addr_mac

Pointer to a memory buffer of NET_ASCII_NBR_OCTET_ADDR_MAC bytes in size that contains the MAC address.

...

NET_ASCII_ERR_NONE
NET_ASCII_ERR_NULL_PTR

Returned Value

None.

Required Configuration

None.

Notes / Warnings

None.