Finding own MAC address.



  • I want to find out a SyPy device's own Bluetooth MAC address.

    I can use machine.unique_id to get a 6 byte address but I don't know whether this is for the Wi-Fi or the Bluetooth. How can I specifically find the Bluetooth MAC address?

    Is it possible to set or spoof an address?



  • Hi,

    have you find out how to discover Bluetooth Mac address? i cannot find this information nowhere.
    machine.unique_id and network.WLAN().mac() commands give the same mac address but if you put the device in ble advertising mode and scan the traffic with an Android app, you can see it is different from the previous ones.



Pycom on Twitter