summaryrefslogtreecommitdiff
path: root/test/simple-agent
Commit message (Collapse)AuthorAgeFilesLines
* test: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- LGPL-2.1-or-later : 35 License: LGPL-2.1-or-later test/agent.py test/bluezutils.py test/dbusdef.py test/example-advertisement test/example-endpoint test/example-gatt-client test/example-gatt-server test/example-player test/exchange-business-cards test/ftp-client test/get-managed-objects test/get-obex-capabilities test/list-devices test/list-folders test/map-client test/monitor-bluetooth test/opp-client test/pbap-client test/sap_client.py test/simple-endpoint test/simple-obex-agent test/simple-player test/test-adapter test/test-device test/test-discovery test/test-gatt-profile test/test-health test/test-health-sink test/test-hfp test/test-manager test/test-mesh test/test-nap test/test-network test/test-profile test/test-sap-server
* test: Python import cleanupPetri Gynther2014-01-181-3/+5
| | | | | | | | | | | | | Some test scripts use "from gi.repository import GObject" whereas others use "import gobject". gi.repository is not always available on embedded systems, so convert all instances to this format: try: from gi.repository import GObject except ImportError: import gobject as GObject Also, sort the imports in this order: system, dbus, gobject, bluezutils
* test: Use a 60-second timeout for pairingJohan Hedberg2013-01-251-1/+2
|
* test: Update simple-agent to match latest agent APIJohan Hedberg2012-12-181-1/+1
|
* test: Update simple-agent to new APIJoão Paulo Rechi Vita2012-12-181-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method org.bluez.Device.Pair() doesn't have arguments anymore. This commit fixes the following error: $ test/simple-agent hci0 4C:B1:99:F1:BC:E9 Agent registered ERROR:dbus.connection:Unable to set arguments (u'/test/agent', u'Keybo ardDisplay') according to signature '': <type 'exceptions.TypeError'>: Fewer items found in D-Bus signature than in Python arguments Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 586 , in msg_reply_handler reply_handler(*message.get_args_list(**get_args_opts)) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 391, i n _introspect_reply_handler self._introspect_execute_queue() File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 378, i n _introspect_execute_queue proxy_method(*args, **keywords) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 132, i n __call__ **keywords) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 566 , in call_async message.append(signature=signature, *args) TypeError: Fewer items found in D-Bus signature than in Python argumen ts
* test: Make simple-agent accept BlueZ 4 style invocationJohan Hedberg2012-12-171-0/+5
|
* test: Update simple-agent to use AgentManager1.RequestDefaultJohan Hedberg2012-12-171-0/+2
|
* test: Remove non-existent agent callback from simple-agentJohan Hedberg2012-12-171-9/+0
|
* test: Update simple-agent to match AgentManager1 interfaceJohan Hedberg2012-12-171-10/+13
|
* core: Append version to Agent interfaceLuiz Augusto von Dentz2012-12-141-10/+14
|
* dbus: Rename to org.bluez.Device1Mikel Astiz2012-12-051-2/+2
| | | | | Trivially add the numbering suffix to org.bluez.Device according to the proposal for BlueZ 5.
* test: Avoid using Adapter.FindDevice()Mikel Astiz2012-12-051-7/+5
| | | | | The method is now deprecated and thus the replacement utility library should be used in the test scripts.
* test: Avoid using DefaultAdapter()Mikel Astiz2012-12-051-7/+3
| | | | | Call the utility library -which uses ObjectManager API- to avoid using Manager.FindAdapter() and Manager.DefaultAdapter().
* test: Add RequestAuthorization support to simple-agentJohan Hedberg2012-12-041-0/+9
|
* agent: Rename Authorize to AuthorizeServiceJohan Hedberg2012-12-041-2/+2
|
* test: Add auto-trust and auto-connect to simple-agentJohan Hedberg2012-11-231-0/+17
|
* test: Add timeout option to simple-agentJohan Hedberg2012-10-151-2/+15
|
* test: Update simple-agent to support the new Device.Pair APIJohan Hedberg2012-10-151-10/+9
|
* simple-agent: Update to match correct DisplayPasskey APIJohan Hedberg2012-09-041-3/+4
|
* simple-agent: Fix input with python version < 3.0Johan Hedberg2012-06-181-5/+11
| | | | | | input() in python < 3.0 is the same as eval(raw_input()) which is not what we want. With python >= 3.0 in turn raw_input doesn't exist. This patch fixes support for both versions by a simple try-except clause.
* Update tests to be compatible with gi and python3Steve Langasek2012-06-151-20/+22
| | | | | | | | | This patch makes the python tests source-compatible with python 3, while leaving the interpreter at python 2 for now. The tradeoff is that this source is no longer compatible with python versions < 2.6, and requires gobject-introspection for the glib-based tests.
* simple-agent: Use a higher (60s) timeout for pairingJohan Hedberg2012-06-051-0/+1
|
* simple-agent: add DisplayPinCodeScott James Remnant2012-04-121-0/+5
|
* simple-agent: Ensure passkeys are padded to 6 digitsJohan Hedberg2012-02-021-2/+2
|
* simple-agent: Update default capability to KeyboardDisplayJohan Hedberg2012-02-021-1/+1
| | | | | Now that both user space and kernel mgmt code supports this new capability it makes sense to set it as the default for simple-agent.
* Add capability option to simple-agentDmitriy Paliy2011-06-151-7/+17
| | | | | A new option is added to simple-agent facilitating use of "DisplayOnly", "DisplayYesNo", "KeyboardOnly" and "NoInputNoOutput" agent capabilities.
* Make simple-agent to ask user to authorize mode changesLuiz Augusto von Dentz2010-09-021-0/+4
|
* Add to simple-agent the ability to reject authorization requests.Luiz Augusto von Dentz2009-06-161-0/+4
|
* Move test scripts into test directoryMarcel Holtmann2008-09-011-0/+112