[Firmware]BSSID giving incorrect value for last byte

Hello All

I received by Photon kit today, enthusiastically set it up, wrote a small code to print the MAC address of my WiFi router.

The last byte(last nibble of last byte) is printed incorrectly. All other bytes are correct.

byte bssid[6];
Serial.printlnf("%02X:%02X:%02X:%02X:%02X:%02X", bssid[0], bssid[1], bssid[2], bssid[3], bssid[4], bssid[5]);

bssid[5] gives incorrect value.

The code runs on 0.4.9 system firmware.

Has anyone faced this?


2016-02-25: No updates yet…Could anyone suggest? Thanks.

Works OK on my Photon.

Do you have a dual-band router? Does it show a different MAC address for each of 2.4G and 5G?

My router’s control panel shows that it has one MAC address for the LAN and 2.4G, and a different MAC for 5G. However, when I do ‘arp -a’ on devices connected to each of the three interfaces they are all showing the same MAC (the one for LAN and 2.4G). I wasn’t expecting that. I suppose it’s possible that the 5G one is hard-coded to a MAC but dynamically changes it once the router has started up.