nn::uds::CTR::GetMacAddress Functionnn::Result GetMacAddress( bit8 pMacAddress[MAC_ADDRESS_SIZE] );
| Name | Description | |
|---|---|---|
| out | pMacAddress[MAC_ADDRESS_SIZE] | The MAC address of the local host. |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
ResultNotAuthorized |
A state where the MAC address could not be acquired. Also returned when the library is not yet initialized. |
| A value other than the above | Failed for reasons other than those given above. |
Gets the MAC address of the local host. (Used in debugging)
This function is used to check and obtain the MAC address of the running device when debugging communication-related features.
The MAC address is a unique value for each system, but it may change if the system is repaired or otherwise modified. To identify a particular system, use the nn::cfg::CTR::GetTransferableId function instead.
nn::cfg::CTR::GetTransferableId in Description.CONFIDENTIAL