Report
3 years, 6 months ago.

get mac address from nRF51-dongle

Hi, all

I want to get mac address from my device nRF51-dongle.

I try mbed_mac_address(mac) function, but the mac is the default value(00:02:F7:F0:00:00).

get mac

    char mac[6];
    mbed_mac_address(mac);
    printf("mac addr: \n ");
    for(int i=0; i<6; i++) {
        printf("%02X ", mac[i]);
    }
    printf("---\n");

The mbed_mac_address() can't be used for nRF51-dongle?

How can I get mac address from nRF51-dongle?

Thanks!

Comment on this question

1 Answer


To post an answer, please log in.