Commits

Commit Message Author Age Changes
6c044184 android/pts: Correct typo in MCAP tests listing Sebastian Chlad 11 years ago 1 file, +1, -1
bc84aaf7 android/pts: Correct typo in HFP tests list Sebastian Chlad 11 years ago 1 file, +1, -1
7e4f7894 android/client: Fix copy paste issue in stop recognition function Lukasz Rymanowski 11 years ago 1 file, +1, -1
6353123e btio: Fix uninitialized usage compilation error When compiling with --enable-maintainer-mode these throw errors because of -Werror=maybe-uninitialized Michael Janssen 11 years ago 1 file, +3, -3
46d35351 unit/gattrib: Only init log on --verbose Michael Janssen 11 years ago 1 file, +2, -1
90a8d80f unit/gattrib: Respond to the request PDU. Michael Janssen 11 years ago 1 file, +28, -6
2373a2bd unit/gattrib: Check expected PDUs were delivered Check that the PDUs that we expect to receive when registering for events have been delivered. Michael Janssen 11 years ago 1 file, +28, -7
aa6c286c attrib: fix GATTRIB_ALL_REQS behavior g_attrib_register(..., GATTRIB_ALL_REQS, ...) behavior would previously include indications, this fixes it to only include requests and commands. Michael Janssen 11 years ago 1 file, +22, -1
84be78a0 attrib: Add unit tests for g_attrib_register Michael Janssen 11 years ago 1 file, +139, -1
ee1d6fe7 Add unit tests for gattrib This will ensure that the API behavior of gattrib is preserved. Michael Janssen 11 years ago 3 files, +406, -0
002070cf attrib: remove g_attrib_is_encrypted This function is only used in one place and encryption is the responsibility of the channel, not the attribute. Michael Janssen 11 years ago 3 files, +12, -14
56648851 attrib: Add mtu argument to g_attrib_new Instead of using the default MTU, use one passed in by the user, and detect it from the channel when it is created. Michael Janssen 11 years ago 6 files, +53, -11
49f13e08 mgmt-tester: Fix expected response for invalid start discovery tests According to Management Interface API 'Start Discovery' command should generate a Command Complete event on failure. Szymon Janc 11 years ago 1 file, +6, -0
bdd13d3d android/pts: Update PTS results for MCAP Tested on android 4.4.4 against PTS 5.3 Grzegorz Kolodziejczyk 11 years ago 1 file, +75, -39
a910ffec android/client: Allow empty string for dial command Empty string is used for redial command Lukasz Rymanowski 11 years ago 1 file, +2, -1
477147b9 shared/gatt-db: Add gatt_db_attribute_write Luiz Augusto von Dentz 11 years ago 1 file, +26, -1
5b67a8a6 shared/gatt-db: Add gatt_db_attribute_read Luiz Augusto von Dentz 11 years ago 1 file, +22, -1
4310bc93 shared/gatt-db: Add gatt_db_attribute_get_permissions Luiz Augusto von Dentz 11 years ago 1 file, +6, -1
909f0c4c shared/gatt-db: Add gatt_db_attribute_get_service_handles Luiz Augusto von Dentz 11 years ago 1 file, +15, -1
f441c96c shared/gatt-db: Add gatt_db_attribute_get_service_uuid Luiz Augusto von Dentz 11 years ago 1 file, +37, -8
0cced81c shared/gatt-db: Add gatt_db_attribute_get_handle Luiz Augusto von Dentz 11 years ago 1 file, +4, -1
816d40fc shared/gatt-db: Add gatt_db_attribute_get_type Luiz Augusto von Dentz 11 years ago 1 file, +4, -1
184b6089 shared/gatt-db: Add gatt_db_get_attribute Luiz Augusto von Dentz 11 years ago 1 file, +19, -1
954fb58c shared/gatt-db: Expose gatt_db_attribute This is the new API to reduce the lookups in gatt_db and make it a little bit more convenient for batch operations, so the general idea is to be able to get a hold of it via gatt_db_get_attribute but also replace the handles in the queues with proper attributes so the server code don't have to lookup again when reading/writing, checking permissions, or any other operation that can be done directly. Luiz Augusto von Dentz 11 years ago 2 files, +87, -0
78d406b7 health: Keep struct element indentions consist Indentions should be tabbed to keep consist with other structs. Grzegorz Kolodziejczyk 11 years ago 1 file, +6, -6
61142605 shared/hfp: Fix for invalid string copy This part of code handles case when data in ring buffer are wrapped. In that case str is not a string so we shall not use asprintf but memcpy Lukasz Rymanowski 11 years ago 1 file, +9, -1
ea41c2e6 shared/hfp: Remove redundant check To make this check strcmp is good enough. No need to check len first and then do memory compare. Lukasz Rymanowski 11 years ago 1 file, +1, -4
51a72497 android/handsfree: Be more strict on SLC creation In case of any issue during SLC creation lets just drop the link Lukasz Rymanowski 11 years ago 1 file, +15, -0
9cbe0362 android/pts: Add JIRA issue number to TC_GAD_CL_BV_03_C Marcin Kraglak 11 years ago 1 file, +1, -1
7d68fff6 android/pts: Update PTS pics, pixit for MCAP PICS and PIXIT checked against PTS 5.3. Regression round on PTS 5.3 against androi 4.4.4. Grzegorz Kolodziejczyk 11 years ago 2 files, +4, -4
5bc035ed tools/mcaptest: Add no_close parameter If parameter is given mcaptest doesn't exit after: receiving err, or while MCL disconnects. This is needed while reconnecting MCL or some PTS test cases: TC_MCAP_CM_REC_BV_x_C - test cases branch TC_MCAP_ERR_BI_x_C - test cases branch Grzegorz Kolodziejczyk 11 years ago 1 file, +22, -3
489fb324 tools/mcaptest: Add missing MCL connected log Loging state of MCAP channels is very helpful while analyzing connection. Grzegorz Kolodziejczyk 11 years ago 1 file, +2, -0
87902848 android/handsfree: Delay SCO connection after codec negotiation If SCO connection is created in same interation as OK response to AT+BCC it may happen that SCO will connect before OK is send. Some headset units don't handle this and reject SCO connection. To fix that we delay SCO connection into next mainloop iteration. Issue found on UPF49. > ACL Data RX: Handle 2 flags 0x02 dlen 15 [hci0] 2572.477715 Channel: 66 len 11 [PSM 23 mode 0] {chan 2} 19 ef 0f 41 54 2b 42 43 43 0d 55 ...AT+BCC.U < HCI Command: Setup Synchronous Co.. (0x01|0x0028) plen 17 [hci0] 2572.482384 Handle: 2 Transmit bandwidth: 8000 Receive bandwidth: 8000 Max latency: 13 Setting: 0x0003 Input Coding: Linear Input Data Format: 1's complement Input Sample Size: 8-bit # of bits padding at MSB: 0 Air Coding Format: Transparent Data Retransmission effort: Optimize for link quality (0x02) Packet type: 0x0380 3-EV3 may not be used 2-EV5 may not be used 3-EV5 may not be used > HCI Event: Command Status (0x0f) plen 4 [hci0] 2572.482903 Setup Synchronous Connection (0x01|0x0028) ncmd 1 Status: Success (0x00) < ACL Data TX: Handle 2 flags 0x00 dlen 14 [hci0] 2572.490198 Channel: 6978 len 10 [PSM 3 mode 0] {chan 9} 1b ef 0d 0d 0a 4f 4b 0d 0a 8f .....OK... > HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 2572.493311 Num handles: 1 Handle: 2 Count: 1 > HCI Event: Synchronous Connect Complete (0x2c) plen 17 [hci0] 2572.494013 Status: Connection Rejected due to Unacceptable BD_ADDR (0x0f) Handle: 4 Address: 20:68:9D:30:7B:9F (Liteon Technology Corporation) Link type: eSCO (0x02) Transmission interval: 0x00 Retransmission window: 0x00 RX packet length: 0 TX packet length: 0 Air mode: CVSD (0x02) Szymon Janc 11 years ago 1 file, +41, -9
1e5a31d5 obexd/ftp: Add support for tracking transfers This enables transfer management for FTP connections. Bharat Panda 11 years ago 1 file, +20, -0
6dccd4cc unit/test-gatt: Add TP/GAD/CL/BV-04-C test Verify that a Generic Attribute Profile client can discover characteristic declarations within a specified service definition. Marcin Kraglak 11 years ago 1 file, +36, -0
463d14ef unit/test-gatt: Add TP/GAD/CL/BV-03-C test Verify that a Generic Attribute Profile client can find include service declarations within a specified service definition on a server. Marcin Kraglak 11 years ago 1 file, +44, -0
f6917cb1 unit/test-gatt: Add TP/GAD/CL/BV-02-C-2 test Verify that a Generic Attribute Profile client can discover Primary Services selected by service using 128-bit UUID. Marcin Kraglak 11 years ago 1 file, +20, -0
32bc56a6 shared/gatt: Fix incorrect data read Data set in Find By Type Value response contains 4 octets, 2 for start handle and two for end group handle. Reading data with offset 6 from end of pdu can cause illegal access. Marcin Kraglak 11 years ago 1 file, +7, -1
b5a0b3bf unit/test-gatt: Add TP/GAD/CL/BV-02-C-1 test Verify that a Generic Attribute Profile client can discover Primary Services selected by service using 16-bit UUID. Marcin Kraglak 11 years ago 1 file, +23, -5
1a1f1b50 unit/test-gatt: Add TP/GAD/CL/BV-01-C test Verify that a Generic Attribute Profile client discovers Primary Services in a GATT server. Marcin Kraglak 11 years ago 1 file, +77, -8
4deec93e shared/io: Remove disconnect handler in io_destroy Diconnect callback may be called after destroying IO in next mainloop iteration (it leada to reading freed data). Removing disconnect handler prevents that situation. Marcin Kraglak 11 years ago 1 file, +5, -0
1adcdc84 attrib: Remove MTU-probing code Probing for the MTU using bt_io is problematic for testing because you cannot impersonate AF_BLUETOOTH sockets with a socketpair. Michael Janssen 11 years ago 1 file, +1, -13
9e02ecba Remove unused g_attrib_set_debug function This function is not used, and also not implemented. Michael Janssen 11 years ago 2 files, +0, -8
d5600f99 shared/att: Fix another memory leak In case of bt_att_cancel_all before resetting destroy callback to NULL it needs to be called so the requestor can properly free the resources: 104 (40 direct, 64 indirect) bytes in 1 blocks are definitely lost in loss record 47 of 55 at 0x4C291D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x408359: bt_gatt_exchange_mtu (gatt-helpers.c:479) by 0x405345: bt_gatt_client_new (gatt-client.c:1196) by 0x401A4B: test_client (test-gatt.c:198) 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 0x40162E: main (test-gatt.c:265) Luiz Augusto von Dentz 11 years ago 1 file, +17, -13
3465e976 shared/att: Fix memory leak This fixes the following backtrack when running test-gatt: 104 (40 direct, 64 indirect) bytes in 1 blocks are definitely lost in loss record 58 of 63 at 0x4C291D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x405E59: bt_gatt_exchange_mtu (gatt-helpers.c:477) by 0x4082D5: bt_gatt_client_new (gatt-client.c:1196) by 0x4030AB: create_context.constprop.4 (test-gatt.c:230) by 0x4032A5: test_client (test-gatt.c:320) 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 0x402A41: main (test-gatt.c:452) Luiz Augusto von Dentz 11 years ago 1 file, +6, -0
beb4892e hciattach: bcm43xx: Use final baudrate to download the firmware Speed up bcm43xx init by setting the final baudrate before firmware download. Loic Poulain 11 years ago 3 files, +42, -26
7a81358e android/handsfree: Add helper to check codec negotiation support This patch adds helper to test if codec negotiation is supported. This patch fixes also logic behind that. So far we assumed that codec negotiation is there if HFP HF does support it, even HFP AG does not support it. It cause a problem with e.g. SLC creation in scenario where HFP AG is not supporting codec negoctiation. In such a case we incorrectly reply with ERROR on AT+CIND? because we incorretly expected AT+BAC before that command. Issue found on UPF. Lukasz Rymanowski 11 years ago 1 file, +12, -6
1b3f0a16 tools/mcaptest: Add missing mainloop quit MCAP test should quit from main loop if mcl disconnects or if can't create mdl, mcl. Tested with PTS 5.3 test cases. Grzegorz Kolodziejczyk 11 years ago 1 file, +6, -0
e26d17b5 unit/test-hfp: Fix wrong check Andrei Emeltchenko 11 years ago 1 file, +1, -2
6fd40a38 shared/hfp: Fix memory leak Free fmt allocated by asprintf(). Andrei Emeltchenko 11 years ago 1 file, +3, -1
Previous Next