Johan Hedberg
1a9051e9ee
Rename glib-helper to uuid-helper
2014-01-21 14:12:47 +02:00
Johan Hedberg
4cae6340cf
tools/btmgmt: Remove unneeded GLib include
2014-01-21 13:59:14 +02:00
Johan Hedberg
a10af97063
tools/btmgmt: Remove src/eir.c dependency
2014-01-21 13:59:14 +02:00
Luiz Augusto von Dentz
e2551c5f54
android/A2DP: Fix sending notification on bt_a2dp_unregister
...
At this point IPC might have been closed already.
2014-01-21 13:37:35 +02:00
Johan Hedberg
192cadbfea
doc: Update l2cap-tester test case count
2014-01-21 13:08:11 +02:00
Johan Hedberg
6edecd6f3d
tools/l2cap-tester: Implement basic command reject test for LE
2014-01-21 13:03:36 +02:00
Johan Hedberg
3c9caf5bdc
tools/l2cap-tester: Add support for custom responses for client tests
2014-01-21 12:52:18 +02:00
Johan Hedberg
dafd46e078
tools/l2cap-tester: Rename expect_req* to expect_cmd to allow reuse for client
2014-01-21 12:40:27 +02:00
Johan Hedberg
bbfd6c9576
tools/l2cap-tester: Rename send_req* to send_cmd to allow reuse for client
2014-01-21 12:38:39 +02:00
Anderson Lizardo
b23ed9bf8d
emulator: Fix unaligned memory access compilation errors
...
The u128_xor() function does proper aligned access and accepts void *
arguments, therefore the casts are unnecessary and trigger clang errors.
2014-01-21 11:07:37 +02:00
Marcel Holtmann
a6f0070f3f
Release 5.14
2014-01-20 18:28:10 -08:00
Marcel Holtmann
d40e741deb
build: Update library version
2014-01-20 17:56:14 -08:00
Marcel Holtmann
efd41362b6
lib: Update company identifiers
2014-01-20 17:50:57 -08:00
Szymon Janc
74f52579b7
doc: Add Android ipc-tester to coverage statistics
2014-01-20 23:23:28 +01:00
Jakub Tyszkowski
f3b010cc51
android/ipc-tester: Add cases for BT message data size
...
This patch adds sending invalid size data for each of
Bluetooth service opcodes.
2014-01-20 23:23:28 +01:00
Jakub Tyszkowski
e82fcc7c2c
android/ipc-tester: Add cases for Core message data size
...
Add testing for improper data sizes for Core service opcodes.
2014-01-20 23:23:28 +01:00
Jakub Tyszkowski
f9d9b513c2
android/ipc-tester: Add cases for service opcode boundaries
...
This patch adds tests sending out of range opcode for each service.
2014-01-20 23:23:28 +01:00
Jakub Tyszkowski
d3b695dfa4
android/ipc-tester: Add more cases for malformed data
...
This patch adds tests for more types of possible data malformations.
2014-01-20 23:23:28 +01:00
Jakub Tyszkowski
f11e2ee8d8
android/ipc-tester: Add basic test cases for IPC's daemon site
...
This patch adds first few test cases checking for proper daemon
termination in case of receiving invalid IPC data.
2014-01-20 23:23:28 +01:00
Jakub Tyszkowski
411df0651e
android/ipc-tester: Register services
...
This patch adds basic bluetooth service registration during setup procedure.
Without this daemon would reject commands for not registered services.
2014-01-20 23:23:27 +01:00
Jakub Tyszkowski
378f27f9e6
android/ipc-tester: Add sending test data with ipc
...
This patch adds some data structures used to send data with ipc during
test setup and run stage. Test execution macro is extended for easy
data preparation.
2014-01-20 23:23:27 +01:00
Jakub Tyszkowski
b1d3bdfaed
android/ipc-tester: Add daemon shutdown handler
...
Handle daemon shutdown asynchronously.
2014-01-20 23:23:27 +01:00
Jakub Tyszkowski
732acf30cf
android/ipc-tester: Add IPC initialization
...
This patch adds IPC mechanism initialization.
The deamon is being started and IPC socket connection is established.
2014-01-20 23:23:27 +01:00
Jakub Tyszkowski
e82c8804f3
android/ipc-tester: Run daemon in separate process
...
This patch adds new process waiting to run daemon when needed.
2014-01-20 23:23:27 +01:00
Jakub Tyszkowski
8cc27935d3
android/ipc-tester: Skeleton for ipc negative tester
...
Add skeleton for ipc negative testing.
2014-01-20 23:23:27 +01:00
Harald Schmitt
9cf18f0b4c
obexd/irmc: Fix folder for LUID requests
...
The old macro PB_LUID_FOLDER had the folder luid on the second level:
/telecom/luid. But the luid folder occurs per IrMC spec on level three
e.g. /telecom/pb/luid.
2014-01-20 21:25:47 +02:00
Johan Hedberg
21e1327b6c
doc: Update l2cap-tester test count
2014-01-20 20:54:48 +02:00
Szymon Janc
89e3410720
doc: Update android-tester coverage statistics
2014-01-20 16:27:59 +01:00
Ravi kumar Veeramally
f1a83a702f
android/tester: Add HIDhost SendData test
2014-01-20 16:26:35 +01:00
Ravi kumar Veeramally
f30427d185
android/tester: Add HIDhost SetReport test
2014-01-20 16:26:30 +01:00
Ravi kumar Veeramally
16b7f0c59e
android/tester: Add HIDhost SetProtocol test
2014-01-20 16:23:38 +01:00
Ravi kumar Veeramally
d4b09ba697
android/tester: Add HIDhost GetProtocol test
2014-01-20 16:23:38 +01:00
Ravi kumar Veeramally
8c147bec42
android/tester: Add HIDhost VirtualUnplug test
2014-01-20 16:23:38 +01:00
Ravi kumar Veeramally
8101318fe2
android/tester: Add HIDhost Disconnect test
2014-01-20 16:23:38 +01:00
Ravi kumar Veeramally
3e41780447
android/tester: Add HIDhost Connect test
...
Emulated HID SDP and L2CAP Control and Interrupt channels.
2014-01-20 16:23:38 +01:00
Ravi kumar Veeramally
a2d6586eff
android/hidhost: Remove unnecessary check
...
HID device will return unsupported or invalid response for unsupported
or invalid get/set protocol request. Need not to check prior to that.
2014-01-20 16:23:38 +01:00
Ravi kumar Veeramally
3abb6d368d
android/hidhost: Fix connection state notification on profile unregister
...
Issue found while writing end2end tests. Usually profile unregister is
called when final cleanup of bluetoothd. Freeing connected hid devices
through g_slist_foreach is a asynchronous call. Profile is cleaned up
and and ipc also complete cleanup. But free_hid_devices tries to notify
hal which doesn't exist that time. So behaviour is unexpected.
2014-01-20 16:23:06 +01:00
Johan Hedberg
35b50f0f34
emulator/bthost: Add dummy entries for LTK reply completion
2014-01-20 16:28:03 +02:00
Johan Hedberg
f3db25a05b
emulator/bthost: Add SMP callback to fetch LTK
2014-01-20 16:28:03 +02:00
Johan Hedberg
741d28de64
emulator/bthost: Add warning for unsupported LE Meta events
2014-01-20 16:27:57 +02:00
Johan Hedberg
5fa34138a4
tools/l2cap-tester: Add basic SMP test case
2014-01-20 16:26:33 +02:00
Johan Hedberg
fb922ee610
emulator/bthost: Add SMP support
2014-01-20 16:26:33 +02:00
Szymon Janc
325c0a39bb
build: Bump D-Bus dependency to 1.6
...
dbus_validate_path() was introduced in D-Bus 1.6 and it is no longer
possible to build with 1.4.
CCLD tools/bluetooth-player
tools/bluetooth-player.o: In function `cmd_change_folder':
tools/bluetooth-player.c:741: undefined reference to `dbus_validate_path'
collect2: ld returned 1 exit status
2014-01-20 16:44:59 +02:00
Szymon Janc
ac2ed5e37b
device: Match Dualshock4 with name and class
...
This allows to use DS4 with legacy adapters. This seems to require
general bonding to work correctly i.e. after dedicated bonding
connection is rejected with "Authentication Failure" error.
2014-01-20 15:19:26 +02:00
Szymon Janc
360137d53b
device: Add workaround for Sony Dualshock 4 broken SDP
...
Sony DualShock 4 is not respecting negotiated L2CAP MTU. This might
results in SDP response being dropped by kernel. Workaround this by
forcing SDP code to use bigger MTU while connecting.
2014-01-20 15:19:26 +02:00
Szymon Janc
cada0c0896
core: Add flags parameter to bt_search_service
...
This allows to pass custom SDP flags to sdp_connect.
2014-01-20 15:19:25 +02:00
Szymon Janc
af00880e63
core: Opencode get_sdp_session in sdp-client
...
This is only used once and provides no benefit compared to opencoding.
2014-01-20 15:19:25 +02:00
Szymon Janc
c8260c5acb
lib: Add flag to force large MTU size used for SDP connection
...
This will allow to workaround Dualshock4 not respecting L2CAP MTU
size while sending SDP response. Use same L2CAP MTU value base on
RFCOMM.
2014-01-20 15:19:25 +02:00
Jakub Tyszkowski
65e8e6ba32
android/pts: Add PTS test results document for AVCTP
...
This will allow for better tracking of current state of implementation.
2014-01-20 13:31:19 +01:00
Jakub Tyszkowski
bdfac94fcf
android/pts: Add PTS test results document for AVRCP
...
This will allow for better tracking of current state of implementation.
2014-01-20 13:31:18 +01:00