Commit Graph

522 Commits

Author SHA1 Message Date
Vinicius Costa Gomes
803bff258b test: Add a HFP HF endpoint to simple-endpoint 2012-12-04 07:56:12 +02:00
Andrzej Kaczmarek
d2e88bfc99 test: Update proximity test script 2012-11-30 15:25:12 +02:00
Johan Hedberg
ca2f14cd10 test: Check for correct interface in test-thermometer 2012-11-30 15:05:47 +02:00
Andrzej Kaczmarek
21589560a5 test: Update test-thermometer for DBus.Properties 2012-11-30 15:04:43 +02:00
Luiz Augusto von Dentz
8ee5727781 test: Convert simple-player to use DBus properties interface 2012-11-30 10:31:01 +02:00
Luiz Augusto von Dentz
ff18a087e4 test: Convert mpris-player to use DBus properties interface 2012-11-30 10:30:56 +02:00
Johan Hedberg
f52d9e7e54 rctest: Fix missing sys/stat.h include needed by S_IRUSR 2012-11-28 16:15:53 +02:00
Luiz Augusto von Dentz
9efcb970ce build: Remove test-network
test-network is no longer needed since Network interface does not have
Connect/Disconnect methods anymore and similar functionality is already
provided by test-device.
2012-11-26 17:41:35 +02:00
Luiz Augusto von Dentz
d6aace74c6 build: Remove test-input
test-audio is no longer needed since the Input interface is now removed
and similar functionality is already provided by test-device.
2012-11-26 17:41:35 +02:00
Luiz Augusto von Dentz
bdf0af3b2e build: Remove test-audio
test-audio is no longer needed since the Audio interface is now removed
and similar functionality is already provided by test-device.
2012-11-26 17:41:34 +02:00
Johan Hedberg
24221371db test: Add RequestDisconnection support to test-hfp 2012-11-26 16:59:34 +02:00
Johan Hedberg
5ff74495a7 test: Remove AutoConnect from test-hfp since it's now the default 2012-11-26 15:07:23 +02:00
Johan Hedberg
d5a97358c9 test: Add auto-trust and auto-connect to simple-agent 2012-11-23 13:54:33 +02:00
Johan Hedberg
80efa0ed85 test: Add RequestDisconnection support to test-profile 2012-11-20 14:16:13 +02:00
Johan Hedberg
89949e2e58 gaptest: Update to use D-Bus properties 2012-11-20 13:10:52 +02:00
Frédéric Dalleau
3fd3d5fbcc btiotest: Enable deferred setup for sco sockets 2012-11-20 12:21:24 +02:00
Frédéric Dalleau
0658a51f51 scotest: Add deferred setup option 2012-11-20 12:19:41 +02:00
Johan Hedberg
2e82b4bc2f test: Add simple HFP test script 2012-11-19 20:53:58 +02:00
Johan Hedberg
53cbe8d365 test: Add support for dynamic channels and PSMs to test-profile 2012-11-17 06:54:37 +02:00
Johan Hedberg
fe57c2641a test: Add random UUID support to test-profile 2012-11-17 06:54:37 +02:00
Johan Hedberg
9e02ef2242 test: Add support for profile Service property 2012-11-16 15:47:31 +02:00
Johan Hedberg
f0b3a334af test: Remove hardcoded default name from test-profile 2012-11-15 13:32:46 +02:00
Johan Hedberg
b8e2029938 test: Remove unneeded XML record from test-profile 2012-11-14 15:59:41 +02:00
Johan Hedberg
a80776f84f test: Remove useless record handle from test-profile record XML 2012-11-14 15:37:16 +02:00
Luiz Augusto von Dentz
88f597d329 test: Remove test-telephony
This API is now gone so there is no reason to keep this around
2012-11-14 15:10:07 +02:00
Johan Hedberg
db16bed29c test: Add ConnectProfile and DisconnectProfile support to test-device 2012-11-13 12:36:38 +02:00
Johan Hedberg
92056d5dae test: Fix fd_properties printing 2012-11-13 12:36:38 +02:00
Johan Hedberg
bf1299b695 test: Add HFP test case to test-profile 2012-11-13 10:25:03 +02:00
Johan Hedberg
5f8e548ca9 test: Print fd_properties in test-profile 2012-11-13 10:24:58 +02:00
Johan Hedberg
bfc07e509d test: Update get-managed-objects to support Python 3 2012-11-10 12:05:08 +02:00
Marcel Holtmann
fe6a611505 test: Add test script for getting managed objects 2012-11-09 20:26:26 +01:00
Marcel Holtmann
0e163a6526 test: Update changes for new Profile Manager interface 2012-11-09 20:25:22 +01:00
Johan Hedberg
c4b6d03767 core: Add fd_properties parameter to Profile.NewConnection 2012-11-09 16:52:48 +02:00
Luiz Augusto von Dentz
43f865a8be test: Add support for using external player
This add support for passing a device player object which is then
registered as a local one in a loopback fashion.
2012-10-31 10:38:47 +02:00
Luiz Augusto von Dentz
5a23a20d16 test: Fix using Number instead of Track in mpris-player 2012-10-31 10:38:45 +02:00
Luiz Augusto von Dentz
135e87f58f test: Fix using Number instead of Track in simple-player 2012-10-31 10:38:42 +02:00
Johan Hedberg
01a2495a83 test: List only specified adapter's devices in list-devices 2012-10-17 17:38:38 +03:00
Johan Hedberg
58345dec54 test: Add timeout option to simple-agent 2012-10-15 15:03:06 +03:00
Johan Hedberg
be9a675626 test: Update simple-agent to support the new Device.Pair API 2012-10-15 14:25:54 +03:00
Andrzej Kaczmarek
6f4d4e0390 heartrate: Convert to DBus.Properties 2012-10-13 22:30:33 +03:00
Johan Hedberg
3b025cb748 test: Update test-discovery to match new API 2012-10-12 18:03:09 +03:00
Johan Hedberg
b1f1b58eec test: Update test-discovery to support the latest API 2012-10-12 18:02:34 +03:00
Gustavo Padovan
389d4f1c80 rctest: add option to save received data to file
works only for automated test option for now
2012-10-12 17:53:03 +03:00
Gustavo Padovan
03d1b7a4b0 rctest: add automated test
adds -a option to enable automated tests. We use the -i option to define
the receiving side and the -a define the sending side:

./rctest -i hci0 -a hci1
2012-10-12 17:53:00 +03:00
Vinicius Costa Gomes
7a63b8a0e6 test: Add support for passing address type to btiotest 2012-10-11 08:56:36 +02:00
Andrzej Kaczmarek
be551a275b thermometer: Update test script 2012-10-09 17:53:05 +02:00
Johan Hedberg
6efe73c147 test: Convert test-device to ObjectManager & D-Bus Properties 2012-10-09 12:45:41 +02:00
Johan Hedberg
17dc0666a8 test: Convert test-adapter to ObjectManager & D-Bus Properties 2012-10-09 12:27:29 +02:00
Johan Hedberg
e1a3b474e9 test: Update list-devices to ObjectManager 2012-10-09 12:03:03 +02:00
Anderson Lizardo
2983d07c6d alert: Implement Release() agent method
This method allows BlueZ to notify the agent that it will not be used
anymore, and can thus cleanup itself (e.g. deallocate D-Bus object, or
exit).
2012-10-03 22:29:34 +03:00
Eder Ruiz Maria
f4a4aa33f6 alert: Add test-alert script
This script is useful for testing the Alert API and testing the
implementation with PTS.
2012-10-03 22:28:20 +03:00
Rafal Garbat
e05ba1470b heartrate: Add test script 2012-09-28 13:21:11 +03:00
Johan Hedberg
363c8de2dd test: Fix fd handling in test-profile 2012-09-27 22:15:39 +03:00
Johan Hedberg
9e0714c2b1 test: Fix signature of Profile.NewConnection in test-profile 2012-09-26 16:29:09 +03:00
Johan Hedberg
f752bac242 test: Add PSM and Channel options to test-profile 2012-09-26 15:13:20 +03:00
Johan Hedberg
ac06c7f76c test: Improve test-profile functionality 2012-09-26 14:50:40 +03:00
Johan Hedberg
3278dc2e66 test: Add some more options to test-profile registration 2012-09-25 19:17:00 +03:00
Johan Hedberg
384f7e11a7 test: Add test-profile test script 2012-09-25 15:38:45 +03:00
Johan Hedberg
6ee8f62e85 test: Add command for Device.Connect() 2012-09-25 12:40:42 +03:00
Johan Hedberg
d3634b4b82 test: Add compact mode to test-discovery 2012-09-07 14:12:33 +03:00
Szymon Janc
b3fa97f8e7 hciemu: Fix build errors due to unaligned memory access
This fix following build errors on ARM.

  CC     test/hciemu.o
test/hciemu.c: In function num_completed_pkts:
test/hciemu.c:429:4: error: cast increases required alignment of target
	 type [-Werror=cast-align]
test/hciemu.c:430:4: error: cast increases required alignment of target
	type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [test/hciemu.o] Error 1
make: *** [all] Error 2
2012-09-05 12:29:51 +03:00
Szymon Janc
f00bdeb27a scotest: Fix compilation errors due to unaligned memory access
This fix following build errors on ARM.

  CC     test/scotest.o
test/scotest.c: In function send_mode:
test/scotest.c:272:4: error: cast increases required alignment of
	target type [-Werror=cast-align]
test/scotest.c:273:4: error: cast increases required alignment of
	target type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [test/scotest.o] Error 1
make: *** [all] Error 2
2012-09-05 12:16:50 +03:00
Szymon Janc
9139fc4ea3 rctest: Fix compilation errors due to unaligned memory access
This fix following build errors on ARM.

  CC     test/rctest.o
test/rctest.c: In function do_send:
test/rctest.c:539:4: error: cast increases required alignment of target
	type [-Werror=cast-align]
test/rctest.c:540:4: error: cast increases required alignment of target
	type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [test/rctest.o] Error 1
2012-09-05 12:16:38 +03:00
Szymon Janc
89cb335422 l2test: Fix compilation errors due to unaligned memory access
This fix following build errors on ARM.

  CC     test/l2test.o
test/l2test.c: In function recv_mode:
test/l2test.c:826:9: error: cast increases required alignment of target
	type [-Werror=cast-align]
test/l2test.c:834:8: error: cast increases required alignment of target
	type [-Werror=cast-align]
test/l2test.c: In function do_send:
test/l2test.c:893:4: error: cast increases required alignment of target
	type [-Werror=cast-align]
test/l2test.c:894:4: error: cast increases required alignment of target
	type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [test/l2test.o] Error 1
2012-09-05 12:16:15 +03:00
Johan Hedberg
60706d6ea9 simple-agent: Update to match correct DisplayPasskey API 2012-09-04 16:34:41 +03:00
Gustavo Padovan
4db85fe8fa rctest: fix typo
recevied -> received
2012-08-30 10:43:21 -07:00
Johan Hedberg
5dd93fc16a Update code base to use the new BtIO API 2012-08-28 17:18:28 -07:00
Anderson Lizardo
78889501f8 Fix trivial coding style issues on pointer declarations and casting
Avoid using C++ style pointer declarations like "char* ptr", as most
BlueZ code uses "char *ptr".
2012-08-26 09:37:06 +01:00
Szymon Janc
3067e58bc4 test: Update test-oob to match new D-Bus OOB API 2012-08-14 12:24:36 +03:00
Claudio Takahasi
d53e0272e9 serial: Remove serial proxy test script 2012-07-24 15:37:45 +02:00
Claudio Takahasi
9f1d36c8d5 serial: Remove serial test script 2012-07-24 15:37:43 +02:00
Gustavo Padovan
91b9c50aa4 Remove documentation about Node API
Node API was never implemented.
2012-07-19 10:42:20 +03:00
Gustavo Padovan
d09ecfaeff headset: remove deprecated D-Bus methods 2012-07-05 11:14:38 +03:00
Gustavo Padovan
8af25d0b1d manager: remove deprecated ListAdapters() method 2012-07-04 15:43:09 +03:00
Gustavo Padovan
5a4951dae6 adapter: remove deprecated ListDevices() method 2012-07-04 15:43:06 +03:00
Frédéric Dalleau
a17ad52653 test-audio: Add --interface option 2012-07-04 15:36:57 +03:00
Szymon Janc
b0c6296b6f test: Pass remote address and port number to test-sap-server
This allows to pass remote SAP server address and optional port number.
Also exit script error if not able to connect SAP client to server.
2012-07-02 14:17:39 +03:00
Szymon Janc
8d4c083435 test: Fix test-sap-server import issue
sap-client is a helper library and needs to be suffixed with .py for
test-sap-server to be able to import it.

$ ./test-sap-server
Traceback (most recent call last):
  File "./test-sap-server", line 3, in <module>
    from sap import *
2012-07-02 14:13:43 +03:00
Luiz Augusto von Dentz
f2bdd7243e audio: Remove internal audio IPC
With unix socket and ALSA removed there is no longer any use for the
internal IPC.
2012-07-02 13:13:46 +03:00
Johan Hedberg
5c9af79845 simple-agent: Fix input with python version < 3.0
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.
2012-06-18 14:09:57 +03:00
Steve Langasek
ee56337e41 Update tests to be compatible with gi and python3
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.
2012-06-15 12:32:50 +03:00
Johan Hedberg
ebb2896b3a Remove test/apitest
This script is back from BlueZ 3.x times and unusable now
2012-06-15 12:32:44 +03:00
Johan Hedberg
6c5efac684 simple-agent: Use a higher (60s) timeout for pairing 2012-06-05 06:58:11 +03:00
Johan Hedberg
982ee6499b hciemu: Fix gcc 4.7 compilation error
This patch fixes the following compilation error with gcc 4.7:

  CC     test/hciemu.o
test/hciemu.c: In function 'getbdaddrbyname':
test/hciemu.c:1115:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
2012-05-17 20:44:58 +03:00
Andre Guedes
1e84241cc8 l2test: Add option to inform the address type
This patch adds 'V' option to inform the address type. Possible values
are: "bredr", "le_public", and "le_random".
2012-04-25 13:04:53 +03:00
Scott James Remnant
7216b7e967 simple-agent: add DisplayPinCode 2012-04-12 14:10:53 +03:00
Johan Hedberg
d5c860b4f4 test-discovery: Fix printing non-ASCII characters 2012-03-12 14:05:10 +02:00
Luiz Augusto von Dentz
49e3fa4157 btiotest: Add option to update security level while connecting 2012-03-02 15:59:49 -08:00
Marcel Holtmann
a3877b43ee hciemu: Fix wrong error code in host control 2012-02-27 09:19:14 -08:00
Andrei Emeltchenko
eedaa19cfc l2test: Add BT Channel Policy option
Make l2test able to set channel policy socket option.
2012-02-26 19:09:03 +02:00
Andrei Emeltchenko
95f4d9d53b l2test: Clean up lookup table code
Make lookup table code available for others and create
common functions.
2012-02-26 19:07:28 +02:00
Marcel Holtmann
8257ef71a0 hciemu: Reset all settings on reset 2012-02-22 16:58:59 +01:00
Marcel Holtmann
37d806a392 hciemu: Add clean handling for page scan and inquiry scan enable 2012-02-21 20:30:31 +01:00
Marcel Holtmann
65c785cf06 hciemu: Add support for LE buffer size command 2012-02-21 15:26:44 +01:00
Marcel Holtmann
1202dd2c9e hciemu: Handle unknown HCI commands properly 2012-02-21 15:21:37 +01:00
Marcel Holtmann
e31e02e667 hciemu: Add support for handling host supported features 2012-02-21 15:11:11 +01:00
Marcel Holtmann
cf808a866a hciemu: Add support for setting LE host mode 2012-02-21 15:04:12 +01:00
Marcel Holtmann
def5cd8ad3 hciemu: Add support for setting simple pairing mode 2012-02-21 14:51:00 +01:00
Marcel Holtmann
9899b5bce6 hciemu: Create a Bluetooth SIG 4.0 controller 2012-02-21 14:42:28 +01:00
Anderson Lizardo
dfa888e54f thermometer: Fix handling of missing Temperature Type
According to HTS 1.0 (Table 3.1, and Sections 3.1.1.4 and 3.2), the
Temperature Type Characteristic is optional. The only restriction is
that it shall not be present if the Temperature Type is non-static, for
which case the "Temperature Type" field shall be present on the
Temperature Measurement Characteristic value.

Given there is no default value specified when the Temperature Type is
static and unknown, the "Type" entry for MeasurementReceived() on the
Thermometer API was made optional.
2012-02-16 15:11:50 +02:00
Johan Hedberg
9291fc60cb test-discovery: Make output a bit more readable
Add an empty line between device found entries to make the output more
readable.
2012-02-15 13:17:01 +02:00
Anderson Lizardo
9ce812b085 proximity: Fix Proximity API to match documentation
Recently, the documented D-Bus interface for Proximity was changed to
prepare for the upcoming Proximity Reporter API.
2012-02-09 15:10:18 +02:00
Johan Hedberg
1716c9fd48 simple-agent: Ensure passkeys are padded to 6 digits 2012-02-02 19:14:41 +02:00
Johan Hedberg
4bf44d29ff simple-agent: Update default capability to KeyboardDisplay
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.
2012-02-02 19:11:38 +02:00
Vinicius Costa Gomes
efeb4cdb12 test: Add support for btiotest to returning the key size 2012-01-24 16:19:24 +02:00
Vinicius Costa Gomes
3ad251fe23 test: Add support for passing the CID to btiotest
If we want to test LE connections using btiotest we need to be
able to inform btio the Channel ID that we want to connect to, so
the kernel is able to learn that we want to establish a LE connection.
2012-01-24 16:19:21 +02:00
Szymon Janc
a951f50ad7 l2test: Add option 'K' to set delay before receiving 2012-01-09 14:55:07 +02:00
Szymon Janc
eed7ec0561 l2test: Add option 'H' to set socket receive buffer size
Size is set using SO_RCVBUF, see man 7 socket for more details.
2012-01-09 14:53:52 +02:00
Anderson Lizardo
d9062e72d0 hciemu: Fix strict-aliasing rules handling
gcc 4.4.3 (from Ubuntu 10.04) started complaining about this code:

test/hciemu.c: In function ‘hci_host_control’:
test/hciemu.c:431: error: dereferencing pointer ‘({anonymous})’ does break
strict-aliasing rules
test/hciemu.c:431: note: initialized from here

The fix is based on commit 97046eaf3f.
2011-12-30 13:08:45 +02:00
Syam Sidhardhan
b8f8ed5c61 mpris-player: Fix D-Bus reply memory leaks 2011-12-08 12:44:56 +02:00
Syam Sidhardhan
8a06194b08 agent: Fix D-Bus reply memory leaks 2011-12-08 12:44:46 +02:00
Andrei Emeltchenko
f54e13dd83 hciemu: Process Read Local AMP Info
Add processing of Read Local AMP Info in hciemu, the values returned are
used to emulate AMP HCI.
2011-12-08 11:39:29 +02:00
Anderson Lizardo
d69b678a3b hciemu: Fix build error
Error:

test/hciemu.c: In function 'create_snoop':
test/hciemu.c:155: error: 'S_IRUSR' undeclared (first use in this
function)
test/hciemu.c:155: error: (Each undeclared identifier is reported only
once
test/hciemu.c:155: error: for each function it appears in.)
test/hciemu.c:155: error: 'S_IWUSR' undeclared (first use in this
function)
test/hciemu.c:155: error: 'S_IRGRP' undeclared (first use in this
function)
test/hciemu.c:155: error: 'S_IROTH' undeclared (first use in this
function)
2011-12-02 20:42:56 +02:00
Marcel Holtmann
b9ab5a45ff hciemu: Just use local port numbers only 2011-11-30 18:35:57 +01:00
Marcel Holtmann
bc3feb5e77 hciemu: Use epoll() instead of GLib mainloop 2011-11-30 17:51:13 +01:00
Marcel Holtmann
1392f728c8 hciemu: Remove support for running a proxy 2011-11-30 17:01:02 +01:00
Santiago Carot-Nemesio
2776a390de Add thermometer python test script 2011-11-22 14:29:22 +02:00
Anderson Lizardo
5bd311398e Fix return value check for bt_audio_service_open()
Only negative values (namely -1) are errors for this function.
2011-11-17 13:57:53 +02:00
Anderson Lizardo
5c6db9e861 audio/IPC: Fix errno handling convention
Variables which are assigned to the errno variable (usually called
"err") should be negative, and "-err" should be used where a positive
value is needed.

This commit also changes places where errno can be replaced with -err
(for consistency) and one perror() usage error.
2011-11-17 13:57:52 +02:00
Luiz Augusto von Dentz
c1f8969f83 rctest: fix not setting priority of accepted socket
SO_PRIORITY is not inherited upon accept so it has to be set manually in
the new socket.
2011-11-16 15:28:23 +02:00
Luiz Augusto von Dentz
62173e1850 l2test: fix not setting priority of accepted socket
SO_PRIORITY is not inherited upon accept so it has to be set manually in
the new socket.
2011-11-16 15:28:15 +02:00
Vinicius Costa Gomes
97bbdeee7f Fix simple-player test script to make it work with dbus-python-0.84 2011-11-14 12:56:28 +02:00
Luiz Augusto von Dentz
ca431639a8 btiotest: Add option to set socket priority
Setting a priority outside the range 0 to 6 requires the CAP_NET_ADMIN
capability.
2011-11-04 15:41:56 +02:00
Luiz Augusto von Dentz
b96496bb09 rctest: Add option 'Y' to set socket priority
Priority is set using SO_PRIORITY, see man 7 socket for more details.
2011-11-04 15:40:38 +02:00
Luiz Augusto von Dentz
53bc28a20f l2test: Add option 'Y' to set socket priority
Priority is set using SO_PRIORITY, see man 7 socket for more details.
2011-11-04 15:39:46 +02:00
Luiz Augusto von Dentz
4f89d2634b Add support for MediaPlayer.Release to simple-player 2011-10-28 15:15:53 +03:00
Luiz Augusto von Dentz
af0659ba5f Add support for MediaPlayer.Release to mpris-player 2011-10-28 15:15:50 +03:00
Lucas De Marchi
1723fe2fb3 Fix handling of dbus signals
We're previously leaking a D-Bus message and always returning that
the signal was not handled.
2011-10-22 12:18:14 +02:00
Lucas De Marchi
9aa246958b Fix leak of dbus message 2011-10-20 10:34:31 +03:00
Lucas De Marchi
3ab3eab5b9 Improve test/simple-player to allow user interaction
Allow user to trigger TrackChanged and PropertyChanged. Calls made by
remote side (coming from D-Bus) are printed to stderr while the ones to
interact with user go to stdout.
2011-10-13 13:11:10 +03:00
Luiz Augusto von Dentz
291e838c93 Add mpris-player to test
It gather information from players implementing mpris spec and convert
to org.bluez.MediaPlayer spec.
2011-10-10 12:26:07 +03:00
Luiz Augusto von Dentz
53cc56358c Remove test-media-player 2011-10-06 11:13:43 +03:00
Luiz Augusto von Dentz
6e215f1f86 Add simple-player test script 2011-10-06 11:13:33 +03:00
Luiz Augusto von Dentz
5600f99bd9 Print Vendor/Product/Version in hexadecimal
This is how their are more commonly known.
2011-10-01 09:02:05 +03:00
Claudio Takahasi
fa63522766 Fix test-proximity usage info 2011-09-24 13:12:10 +03:00
Bruno Dilly
a48d5487c7 Add test for serial proxy and serial proxy manager 2011-09-13 10:42:39 +03:00
Vinicius Costa Gomes
319f66f7c8 Add support for listing all adapters using test-adapter 2011-08-22 13:13:23 +03:00
Lucas De Marchi
655656dbd0 Add script to test MediaPlayer interface 2011-08-12 11:05:14 +03:00
Sheldon Demario
7223e60a54 Test script for LinkLossAlertLevel property
Initial test script for Proximity Monitor. This patch allows the
user to set the Link Loss alert level of a given Reporter.
Usage example:
$test-proximity -i hci1 --device <mac> LinkLossAlertLevel mild
2011-08-03 16:06:49 +03:00
Andrei Emeltchenko
8a617a8df5 l2test: enhance L2CAP mode option 2011-07-26 11:01:00 +03:00
Andrei Emeltchenko
3a94d5d09c l2test: Make use of L2CAP extended feature mask definitions 2011-07-26 11:00:57 +03:00
Lucas De Marchi
fcb426c76a Fix common misspelled words
Accounting of misspelled words, as detected by codespell:

acording      2
ancilliary    1
appropiate    1
atribute      1
cant          1
comming       2
gracefull     1
lenght        1
mispelled     1
occured       1
occurences    1
ocurred       3
prefered      1
presense      1
reponse       1
seperate      1
succesful     1
successully   1
sucessfull    1
sucessfully   1
2011-07-03 14:36:14 +03:00
Steven Luo
9edfc88f77 test/agent.c: Wait for reply from CreatePairedDevice before exiting
This matches the behavior of the Python sample agent, and is needed to
get my Bluetooth keyboard to pair.
2011-06-28 10:42:23 +03:00
Dmitriy Paliy
aacd845305 Add capability option to simple-agent
A new option is added to simple-agent facilitating use of "DisplayOnly",
"DisplayYesNo", "KeyboardOnly" and "NoInputNoOutput" agent capabilities.
2011-06-15 15:44:38 +03:00
Szymon Janc
8af5f43a69 Fix empty parameter list in functions declarations 2011-05-18 09:05:55 -07:00
Johan Hedberg
2076574365 Fix unused variable warnings reported by GCC 4.6 2011-05-15 01:57:12 +03:00
Bruna Moreira
cef8838500 Use HCI_MAX_EIR_LENGTH instead of hard-coded value 2011-04-27 16:25:02 -07:00
Szymon Janc
f6a34aa79b Add test/test-oob for testing Out Of Band pairing
This test utilizes D-Bus Out Of Band API so bluetoothd must be
compiled with dbusoob plugin.
2011-04-14 20:02:29 +03:00
Waldemar Rymarkiewicz
0bf67b1fd2 Clean and fix copyright header in test/sap-client
ST-Ericsson is the copyright holder of test/sap-client.
2011-03-28 17:26:24 +03:00
Waldemar Rymarkiewicz
883ef406d6 Sim Access Profile test scripts
Add simple SAP client python implementation and a test script.

To run test-sap-server you need Python 2.6 or newer (tested with 2.6 only)
and PyBluez package installed.
2011-03-25 11:13:08 +02:00