commit | f61851f64b171a684f5a1fa78325756dbbaadadc | [log] [tgz] |
---|---|---|
author | Michał Narajowski <michal.narajowski@codecoup.pl> | Wed Oct 19 10:20:27 2016 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Oct 19 18:42:37 2016 +0200 |
tree | a6296b4aecf3903a33de96608eef7c27bcbd1663 | |
parent | 5e2bd93b8fcac8c0cf83f189d996831fb21f2db3 [diff] |
Bluetooth: Fix append max 11 bytes of name to scan rsp data Append maximum of 10 + 1 bytes of name to scan response data. Complete name is appended only if exists and is <= 10 characters. Else append short name if exists or shorten complete name if not. This makes sure name is consistent across multiple advertising instances. Signed-off-by: Michał Narajowski <michal.narajowski@codecoup.pl> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>