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
Elvis Pfützenreuter
69f57a7d56
Add "unit test" for new UUID functions
2011-03-15 19:37:40 +02:00
Vinicius Costa Gomes
020ef16431
Update the test-attrib test script
...
Now it is more similar to the other test-* scripts. And allows to
exercise more of the API.
2011-03-15 10:53:12 +02:00
Elvis Pfützenreuter
bb096e674c
Add more functions for new UUID handling
...
This patch adds more functions that are necessary to handle the new
bt_uuid_t type, and moves basic things like byte-swapping functions and
uint128_t type to bluetooth.h.
2011-03-15 10:42:50 +02:00
Szymon Janc
0989e74c56
Fix small memleak in hciemu
2011-03-04 15:56:41 -03:00
Anderson Lizardo
22d7418014
Fix test/test-attrib script
...
Characteristics are not being fetched anymore when the device is
created. Discover method needs to be called actively to discover the
characteristics exposed by a given service.
2011-02-24 18:59:04 -03:00
David Herrmann
5408e11b6b
Replace batostr() with ba2str() to avoid memleaks
...
batostr() returns dynamically allocated strings. Replace it with
ba2str() wherever possible to avoid heap allocations and fix memleaks.
2011-02-18 12:01:12 -03:00
Gustavo F. Padovan
cd09d807d3
Use a valid PSM value in l2test
2011-02-09 14:03:57 -08:00
Luiz Augusto von Dentz
d0a3daef0c
Fix use of deprecated glib on tests
2011-01-19 14:10:05 +02:00
Vinicius Costa Gomes
8250668371
Add a "services" command to test-device
...
This command adds a way to retrieve the Services property that each
device has.
2010-12-23 10:32:42 +02:00
Johan Hedberg
dd109a698c
Add disconnect command to test-device
2010-12-21 11:23:30 +02:00
Claudio Takahasi
818c950b8f
Convert CreateDevice on test-device script to an asynchronous call
...
Change required to test the scenario when the sender of a CreateDevice
request disconnects from the system bus. Current implementation is
blocking and it doesn't allow the user to cancel a request.
2010-12-09 22:08:43 +02:00
Jose Antonio Santos Cadenas
111d412316
Modify test-health script to make it more interactive
2010-10-21 09:44:02 +02:00
Jose Antonio Santos Cadenas
529b73edef
Update test script and create a new one
2010-10-06 10:37:08 +02:00
Anderson Lizardo
eaa9992d70
Add test/test-attrib for testing Attribute API
2010-10-04 17:06:49 +02:00
Gustavo F. Padovan
c5eab04d65
l2test: add support to the fixed channels
2010-09-30 17:25:40 -03:00
Santiago Carot-Nemesio
ea3e77c8a0
Add simple test for health plugin
2010-09-17 16:35:04 +02:00