Commit: 068e0ba214b9f4ec448a6f28be969d974094e5b4
Parent: 5b9596dac4d0e25c5179be8643726a02c058b00a
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-11-02 16:03:41
Tree: bd63a551f20946a4156ace6fea01e61cd88a41a9

client: Add set-advertise-{duration, timeout} This adds the following command which can be used to control the advertisement intervals: [bluetooth]# set-advertise-duration 4 [bluetooth]# set-advertise-timeout 4 [bluetooth]# advertise on [CHG] Controller B8:8A:60:D8:17:D7 SupportedInstances: 0x04 [CHG] Controller B8:8A:60:D8:17:D7 ActiveInstances: 0x01 Advertising object registered [CHG] Controller B8:8A:60:D8:17:D7 SupportedInstances: 0x05 [CHG] Controller B8:8A:60:D8:17:D7 ActiveInstances: 0x00

Diffstat

M client/advertising.c | 50 ++++++++++++++++++++++++++++++++++++++++
M client/advertising.h | 2 ++
M client/main.c | 42 ++++++++++++++++++++++++++++++++++++++++

3 files changed, 94 insertions(+), 0 deletions(-)

View Full Diff | Patch