Date:2016-11-19 11:30:15 (3 years 22 days ago)
Author:Stefan Schmidt
Commit:ae1455cc7dadfaa494c792217d1e4a53efb2747e
Message:atusb-eui64: print out set address with upper case characters in hex

Align read out format with parameter format to allow easier
scripting for production.
Files: tools/atusb-eui64/atusb-eui64.c (1 diff)

Change Details

tools/atusb-eui64/atusb-eui64.c
153153        get_eui64(dev, eui64, EUI64_LEN);
154154        printf("Current EUI64 address from EEPROM: ");
155155        for (i = 0; i < EUI64_LEN; i++) {
156            printf("%02x", eui64[EUI64_LEN - 1 - i]);
156            printf("%02X", eui64[EUI64_LEN - 1 - i]);
157157            if (i < EUI64_LEN -1)
158158                printf(":");
159159        }

Archive Download the corresponding diff file



interactive