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

Can i set macaddress in bootloader and advertising it?

bootloader.rar(/attachment/d5fd4fbbc7d37433740f6c9468f3110b) bootloader_dfu.rar Hi,all.i want to set same macaddress with my app in bootloader,and advertise it in bootloader,that my phone can know the device is the updating device.Can do it as this?Thanks a lot!

Parents Reply
  • @wuvo: I don't see the same result as your. On Master Control Panel app I can see the DFUTARG device name. In your case you had the issue because you tried to put all the device name, service uuid, and manufacturing data in to the scan response, which of course doesn't have enough space (31 bytes). If you remove the service uuid in the scan response, it should be fine.

    I attached in my answer the modified dfu_transport_ble.c file, please replace your file and let me know the result.

Children
No Data
Related