TCPIP_Helper_MACAddressToString Function

C

bool TCPIP_Helper_MACAddressToString(
    const TCPIP_MAC_ADDR* macAddr, 
    char* buff, 
    size_t buffSize
);

Description

This function will convert a MAC address to a string representation.

Preconditions

None.

Parameters

ParametersDescription
macAddrPointer to address to convert.
buffBuffer to store the string representation.
buffSizeSize of the buffer.

Returns

  • True - A MAC address was successfully decoded.

  • False - macAddr == 0 or buff == 0 or supplied buffer was not large enough or the format was incorrect.

Remarks

None.