Re: [PATCH 2/4] Use stored device name (if any) instead of EIR data

Anderson Lizardo
2010-12-27T15:21:18Z

Hi,

On Mon, Dec 27, 2010 at 10:35 AM, Anderson Lizardo
<anderson.lizardo@openbossa.org> wrote:
> I've not found any references to the spec saying the shortened name
> has to be a prefix. I believe it is left to the implementer how to
> display such shortened names. bluez so far has made no distinction on
> the display of shortened names vs. complete names.

Interestingly, on Volume 3, Part C, 11.1.2, it is mentioned that for
Advertising Data (i.e. LE devices):

"A shortened name shall only contain contiguous
characters from the beginning of the full name. For example, if the device name
is ‘BT_Device_Name’ then the shortened name over BR/EDR could be
‘BT_Device’ while the shortened name on LE could be ‘BT_Dev’."

Nothing is said on the EIR format, though (see Vol 3, Part C, 8.1.2).

Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil