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

Customize allowed device name length

Hi,

Since there seem to have issues with Android and stuff about long writes, I was wondering if there was a possibility to customize the allowed length in the device name characteristic (0x2A00) since it seems to be automatically declared by the SoftDevice?

We don't need a long device name since it is only used in advertisement (along with vendor data so 10 bytes "is enough for anyone" and don't want to run into issues (writing > 20 bytes in nRF connect cause disconnections, other apps simply mess up with offset and only the last bytes are written).

Except if there's is a way to correctly handle the long write on device name (my search on the great internet & nordic forum didn't led to anything really relevant).

Regards

Related