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