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

nRF5 bluetooth name length limit shorter with SDK12 than with SDK8?

In our earlier projects with nRF51 and SDK 8 we used to have bluetooth device names of length 13 or 14 characters. However, when using nRF52 and SDK 12 I noticed that the code taken from SDK examples now limits the Bluetooth name to a maximum of 12 characters. What is the reason for that, and can I somehow set a longer name?

Parents
  • An advertising packet contains 28 bytes of usable data (31 with flags). If you extend this limit the device name will be shorten. If you need to have the whole device name, you will need to reduce some of the other data you have in the advertising packet. You will need to take a look at the advertising_init() function. Maybe you can put some of the other data into the scan response packet?

Reply
  • An advertising packet contains 28 bytes of usable data (31 with flags). If you extend this limit the device name will be shorten. If you need to have the whole device name, you will need to reduce some of the other data you have in the advertising packet. You will need to take a look at the advertising_init() function. Maybe you can put some of the other data into the scan response packet?

Children
No Data
Related