| 43c80c63 |
android/avrcp-lib: Add Search structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +35, -17 |
| b8b3afad |
android/avrcp-lib: Add PlayItem structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +26, -15 |
| ae563d98 |
android/avrcp-lib: Add GetItemAttributes structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +77, -49 |
| fa4a6355 |
android/avrcp-lib: Add ChangePath structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +34, -19 |
| 7fd13dbe |
android/avrcp-lib: Add GetFolderItems structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +50, -29 |
| 169cd958 |
android/avrcp-lib: Add SetBrowsed structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +53, -27 |
| cd66530d |
android/avrcp-lib: Add SetAddressedPlayer structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +12, -4 |
| ac44d000 |
android/avrcp-lib: Add SetAbsoluteVolume structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +17, -3 |
| 386a3a0a |
android/avrcp-lib: Add RegisterNotification structs |
Luiz Augusto von Dentz |
11 years ago |
4 files, +99, -59 |
| 21e875ff |
android/avrcp-lib: Add GetPlayStatus structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +19, -10 |
| 4c386f7e |
android/avrcp-lib: Add GetElementAttributes structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +74, -45 |
| c3bde77d |
android/avrcp-lib: Add GetPlayerValueText structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +32, -16 |
| 7803ec21 |
android/avrcp-lib: Add GetPlayerAttributeText structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +46, -22 |
| bbbbae44 |
android/avrcp-lib: Add SetPlayerApplicationSettingValue structs |
Luiz Augusto von Dentz |
11 years ago |
3 files, +34, -20 |
| 753a905d |
android/avrcp-lib: Add GetCurrentPlayerValue structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +39, -16 |
| 13e9c11b |
android/avrcp-lib: Add ListPlayerValues structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +27, -7 |
| 5b6f61a0 |
android/avrcp-lib: Add ListPlayerAttributes structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +18, -2 |
| a62f1415 |
android/avrcp-lib: Add GetCapabilities structs |
Luiz Augusto von Dentz |
11 years ago |
1 file, +37, -17 |
| a123e4aa |
android/tester: Add case for reconnecting HID keyboard device
This test case checks if we correctly raise security level for
reconnecting keyboard devices when previously paired. |
Jakub Tyszkowski |
11 years ago |
3 files, +93, -0 |
| 1bf4b2b2 |
android/tester: Add case verifying encryption on HIDHost
This case verifies if encryption is enabled when connecting to
HID Keyboard device. |
Jakub Tyszkowski |
11 years ago |
1 file, +102, -0 |
| 1300d9da |
android/tester: Add encryption change callback
This is needed for encryption verification. |
Jakub Tyszkowski |
11 years ago |
2 files, +27, -0 |
| e4942a2f |
android/tester: Improve HIDHost data sending verification
Hciemu hooks may be called in different test stage than we expect
and we shouldn't blindly verifying the step with success every time
when data is send, as we really dont know the step we are currently in.
This patch fixes this issue by splitting the action in two steps: action
step that triggers data sending and callback step that verifies on
remotes sid that data was send. |
Jakub Tyszkowski |
11 years ago |
3 files, +19, -22 |
| f4a752bf |
android/tester: Rename and expose callback verification function
This is needed to verify action result on remotes side by using hciemu
hooks for example. As hooks are test specific, we need this to be
exposed to other testers. |
Jakub Tyszkowski |
11 years ago |
2 files, +40, -39 |
| fe6bc818 |
android/tester: Add GATT server multiple connect succesful test case
It will connect to powered on and visible device multiple time then
disconnects. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +34, -0 |
| 01398992 |
android/tester: Add GATT server disconnect successful test case
It will connect to powered on and visible device then disconnect. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +40, -0 |
| 4cc5eabb |
android/tester: Add GATT server connect successful test case
It will connect to powered on and visible device. |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +80, -1 |
| c7a36113 |
android/tester: Change GATT client connection test cases to LE connect
Current GATT client connect test cases don't check if found device is
BLE type. Now it's updated with check step (device found callback
analyze for device type). |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +14, -3 |
| d2abd2d2 |
android/tester: Fix debug callback logs
Debug logs for callback should also print logs if callback is not
expected. Additional value in callback enum is added (BT_CB_NONE). |
Grzegorz Kolodziejczyk |
11 years ago |
2 files, +3, -1 |
| 10dda614 |
android/tester: Make client2 app uuid value name consistent
Application uudis for tester should be name unified and consistent. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +6, -6 |
| ae3db960 |
Release 5.24 |
Marcel Holtmann |
11 years ago |
2 files, +7, -1 |
| d758b854 |
test-gatt: Add test-gatt binary to .gitignore list |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +1, -0 |
| 62220dea |
build: Restrict unconditional compilation of unit tests |
Marcel Holtmann |
11 years ago |
1 file, +3, -1 |
| 0aad414b |
android/gatt: Fix adding duplicate connection for server apps
This replaces the usage of unsafe function for adding app connections
with the one that is almost the same but first it checks if no
duplicate entry is added to the list.
This fixes connection callback being sent twice for server app when it
initiates the connection, and removes duplicated code. |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -12 |
| 3c8896be |
android/gatt: Fix handling sign counter
According to BT spec 4.1, Part H, 2.4.5 Signing Algorithm, sign
counter shall increment on each message however there is not specific
requirement that it should increment by 1. In fact in case of lost
package we would unsync with remote and would be no able to recover
in other way then re-pair.
This patch reject write sign commands if remote sign counter is less
or equal to previous one. |
Lukasz Rymanowski |
11 years ago |
1 file, +5, -5 |
| 4ca0a786 |
android/bluetooth: Extend bt_update_sign_counter function with value
With this patch, gatt can set any value to each local/remote signed
counter. It is need by next patch. |
Lukasz Rymanowski |
11 years ago |
3 files, +8, -6 |
| 492814f0 |
build: Move unit test program names to their source listing |
Marcel Holtmann |
11 years ago |
1 file, +11, -5 |
| a79cf617 |
doc/test-coverage: Update test count |
Luiz Augusto von Dentz |
11 years ago |
1 file, +2, -1 |
| 8664dae0 |
shared/gatt-client: Handle ATT disconnection
If ATT disconnects reset ready flag and propagate to the callback, also
since there is no use for bt_att after that unref it. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +29, -5 |
| a789e6a2 |
shared/gatt-client: Fix gatt_client_init
This function is only called within bt_gatt_client_new therefore it is
not possible to have a ready callback and should return false if
bt_gatt_exchange_mtu fails. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +3, -4 |
| 7ed42033 |
shared/gatt-client: Fix crash on bt_gatt_client_unref
Calling gatt_client_clear_services after notify_list is destroyed cause
the following backtrace:
Invalid read of size 8
at 0x404CC9: queue_remove_all (queue.c:312)
by 0x401FC6: gatt_client_remove_all_notify_in_range (gatt-client.c:350)
by 0x403170: bt_gatt_client_free (gatt-client.c:357)
by 0x401A93: test_client (test-gatt.c:224)
by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4015EE: main (test-gatt.c:259)
Address 0x5752718 is 8 bytes inside a block of size 32 free'd
at 0x4C28577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x40315E: bt_gatt_client_free (gatt-client.c:1233)
by 0x401A93: test_client (test-gatt.c:224)
by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4015EE: main (test-gatt.c:259) |
Luiz Augusto von Dentz |
11 years ago |
1 file, +2, -2 |
| a7264f96 |
unit/test-gatt: Add TP/GAC/CL/BV-01-C test
Verify that a Generic Attribute Profile client can generate an
Exchange MTU Request command. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +273, -0 |
| fbed85a8 |
shared/gatt-client: Simplify bt_gatt_client_new
This split bt_gatt_client_unref into bt_gatt_client_free so it can be
used within bt_gatt_client_new when freeing the data. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +38, -49 |
| ba0392f8 |
android/core: Fix memory leak in parse_system_id()
get_prop() allocates memory which needs to be freed. |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -1 |
| f65994ef |
android/README: Update with new configuration options |
Szymon Janc |
11 years ago |
1 file, +12, -0 |
| 79849506 |
android/pts: Update PTS settings and results for DIS |
Szymon Janc |
11 years ago |
3 files, +7, -7 |
| 1a98599f |
android: Add support for FW and HW revision config options |
Szymon Janc |
11 years ago |
6 files, +42, -4 |
| 40b0c04d |
android: Remove few not needed blank lines |
Szymon Janc |
11 years ago |
1 file, +0, -10 |
| ecb2950a |
android/gatt: Use release version for software revision in DIS |
Szymon Janc |
11 years ago |
1 file, +4, -10 |
| 0f988118 |
android/gatt: Add support for PnP ID in DIS |
Szymon Janc |
11 years ago |
1 file, +46, -0 |
| 784b0e12 |
lib/uuid: Add define for GATT PnP ID UUID |
Szymon Janc |
11 years ago |
1 file, +1, -0 |