Parent: 2abf31b9f07c82199c2a66be971de5fa4a6d2b3f
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-08-16 11:16:03
Tree: 8e6b1cda68e690412a6bef6a7fb00b75052446de
client: Add advertise command This adds advertise command which uses org.bluez.LEAdvertisingManager1 to add an advertising instance: [bluetooth]# advertise broadcast off on peripheral [bluetooth]# advertise on Advertising object registered @ Advertising Added: 1 < HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32 Length: 3 Flags: 0x02 LE General Discoverable Mode [bluetooth]# advertise off Advertising object unregistered @ Advertising Removed: 1 < HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1 Advertising: Disabled (0x00)
Diffstat
| M | Makefile.tools | | | 2 | ++ |
| A | client/advertising.c | | | 179 | ++++++++++++++++++++++++++++++++++++++++ |
| M | client/main.c | | | 93 | ++++++++++++++++++++++++++++++++++++++++ |
3 files changed, 274 insertions(+), 0 deletions(-)