Takes an integer representing a MAC address and outputs the corresponding hex-colon MAC address as a null-terminated string.
LJM_ERROR_RETURN LJM_NumberToMAC(
unsigned long long Number,
char * MACString)
LJM errorcodes or 0 for no error.
Use this function to get a more human-readable interpretation of a MAC address.
[C/C++] Convert a number into a MAC string.
int LJMError; char MACString[18]; LJMError = LJM_NumberToIP(81952921372024, MACString); printf ("%s \n", MACString); // prints "78:45:C4:26:89:4A"