Jump to main content

##

# 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

Parameters | Description
--- | ---
macAddr | Pointer to address to convert.
buff | Buffer to store the string representation.
buffSize | Size 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.