Max length of device name

What is the maximum length for the device names?

#2

63 characters

(less if not using english as characters are UTF8 encoded)