Assigning custom MAC address for DFU & Application (production line)

Hello,

     Is there any special area where I can save custom MAC address for each device ?

Basically I need to assign unique name and MAC address which the DFU and application should be able to share and I need to do it automate it at the time of production.

  • I cannot do it by patching some area in soft device. May be I can add it inside DFU bootloader somewhere on a fixed address and patch it at the time of production and the application can read it coz the location is fixed and is inside bootloader. But if I update bootloader for any reason, it shouldn't change.
  • Another option I am thinking is to keep a small area reserved in between the bootloader and the application.
  • Os is there any better solution for this ? Can I save it somewhere inside UICR registers ?