Parent: 2c65fc85885dd82c75f25b22dffee764c773efab
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-08-10 16:32:05
Tree: a64268e945e2e1b5a7f0d9d70a094721f7c3c5cd
advertising: Don't depend on kernel to include an appearance The flag to include an Appearance may not be available in older kernels so instead of depending on the kernel to add it just generate it locally and add as part of advertising data: @ MGMT Command: Add Advertising (0x003e) plen 15 Instance: 1 Flags: 0x00000003 Switch into Connectable mode Advertise as Discoverable Duration: 0 Timeout: 0 Advertising data length: 4 Appearance: Unknown (0x0000) Scan response length: 0
Diffstat
| M | src/advertising.c | | | 15 | +++++++++++++- - |
1 files changed, 13 insertions(+), 2 deletions(-)