Problems with sd_ble_gap_device_name_set

Good afternoon,

         The 'sd_ble_gap_device_name_Set' seems to have a limit of 10chars when defining the device name. In principle, it should be 31. Why do I have this limit?

Best regards,

Dani.