Commit Graph

522 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
7641572bde tools: Remove simple-service
simple-service no longer works since the API it uses no longer exists and
Profile API already has a similar tool.
2014-04-22 10:44:44 +03:00
Andrzej Kaczmarek
79bd6bcee4 test: Fix cyclingspeed manager interface name 2014-03-19 14:04:40 +02:00
Andrzej Kaczmarek
294326c099 test: Add missing import in cyclingspeed 2014-03-19 14:04:38 +02:00
Marcel Holtmann
ea05fb38b1 build: Move gatt-service test utility into tools directory 2014-03-06 09:46:57 -08:00
Claudio Takahasi
8359c49a07 test: Add registering external service
This patch extends gatt-service to call RegisterService() when org.bluez
service gets connected to the system bus.
2014-03-06 16:53:30 +02:00
Claudio Takahasi
c3fd22e8b1 test: Add signal handling for gatt-service
This patch implements signal handling to run cleanup tasks before
exiting.
2014-03-06 16:53:12 +02:00
Claudio Takahasi
533e4559fc test: Add external service GATT skeleton
This patch adds the initial code for an external GATT service example.
It implements the API defined at doc/gatt-api.txt
2014-03-06 16:53:03 +02:00
Petri Gynther
7adf8d09b4 test: Python import cleanup
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
2014-01-18 00:38:39 -08:00
Johan Hedberg
c6e0cd59c4 test/test-hfp: Fix passing missing backlog parameter to sco.listen() 2013-09-29 17:26:16 +03:00
Luiz Augusto von Dentz
6e8cf9a167 test/test-nap: Fix interface name 2013-08-21 15:10:38 +03:00
Anderson Lizardo
32f40223cd test: Fix ProximityMonitor1 interface name typo in test-proximity 2013-07-26 09:23:37 -07:00
Anderson Lizardo
6666f31313 cyclingspeed: Fix MultipleLocationsSupported property name usage
MultipleLocationsSupported is the correct property name, as implemented
in profiles/cyclingspeed/cyclingspeed.c.
2013-07-23 21:43:04 -07:00
Emilio Pozuelo Monfort
c15edf7466 test/ftp-client: Fix syntax error for python 3.0 2013-05-17 10:29:53 +03:00
Luiz Augusto von Dentz
943d6daf73 test: Fix opp-client not printing progress
This avoid KeyError expection and fixes print usage.
2013-04-17 13:43:45 +03:00
Luiz Augusto von Dentz
1090c954ec test: Add -p/--push option to map-client
This option can be used to push messages, it takes as a parameter a
file location which should contain the message in bmsg format.
2013-02-07 13:49:00 +02:00
Johan Hedberg
e9c1672ada test: Fix missing call to parser.parse_args() in test-proximity 2013-02-04 14:29:15 +02:00
Johan Hedberg
065bcf4b15 test: Use a 60-second timeout for pairing 2013-01-25 11:44:16 +02:00
Luiz Augusto von Dentz
2022997b20 tools: Fix pbap-client to use new print syntax 2013-01-23 13:52:04 +02:00
Luiz Augusto von Dentz
b4f482375a tools: Fix map-client to use new print syntax
print now requires () on newer python:
  File "./map-client", line 101
    print err
            ^
2013-01-14 17:42:06 +02:00
Luiz Augusto von Dentz
7b57d92c6b test: Update test-player to register using MPRIS interface 2013-01-10 16:36:02 +02:00
Luiz Augusto von Dentz
8a6a963d3e test: Adapt simple-player to the new API of MediaPlayer1 2013-01-10 16:36:01 +02:00
Johan Hedberg
af8df0a28d test: Update test-adapter to deal with the new Alias property 2013-01-04 14:39:16 +02:00
Luiz Augusto von Dentz
c7ea48bd52 test: Make OBEX related scripts python 3 compatible 2012-12-21 23:26:11 +02:00
Luiz Augusto von Dentz
20baf80f00 test: Port simple-obex-agent to the new API 2012-12-21 23:25:24 +02:00
Marcel Holtmann
8b9083836d test: Handle IO exceptions from PBAP client 2012-12-21 19:05:33 +01:00
Luiz Augusto von Dentz
da068075ce obexd: Rename Progress property to Transferred 2012-12-21 14:53:42 +02:00
Luiz Augusto von Dentz
3f8a7724e8 test: Update map-client to use the new interfaces 2012-12-21 12:04:10 +02:00
Luiz Augusto von Dentz
941595fabd test: Update pbap-client to use the new interfaces 2012-12-21 12:04:10 +02:00
Luiz Augusto von Dentz
507a1d4322 test: Update ftp-client to use the new interfaces 2012-12-21 12:04:10 +02:00
Luiz Augusto von Dentz
6022cbc431 test: Update opp-client to use the new interfaces 2012-12-21 12:04:10 +02:00
Luiz Augusto von Dentz
3d49a88306 test: Update simple-obex-agent to use the new interface names 2012-12-21 11:59:40 +02:00
Johan Hedberg
c78791b8fe test: Make it possible to call test-network with a "connect" parameter 2012-12-21 10:31:01 +02:00
Johan Hedberg
c85791d312 test: Fix test-network logging after a successful connection 2012-12-21 10:11:24 +02:00
Johan Hedberg
dab3eafc0e Revert "build: Remove test-network"
This reverts commit 9efcb970ce.

Conflicts:
	Makefile.tools
2012-12-21 09:49:12 +02:00
Johan Hedberg
98b4797764 health: Use lower-case strings for enum values (for consistency) 2012-12-21 00:18:18 +02:00
Marcel Holtmann
aa2cd043ed test: Remove no longer test-service script 2012-12-20 03:27:44 +01:00
Marcel Holtmann
2935c04e3d build: Remove support for external OOB plugin 2012-12-20 00:23:53 +01:00
Johan Hedberg
43af5ef5a3 test: Remove non-exitent items from test-device help text 2012-12-20 00:34:38 +02:00
Johan Hedberg
6cd899c172 test: Remove non-existent features from test-device 2012-12-20 00:10:45 +02:00
Johan Hedberg
bec7ef3c3c test: Update test-discovery to cope with removed DevicesFound signal
This patch updates test-discovery to reply only on ObjectManager and
standard D-Bus properties signals for device discovery.
2012-12-19 11:23:39 +02:00
Johan Hedberg
50383bf5b3 test: Fix obexd object path in test scripts 2012-12-19 09:42:45 +02:00
Marcel Holtmann
1bbe30a9af test: Update to new org.bluez.obex service name 2012-12-18 21:25:56 +01:00
Johan Hedberg
1b1c92ddad test: Update simple-agent to match latest agent API 2012-12-18 17:16:55 +02:00
João Paulo Rechi Vita
7d93368c38 test: Update simple-agent to new API
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
2012-12-18 00:22:26 +01:00
Luiz Augusto von Dentz
3a9d39d879 test: Fix pbap-client to handle PullAll reply properly
PullAll reply consist in 2 parameters, the transfer object followed by
its properties not a structure containing both.
2012-12-17 16:32:02 +02:00
Johan Hedberg
1c698db14c test: Make simple-agent accept BlueZ 4 style invocation 2012-12-17 15:02:05 +02:00
Johan Hedberg
46ab65b9f1 test: Update simple-agent to use AgentManager1.RequestDefault 2012-12-17 14:26:10 +02:00
Johan Hedberg
d1711f9000 test: Remove non-existent agent callback from simple-agent 2012-12-17 13:57:44 +02:00
Johan Hedberg
b0342b5093 test: Update simple-agent to match AgentManager1 interface 2012-12-17 13:26:17 +02:00
Luiz Augusto von Dentz
9f4d7d9ac3 test: Update map-client to use D-Bus properties interface 2012-12-16 13:26:03 +02:00