Christian Fetzer
f9998e750f
obexd: Add parameter SubjectLength to map_list_messages
...
This parameter allows the client to request a maximum length of the
parameter "subject" in the messages listing.
2013-01-18 13:58:42 +02:00
Luiz Augusto von Dentz
ce3b4e0817
unit: Add gdbus/client_get_uint64_property
2013-01-18 13:33:43 +02:00
Luiz Augusto von Dentz
3cbdf5607d
unit: Add gdbus/client_get_array_property
2013-01-18 13:33:43 +02:00
Luiz Augusto von Dentz
84bf1800e3
unit: Add gdbus/client_get_boolean_property
2013-01-18 13:33:43 +02:00
Luiz Augusto von Dentz
ecb4a6c9d1
unit: Add gdbus/client_get_string_property
2013-01-18 13:33:43 +02:00
Luiz Augusto von Dentz
e0ef7d52a1
unit: Add gdbus/client_get_dict_property
2013-01-18 13:33:42 +02:00
Johan Hedberg
65256bd915
tools: Add basic failure test case for mgmt_load_long_term_keys
2013-01-18 13:15:53 +02:00
Johan Hedberg
1292ceeae4
tools: Add basic success test case for mgmt_load_long_term_keys
2013-01-18 13:14:09 +02:00
Johan Hedberg
1f7f659951
tools: Add another invalid params test for mgmt_load_link_keys
2013-01-18 12:58:33 +02:00
Johan Hedberg
311e9cd36d
doc: Add note about Debug_Keys parameter for Load Link Keys Command
2013-01-18 12:56:15 +02:00
Johan Hedberg
e5285a77f8
tools: Add basic invalid parameters test case for mgmt_load_link_keys
2013-01-18 12:49:01 +02:00
Johan Hedberg
43f488cedc
tools: Add initial success test cases for mgmt_load_link_keys
2013-01-18 11:18:46 +02:00
Johan Hedberg
e77ae99562
tools: Add temporary workaround for mgmt_set_powered kernel bug
2013-01-18 10:43:57 +02:00
Johan Hedberg
39e3f57aea
shared: Add separate timed out test result
2013-01-17 23:13:49 +02:00
Johan Hedberg
50e4f39156
tools: Use a timeout for all mgmt test cases
2013-01-17 15:56:46 +02:00
Johan Hedberg
daead8de72
tools: Fix EIR reference data to account for TX power in newer kernels
2013-01-17 14:30:28 +02:00
Johan Hedberg
fff442f245
tools: Add mgmt test case for multiple UUID-16 values
2013-01-17 13:58:21 +02:00
Johan Hedberg
52e64891aa
shared: Fix missing removal of test timeout for success/failure
2013-01-17 12:39:56 +02:00
Johan Hedberg
e753547a7b
tools: Add basic add_uuid UUID-32 test case for mgmt-tester
2013-01-17 11:40:44 +02:00
Johan Hedberg
7b152cce9b
tools: Add basic add_uuid UUID-16 test case for mgmt-tester
2013-01-17 11:27:07 +02:00
Marcel Holtmann
89176f5763
unit: Add advertising data from MIO Alpha heartrate watch for testing
2013-01-16 10:50:17 -08:00
Johan Hedberg
0c041e7c44
tools: Define power off CoD test with a timeout
2013-01-16 17:11:02 +02:00
Johan Hedberg
0b0195aa3c
tools: Add support for defining mgmt tests with a timeout
2013-01-16 17:10:27 +02:00
Johan Hedberg
6c61fc4e79
shared: Add timeout support for test cases
2013-01-16 17:07:43 +02:00
Johan Hedberg
3b664c20a8
tools: Do more generic tracking of unmet test conditions in mgmt-tester
2013-01-16 16:52:02 +02:00
Johan Hedberg
b224aaf26a
tools: Fix test for unset settings in mgmt-tester
2013-01-16 16:51:30 +02:00
Johan Hedberg
e73dcb3f2c
tools: Add power off test for testing correct class of dev
2013-01-16 15:58:23 +02:00
Johan Hedberg
5455232042
tools: Fix waiting for expected events in mgmt-tester
2013-01-16 15:54:26 +02:00
Johan Hedberg
d883fcae96
tools: Add class of device change monitoring support to mgmt-tester
2013-01-16 15:39:13 +02:00
Johan Hedberg
d42d77676a
tools: Add basic power off test to mgmt-tester
2013-01-16 15:18:00 +02:00
Johan Hedberg
d57a9e5d37
tools: Add mgmt-tester support for testing for unset settings
2013-01-16 15:17:20 +02:00
Anderson Lizardo
53da9df4da
unit: Add tests for SDP integer Data Elements
...
SDP_DATA_NIL does not have a value, but its sdp_data_t val field is
zeroed by memset(), so just treat it as UINT8 with zero value to
simplify checking (and not require a separate macro.)
SDP_BOOL is handled by SDP library as a INT8.
SDP_UINT128/SDP_INT128 are just byte arrays converted to host order, so
use memcmp() to compare them (converting from host to network order
first.)
2013-01-16 14:35:07 +02:00
Anderson Lizardo
cc291810aa
unit: Add {TEXT,URL}_STR{8,16} tests for sdp_extract_attr()
...
These tests are for valid data. Other tests might be added later to
check for error paths, but will require separate macros.
{TEXT,URL}_STR32 cannot be tested with the same macros because
sdp_extract_attr() does not support them. They will be tested
separately with other SDP library functions.
As example of failure output, if commit
504a0cf46a
is reverted for testing, the
STR16 test will fail with:
ERROR:unit/test-sdp.c:776:test_sdp_de_attr: assertion failed
(test->input_size == size): (7 == 11)
2013-01-16 14:35:05 +02:00
Johan Hedberg
ba40ce2637
tools: Add HCI command checking for mgmt_set_dev_class test
2013-01-16 14:34:32 +02:00
Johan Hedberg
c07480159f
core: Fix checking for device object creation failures
2013-01-16 09:39:17 +02:00
Johan Hedberg
34320f645d
core: Log device interface registration failures
2013-01-16 09:38:39 +02:00
Marcel Holtmann
7fb8db0aab
monitor: Differentiate between E0 and AES-CCM encryption
2013-01-15 21:16:59 -08:00
Johan Hedberg
d46572878f
tools: Add some basic mgmt_set_dev_class test cases
2013-01-15 22:29:01 +02:00
Johan Hedberg
2c78de09d4
tools: Add some basic mgmt_start_discovery failure test cases
2013-01-15 21:15:38 +02:00
Luiz Augusto von Dentz
eee0456f72
AVRCP: Fix sending volume changed when not registered
...
Notifications should only be sent if remote device has registered using
RegisterNotification.
2013-01-15 20:06:58 +02:00
Luiz Augusto von Dentz
81337f95bb
AVRCP: Check version before sending volume changed event/SetAbsoluteVolume
...
Volume change event and SetAbsoluteVolume command are only available
starting from 1.4, so we should not attempt to send these commands for
versions before that.
2013-01-15 20:06:58 +02:00
João Paulo Rechi Vita
eddda4ea96
audio: Bump AVRCP CT version to 1.5
2013-01-15 20:06:58 +02:00
João Paulo Rechi Vita
68e3509a97
avrcp: Handle SetAbsoluteVolume command
2013-01-15 20:06:58 +02:00
João Paulo Rechi Vita
b27a4dbce5
transport: Update volume passing only audio_device
2013-01-15 20:06:57 +02:00
João Paulo Rechi Vita
d8019264d1
avrcp: Notify remote of volume changes
2013-01-15 20:06:57 +02:00
João Paulo Rechi Vita
46c08c01c5
avrcp: Handle RegisterNotification for volume
...
This commit answers a NOTIFY command to register for nofications of
EVENT_VOLUME_CHANGED with an INTERIM response containing the current
absolute volume value.
2013-01-15 20:06:57 +02:00
João Paulo Rechi Vita
cc0af04343
transport: Get volume passing only audio_device
2013-01-15 20:06:57 +02:00
João Paulo Rechi Vita
a17e2e7087
transport: Keep a list o all existent transports
2013-01-15 20:06:57 +02:00
João Paulo Rechi Vita
be8954bdc6
transport: Get volume from transport
2013-01-15 20:06:57 +02:00
João Paulo Rechi Vita
86b558933d
avrcp: Add EVENT_VOLUME_CHANGED to CT capabilities
2013-01-15 20:06:56 +02:00