diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-05-21 16:21:05 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-05-24 11:09:31 +0300 |
commit | 806276fe54faf7438a6e22959019621c5cd8b3cd (patch) | |
tree | 658cabecd4ebf44e83dc7b1d549b85fc8dea8743 /android | |
parent | 86ed237fc6197f9085b17923d6a631856638c94a (diff) | |
download | bluez-806276fe54faf7438a6e22959019621c5cd8b3cd.tar.gz |
client: Add advertise.discoverable-timeout command
This adds advertise.discoverable-timeout command which can be used to
limit the amount of time the advertisement is discoverable:
[bluetooth]# advertise.discoverable on
[bluetooth]# advertise.discoverable-timeout 10
[bluetooth]# advertise on
@ MGMT Command: Add Advertising (0x003e) plen 14
Instance: 1
Flags: 0x00000001
Switch into Connectable mode
Duration: 0
Timeout: 0
Advertising data length: 3
Flags: 0x02
LE General Discoverable Mode
Scan response length: 0
@ MGMT Event: Advertising Added (0x0023) plen 1
Instance: 1
@ MGMT Event: Command Complete (0x0001) plen 4
Add Advertising (0x003e) plen 1
Status: Success (0x00)
Instance: 1
@ MGMT Command: Add Advertising (0x003e) plen 14
Instance: 1
Flags: 0x00000001
Switch into Connectable mode
Duration: 0
Timeout: 0
Advertising data length: 3
Flags: 0x00
Scan response length: 0
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions