Commit: 172e68c59f8cff319e456ef3923d3834a89b5494
Parent: 9fb1f9ff694c387e7547b897ff1cd4c95d1063da
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:31:42
Tree: f0c75be494692366584c3bbd7faee18bc741a165

client: Add set-advertise-name and set-advertise-appearance set-advertise-appearance enables the use of adapter's appearance in the scan response: [bluetooth]# set-advertise-appearance on [bluetooth]# advertise on @ MGMT Command: Add Advertising (0x003e) plen 11 Instance: 1 Flags: 0x00000023 Switch into Connectable mode Advertise as Discoverable Add Appearance field to Scan Response Duration: 0 Timeout: 0 Advertising data length: 0 Scan response length: 0 set-advertise-name enables the use of adapter's name/alias in the scan response: [bluetooth]# set-advertise-name on [bluetooth]# advertise on @ MGMT Command: Add Advertising (0x003e) plen 11 Instance: 1 Flags: 0x00000043 Switch into Connectable mode Advertise as Discoverable Add Local Name in Scan Response Duration: 0 Timeout: 0 Advertising data length: 0 Scan response length: 0

Diffstat

M client/advertising.c | 166 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M client/advertising.h | 4 +++-
M client/main.c | 48 ++++++++++++++++++++++++++++++++++++++++- -

3 files changed, 156 insertions(+), 62 deletions(-)

View Full Diff | Patch