Parent: 6d4fc88ecc6fe0796848bbf81d8e16e61c8af82e
Author: Jakub Pawlowski <jpawlowski@google.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2015-11-11 09:59:00
Tree: 1aab0761c20552cb3cc5b1c82499f6410a4b4d6c
tools/l2cap-tester: Disconnect during connect attempt test This patch adds test that checks folowing: 1. Try to connect to existing BLE device that is not advertising. 2. Internally in kernel this adds this device to whitelist and enable scan. 3. Make the device advertise once. That would stop the scan, and trigger connect attempt to device. 4. Close socket. This should stop the connect attempt, by sending BT_HCI_CMD_LE_CREATE_CONN_CANCEL.
Diffstat
| M | tools/l2cap-tester.c | | | 111 | ++++++++++++++++++++++++++++++++++++++++- - - - - - |
1 files changed, 105 insertions(+), 6 deletions(-)