Network
IntroductionPlatform APIs for network and interfaces. Functions
GetInterfaceMACAddressReturns Ethernet MAC address of interface OSStatus GetInterfaceMACAddress( const char *inInterfaceName, uint8_t *outMACAddress ); ParametersGetPrimaryMACAddressPlatformGets the 6-byte MAC address of the primary network interface. extern OSStatus GetPrimaryMACAddressPlatform( uint8_t outMAC[ 6 ] ); Return ValueScalar version of the 6-byte MAC address. DiscussionAccessories with a WiFi interface should always return the MAC address of the WiFi interface as the primary MAC address, even when the WiFi interface is inactive. |