Other Parts Discussed in Thread: CC2540, CC2541DK-MINI, CC2541
Hello,
I am doing an initial study about the features of CC2540/41Mini Development Kit and I was wondering about the device name attribute maximum length.
Based on some earlier discussions, I understood that there is maximum length of 20 bytes for the device name attribute. I checked some of the sample applications (KeyFobDemo, SimpleBLEPeripheral, and so on) and saw that the device name (and the 20 byte limitation) is probably defined in the sample code as follows:
static uint8 attDeviceName[GAP_DEVICE_NAME_LEN] = "TI BLE Keyfob";
#define GAP_DEVICE_NAME_LEN (20+1)
My questions:
1. Is it possible to use longer device names than 20 bytes/characters?
2. What is the maximum length for the device name?
3. Is this also the "visible name" for the device that is broadcasted and can be seen in mobile phones or other BT devices?
4. What has to be changed in the code in order to define longer device name? Is it enough if I change the previously mentioned definitions?
I noticed that there is related, but unanswered question here: e2e.ti.com/.../242464
Best regards,
Jaakko