diff options
author | Jakub Tyszkowski <jakub.tyszkowski@tieto.com> | 2014-07-18 11:50:13 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-07-18 13:21:26 +0200 |
commit | 57e63ba067e8d174df3678d5ecc8faa4bb1ebc66 (patch) | |
tree | 32c523187775daf5c0dea4a832411ceaa64354a8 /tools/l2cap-tester.c | |
parent | 01e2d2833b71422a5415dafc2ac2f4513a99529f (diff) | |
download | bluez-57e63ba067e8d174df3678d5ecc8faa4bb1ebc66.tar.gz |
emulator: Add flags param to advertise enabling function
This allows to pass additional parameter describing wheter to set
flags parameter in advertising data.
This is needed to make device discoverable.
Diffstat (limited to 'tools/l2cap-tester.c')
-rw-r--r-- | tools/l2cap-tester.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c index 79362b2fc..6841341c5 100644 --- a/tools/l2cap-tester.c +++ b/tools/l2cap-tester.c @@ -535,7 +535,7 @@ static void setup_powered_client_callback(uint8_t status, uint16_t length, bthost = hciemu_client_get_host(data->hciemu); bthost_set_cmd_complete_cb(bthost, client_cmd_complete, user_data); if (data->hciemu_type == HCIEMU_TYPE_LE) - bthost_set_adv_enable(bthost, 0x01); + bthost_set_adv_enable(bthost, 0x01, 0x00); else bthost_write_scan_enable(bthost, 0x03); } |