This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can i fix the MAC Address in nRF52832?

I develop BLE Beacon device using nRF52832.

I want to set the device name by combining "XXXX" and the lower 3byte of  MAC Address.

"XXXX" is used to recognize it as a company product, and MAC Address means the unique ID of the device.

However, the this post says MAC Addresses are randomly formed.

Is there a way to fix this MAC Address?

Thank you for reading it.

Jacker.

  • Hi Jeong, 

    Currently our chip use the MAC address based on the device Addr. The device Addr is generated randomly (it's generated in production and it doesn't change)

    You can set the device name to anything you want. It doesn't have to match with the MAC address. Change the device name using: sd_ble_gap_device_name_set()

    In addition, you can change the device Bluetooth address ( i assume it's the MAC address you are asking here). You can do that using this function sd_ble_gap_addr_set() 

Related