nRF52832 / SDK V15.0.0 / nRF connect / DFU OTA Buttonless
Hello,
My device name is 21 chars but it is truncated and appears as 20 chars in nRF Connect "Discovery devices" list.
I know it's normal:I've added the battery service along the original NUS service:
static ble_uuid_t m_adv_uuids[] = {
{BLE_UUID_NUS_SERVICE, BLE_UUID_TYPE_BLE},
{BLE_UUID_BATTERY_SERVICE, BLE_UUID_TYPE_BLE}
};
The truncation is done in "ret_code_t name_encode()" and the 31 chars allocated to the device name are actually used also for other elements. So de facto it shortens length for the device name.
But when I connect to the device, I see in "nRF Connect" the device name is displayed correctly (in the small window appearing at the middle), so it means the full device name is conveyed through the BLE connection.
Then, is there a way to overcome this issue by telling the sniffer to display the full name in the "Discovery devices" list instead of taking it from these 31 chars?
(I can't check how this device is displayed in Android or IoS)
Thanks.
John.