Commit Graph

1587 Commits

Author SHA1 Message Date
Giovanni Campagna
d0682a5f25 hid2hci: fix regression in /dev format after moving away from libusb
The paths under /dev, in the default udev configuration, are formatted
with two leading zeros, but the number obtained from sysfs don't have
them, so we must convert them to integers and reformat them.
2013-11-04 20:06:25 +02:00
Johan Hedberg
35b7d4b353 tools/mgmt-tester: Rename 'LE-only' to 'LE' for nicer logs 2013-10-30 16:12:32 +02:00
Johan Hedberg
7522cd327a tools/mgmt-tester: Add LE test for set_connectable when limited discoverable
We also need to update the order of the initial settings since limited
discoverable is only allowed when powered on.
2013-10-30 15:53:41 +02:00
Johan Hedberg
395eba9b17 tools/mgmt-tester: Add LE test for connectable off when discoverable 2013-10-30 15:44:19 +02:00
Johan Hedberg
e5748af3d1 tools/mgmt-tester: Add basic LE-only discoverable on test case 2013-10-30 15:33:56 +02:00
Johan Hedberg
6b2d2e8097 tools/mgmt-tester: Add basic LE-only limited discoverable on test case 2013-10-30 15:26:06 +02:00
Johan Hedberg
09da9e2fbb tools/mgmt-tester: Add basic BR/EDR limited discoverable on test cases 2013-10-30 15:10:25 +02:00
Johan Hedberg
f83187dd40 tools/mgmt-tester: Fix sending right set_discoverable parameters in setup 2013-10-30 14:47:46 +02:00
Johan Hedberg
20c2fedb79 tools/mgmt-tester: Fix calling test_setup twice 2013-10-30 14:43:47 +02:00
Johan Hedberg
8071e96a3e tools/l2cap-tester: Fix command reject expected responses
Invalid CID responses also contain the CID(s) that were invalid.
2013-10-23 14:11:21 +03:00
Johan Hedberg
c7fca37570 tools/mgmt-tester: Add a couple of LE-only connectable-off tests 2013-10-22 15:47:10 +03:00
Johan Hedberg
94a9b4fa7d tools/mgmt-tester: Add basic connectable advertising test case 2013-10-21 17:10:50 +03:00
Johan Hedberg
3fe3c05dcd tools/mgmt-tester: Add basic LE-only set_connectable test cases 2013-10-21 16:52:44 +03:00
Johan Hedberg
6199aa4e19 tools/mgmt-tester: Add 'Not Supported' test case for set_fast_connectable 2013-10-21 16:52:44 +03:00
Johan Hedberg
919ef7d099 tools/mgmt-tester: Remove unnecessary "no-BR/EDR" setup helpers 2013-10-21 15:18:47 +03:00
Johan Hedberg
75ec3768e1 tools/mgmt-tester: Add disable_bredr and discov_limited to generic setup 2013-10-21 15:18:17 +03:00
Johan Hedberg
901aadcd2b tools/mgmt-tester: Rename setup_le_nobr_powered to setup_nobr_powered 2013-10-21 15:05:17 +03:00
Johan Hedberg
e01aa88bc0 tools/mgmt-tester: Rename setup_le_callback to setup_nobr_callback 2013-10-21 14:58:23 +03:00
Johan Hedberg
e3df5294d3 tools/mgmt-tester: Minor formatting fix 2013-10-21 14:53:47 +03:00
Johan Hedberg
6dc17e0759 tools/mgmt-tester: Remove unnecessary setup_start_discovery_callback function 2013-10-21 14:51:10 +03:00
Johan Hedberg
9e5fad37f6 tools/mgmt-tester: Remove unneeded setup_ssp_powered function 2013-10-21 14:30:29 +03:00
Johan Hedberg
f14029be29 tools/mgmt-tester: Remove unneeded setup_le_powered function 2013-10-21 14:30:29 +03:00
Johan Hedberg
9aad8dafb2 tools/mgmt-tester: Remove unneeded setup_le function 2013-10-21 14:30:29 +03:00
Johan Hedberg
415e1bb9d8 tools/mgmt-tester: Remove unneeded setup_ssp function 2013-10-21 14:30:29 +03:00
Johan Hedberg
faca2bb506 tools/mgmt-tester: Remove unneeded setup_link_sec_powered function 2013-10-21 14:30:28 +03:00
Johan Hedberg
ea64c4a2f1 tools/mgmt-tester: Remove unneeded setup_link_sec function 2013-10-21 14:30:28 +03:00
Johan Hedberg
20cecea601 tools/mgmt-tester: Remove unneeded setup_connectable function 2013-10-21 14:30:28 +03:00
Johan Hedberg
c973ac9f80 tools/mgmt-tester: Remove unneeded setup_powered_connectable function 2013-10-21 14:30:28 +03:00
Johan Hedberg
7a448b99a8 tools/mgmt-tester: Remove unneeded setup_powered_discoverable function 2013-10-21 14:30:28 +03:00
Johan Hedberg
da44f2c7a7 tools/mgmt-tester: Remove unnecessary setup_powered function 2013-10-21 14:30:28 +03:00
Johan Hedberg
403ddcc508 tools/mgmt-tester: Add basic ability to list initial settings 2013-10-21 14:30:28 +03:00
Johan Hedberg
9c2efe6185 tools/mgmt-tester: Refactor all setup calls to a centralized function 2013-10-21 14:30:27 +03:00
Johan Hedberg
483cd7ad54 tools/mgmt-tester: Remove (now) unnecessary powered delay option 2013-10-21 14:30:27 +03:00
Johan Hedberg
9cfeff18c0 tools/mgmt-tester: Add set_connectable(off) while discoverable test 2013-10-21 14:30:27 +03:00
Claudio Takahasi
969a171deb l2test: Set CID due to socket restrictions for LE
Bluetooth kernel now restricts LE L2CAP sockets to ATT channels only.
For LE L2CAP socket bind, ATT CID is now mandatory. Reference: kernel patch
bfe4655f05d7ec4a7c0c1c7e4051862f824cd8ec
2013-10-16 23:33:26 +03:00
Marcel Holtmann
e66de31c5a tools: Add command for setting limited discoverable mode 2013-10-15 14:30:02 -07:00
Luiz Augusto von Dentz
fb27a70742 tools/obexctl: Add destination info to prompt 2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
8348e53d25 tools/obexctl: Add rm command support for MAP messages
Add rm command support for MAP messages which can be used to set Delete
property using Message interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
82f72d168b tools/obexctl: Add send command support for MAP messages
Add send command support for MAP messages which can be used to push
messages using MessageAccess interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
12451a9a7f tools/obexctl: Add cp command support for MAP messages
Add cp command support for MAP messages which can be used to copy message
contents using Message interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
a5d2a89d61 tools/obexctl: Add info command support for MAP messages
Add info command support for MAP messages which can be used to print
the details of objects using Message interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
0314ac2e08 tools/obexctl: Add proxy handling for org.bluez.obex.Message1
This adds proxy handling for org.bluez.obex.Message1 so changes to the
proxy are printed in the output.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
8a43562ff9 tools/obexctl: Add ls command support for MAP sessions
Add ls command support for MAP session which can be used to list current
folder using MessageAccess interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
124208b749 tools/obexctl: Add cd command support for MAP sessions
Add cd command support for MAP session which can be used to set current
folder using MessageAccess interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
84b66d104d tools/obexctl: Add proxy handling for org.bluez.obex.MessageAccess1
This adds proxy handling for org.bluez.obex.MessageAccess1 so changes
to the proxy are printed in the output.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
ae7d33d350 tools/obexctl: Add cp command support for PBAP sessions
Add cp command support for PBAP sessions which can be used to pull
contacts for the current phonebook using PhonebookAccess interface.
2013-10-15 16:50:21 +03:00
Luiz Augusto von Dentz
df42537091 tools/obexctl: Add ls command support for PBAP sessions
Add ls command support for PBAP sessions which can be used to list
current phonebook using PhonebookAccess interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
cb61428a73 tools/obexctl: Add cd command support for PBAP sessions
Add cd command support for PBAP session whic can be used to change
current phonebook using PhonebookAccess interface.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
fe22983f43 tools/obexctl: Add proxy handling for org.bluez.obex.PhonebookAccess1
This adds proxy handling for org.bluez.obex.PhonebookAccess1 so changes
to the proxy are printed in the output.
2013-10-15 16:50:20 +03:00
Luiz Augusto von Dentz
0998328a5b tools/obexctl: Print ETA time when transfer size is known
This prints ETA together with the speed if property Size is set.
2013-10-15 16:50:20 +03:00