i need to change the ble device name in a firmware for kw41z. Into app_config.c file, there is an gapAdStructure_t array named advScanStruct. The last element of this array contains:
.adType = gAdShortenedLocalName_c,
.length = 5,
.aData = (uint8_t *)("NAME")
I changed .aData and .length and it work if i use a name with less of 8 characters. I tried to use.adType = gAdCompleteLocalName_c and it is the same.
How can i use more characters? i need 9 characaters.
Hi Marco, I hope you're doing well!
There is a characteristic in the gatt_db.h header file of the BLE examples called char_device_name with a value of "value_device_name". The number before the name itself corresponds to the length of your device name string. Could you please try changing the name through here?
Please let me know if you continue to have issues.