Hello Dialog_Support team,
Regarding device name, we have observed that, device name’s length depends on advertising data string length. For example if we changed device name from “DIALOG-PRPH” to “Testing-DeviceNew”, the advertising data string length also gets changed and it goes beyond 32 bytes so DA14580 is not able to read the advertising data after 32nd byte. Scan response is an option to read more bytes but in our scenario, it is not feasible.
Is there any way where if i change device name length then the length of the advertising data's will not change?
Thanks and Regards,
Ruchi Patel
Keywords:
Device:
Hi Ruchi Patel,
The advertisement packet is shared by the USER_ADVERTISE_DATA and USER_DEVICE_NAME. The effective bytes available to the user is only 28 bytes out of the 31 bytes as 3 bytes are reserved for setting flag data. Since this is spec related limitation, you will not be able to fit more than 28 bytes of data in the Adv packets. But if you do not have any Adv data, then you can fill all the bytes with the Device name. If you do have Adv data then only the remaining bytes can be used for the Device name.
Other than this, you can include the complete Device name in a DIS service. But again this requires a connection to be established to read the characterisitics.
Best,
LC_Dialog