Commit Graph

266 Commits

Author SHA1 Message Date
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
Luiz Augusto von Dentz
7bc7ee26c1 Add simple-endpoint test script 2010-09-15 15:05:44 +03:00
Luiz Augusto von Dentz
1a1c9456fd Make simple-agent to ask user to authorize mode changes 2010-09-02 13:44:05 +03:00
Bartlomiej Grzeskowiak
735eead7a3 Remove call to non-existing Adapter method call
Use Service.AddRecord() instead of Adapter.AddRecord().
2010-09-01 13:32:14 +03:00
Luiz Augusto von Dentz
0739b005c4 Fix using wrong argument in test-serial 2010-08-16 14:20:27 +03:00
Marcel Holtmann
73dfbe9fbd Add test script for testing NAP network server 2010-07-13 00:13:03 -03:00
Vinicius Costa Gomes
349823ebfa Fix the output of the list command of test-device
The list command of test-device was giving just Devices object paths,
not very useful, not it shows the device address and its Alias.
2010-07-02 13:22:07 -03:00
Johan Hedberg
a90f0dfe8c Add support for multiple adapters to the test scripts
This patch adds support for specifying which adapter to use through
"-i hciX" (just like hcitool, etc).
2010-06-13 14:24:41 +03:00
Gustavo F. Padovan
a554d3a656 Fix redundant null check on calling free()
Issues found by smatch static check: http://smatch.sourceforge.net/
2010-06-08 15:57:25 +08:00
Johan Hedberg
f326668811 Add missing help text for test-device blocked command 2010-06-08 09:52:11 +08:00
Johan Hedberg
1e4d4fe0ed Add new "Blocked" property to device objects
This patch adds a new "Blocked" property to device objects. It maps
directly to the HCIBLOCKDEV and HCIUNBLOCKDEV ioctl's which enable
control of incoming connection acceptance on the kernel side.
2010-05-17 17:32:26 +02:00
Jose Antonio Santos Cadenas
6968c52091 Remove extra spaces in test dir 2010-05-07 01:47:59 +03:00
Gustavo F. Padovan
5261de27f3 Set l2cap mode always
As ERTM can be the default mode with SOCK_STREAM we have to set
opts.mode always.
2010-04-28 18:47:35 +03:00
Gustavo F. Padovan
449367e8da Add options to test MaxTx and TxWindow 2010-04-28 18:47:35 +03:00
Gustavo F. Padovan
a43d90eeb9 Add duplex test case to l2test
Use a SOCK_NONBLOCK to send and receive at the same time.
2010-04-28 18:47:35 +03:00
Gustavo F. Padovan
c5c6abdf4c l2test: add option to use SOCK_STREAM 2010-04-28 18:47:35 +03:00
Francisco Alecrim
9266dfeac2 Report local services(UUIDs) through D-Bus
* Include UUIDs field to method GetProperties(org.bluez.Adapter).
Applications can get local services(UUIDs) available through D-Bus.
* UUIDs per-adapter stored at btd_adapter to prevent some searches not
necessary regarding it requires information from access_db and service_db.
* Emit Adapter.PropertyChanged signal when UUIDs change.
2010-04-07 20:31:03 +03:00
Marcel Holtmann
dc99234eb6 Fix some missed copyrights 2010-01-07 01:13:49 -08:00
Johan Hedberg
5592142cb9 Update Nokia copyrights 2010-01-07 01:11:05 -08:00
Marcel Holtmann
9184e2eeb7 Update copyright information 2010-01-01 17:08:17 -08:00
Johan Hedberg
0ea975c85c Add test scripts for input and audio 2009-11-19 14:27:53 +02:00
Johan Hedberg
86a8cb5037 Add support for waiting before exiting to avtest 2009-09-04 00:48:54 +03:00
Johan Hedberg
8be335ca8f Add more complete AVCTP support to avtest 2009-09-03 22:20:48 +03:00
Johan Hedberg
788ffa0775 Add initial AVCTP support to avtest 2009-09-03 21:46:18 +03:00
Johan Hedberg
45091c9a9a Update help output for avtest 2009-09-03 21:01:17 +03:00
Johan Hedberg
0223594362 Add ABORT support to avtest 2009-09-03 18:23:44 +03:00
Johan Hedberg
5b968a14e1 Fix do_send to wait for a proper reply
The remote side might be simultaneously sending commands to us which we
should just ignore.
2009-09-03 16:22:02 +03:00
Johan Hedberg
0ed3510c9d Add Nokia copyright to avtest.c 2009-09-03 11:49:11 +03:00
Johan Hedberg
793be3b7b1 Allow avtest to use 48 byte MTU also in SEND mode
This should be helpful for AVDTP tests where the IUT (bluetoothd) is
supposed to send a fragmented message to us.
2009-09-02 22:19:51 +03:00
Johan Hedberg
5a1ad09af8 Add fragmented message sending support to avtest 2009-09-02 20:04:44 +03:00
Johan Hedberg
dd65e5a614 Fix closing media transport after receiving CLOSE 2009-09-02 19:31:08 +03:00
Johan Hedberg
8d839631b3 Add avtest support for responding to AVDTP_SUSPEND 2009-09-02 19:30:02 +03:00
Johan Hedberg
93b269a185 Add avtest support for responding to AVDTP_CLOSE 2009-09-02 19:26:07 +03:00
Johan Hedberg
9ec30f5ec3 Add avtest support for responding to AVDTP_START 2009-09-02 19:23:24 +03:00
Johan Hedberg
9f226395d0 Add avtest support for responding to AVDTP_OPEN 2009-09-02 19:18:28 +03:00
Johan Hedberg
d3eb02475c Add avtest support for responding to AVDTP_GET_CONFIGURATION 2009-09-02 19:03:37 +03:00
Johan Hedberg
386278a53f Add avtest support for responding to AVDTP_SET_CONFIGURATION 2009-09-02 18:59:04 +03:00
Johan Hedberg
f69f155719 Add "Invalid media transport" support to avtest 2009-09-02 18:39:53 +03:00
Johan Hedberg
146188ce10 Add avtest support for arbitrary commands
This is useful e.g. invalid signal identifier AVDTP tests.
2009-09-02 17:44:40 +03:00
Johan Hedberg
58f8fe54f0 Add SUSPEND support to avtest 2009-09-02 17:30:08 +03:00
Johan Hedberg
c158582914 Add CLOSE support to avtest 2009-09-02 17:20:31 +03:00