Commits

Commit Message Author Age Changes
441ebd51 shared/gatt-db: Rework API This rework the API to use gatt_db_attribute whenever possible which simplify the code adn reduces the number of lookups. Luiz Augusto von Dentz 11 years ago 4 files, +582, -590
2916f23a android/tester-gatt: Print handle for write Luiz Augusto von Dentz 11 years ago 1 file, +3, -0
1030023d shared/att: Add support for BT_ATT_ALL_REQUESTS Michael Janssen 11 years ago 2 files, +13, -1
c6cd3f52 gattrib: Remove unused GATTRIB_ALL_EVENTS In prep to use shared stack, this is unused and not functionally supported by bt_att. Michael Janssen 11 years ago 3 files, +0, -20
7353c6a4 unit-gattrib: Fix uninitialized variable Michael Janssen 11 years ago 1 file, +1, -1
67ea423b unit/test-gatt: Add TP/GAR/CL/BI-03-C test Verify Generic Attribute Profile client behavior when the Read Characteristic Value procedure fails due to insufficient authorization. Marcin Kraglak 11 years ago 1 file, +39, -0
a7ea758c unit/test-gatt: Add TP/GAR/CL/BI-02-C test Verify Generic Attribute Profile client behavior when the Read Characteristic Value procedure fails due to read not permitted. Marcin Kraglak 11 years ago 1 file, +39, -0
830f92dc unit/test-gatt: Add TP/GAR/CL/BI-01-C test Verify Generic Attribute Profile client behavior when the Read Characteristic Value procedure fails due to invalid handle. Marcin Kraglak 11 years ago 1 file, +39, -0
ecd2b846 unit/test-gatt: Add /TP/GAR/CL/BV-01-C test Verify that a Generic Attribute Profile client can read a Characteristic Value selected by handle. Marcin Kraglak 11 years ago 1 file, +156, -7
b3ca6b3f unit/test-gatt: Verify found services Register ready_callback in bt_gatt_client to verify services, characteristics and descriptors found during discovery. Marcin Kraglak 11 years ago 1 file, +88, -5
6cad2038 unit/test-gatt: Add macros defining tests with type Simplify macros for defining test cases. Marcin Kraglak 11 years ago 1 file, +14, -7
877561c1 shared/gatt: Fix memory leak in discovery_op_unref Free services list in discovery_op_unref. If discovery has been interrupted, services from discovery_op were not pushed to gatt_client service list, and it caused memory leak. Marcin Kraglak 11 years ago 1 file, +7, -3
29d3fdca unit/test-gatt: Add TP/GAD/CL/BV-06-C test Verify that a Generic Attribute Profile client can find all Descriptors of a specified Characteristic. Marcin Kraglak 11 years ago 1 file, +21, -0
16fd0ed5 unit/test-gatt: Use one generic search callback In these callbacks only success is verified, so there is no need to duplicate them. Marcin Kraglak 11 years ago 1 file, +7, -27
c66ab18c android/client: Fix unused warning for gatt client in Android 5 Andrei Emeltchenko 11 years ago 1 file, +2, -0
fa9a8efb android/handsfree: Add dummy configure_wbs() function In a case Android runs this print debug message. Andrei Emeltchenko 11 years ago 1 file, +15, -1
7ebfa1db android/client: Add new API support for handsfree client Add support for handsfree client new API by adding missing parameters to functions and callbacks. Andrei Emeltchenko 11 years ago 1 file, +208, -1
3f30b47d android/gatt: Fix pending request data leakage Fix potential memory leaks and one reported by Valgrind: ==28453== 201 (144 direct, 57 indirect) bytes in 3 blocks are definitely lost in loss record 156 of 166 ==28453== at 0x4C2CC70: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==28453== by 0x4362AD: att_handler (gatt.c:5655) ==28453== by 0x44496D: received_data.part.2 (gattrib.c:432) ==28453== by 0x4E7FCE4: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==28453== by 0x4E80047: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==28453== by 0x4E80309: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==28453== by 0x4045B6: main (main.c:772) Jakub Tyszkowski 11 years ago 1 file, +6, -1
db7c5f23 android/gatt: Fix sign counter comparison This fixes invalid sign counter comparison and fixes one issue with TC_SEC_CSIGN_BI_03_C PTS test case. Jakub Tyszkowski 11 years ago 1 file, +2, -2
7ecc9579 android/gatt: Fix using wrong variable type Not all bytes were set thus the following valgrind report: ==4748== Conditional jump or move depends on uninitialised value(s) ==4748== at 0x436493: att_handler (gatt.c:5922) ==4748== by 0x4448ED: received_data.part.2 (gattrib.c:432) ==4748== by 0x4E7FCE4: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==4748== by 0x4E80047: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==4748== by 0x4E80309: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==4748== by 0x4045B6: main (main.c:772) ==4748== Uninitialised value was created by a stack allocation ==4748== at 0x432690: get_cid.isra.5 (gatt.c:2983) ==4748== Jakub Tyszkowski 11 years ago 1 file, +1, -1
dd6ca5c7 android/pts: Update GATT PTS test results Marcin Kraglak 11 years ago 1 file, +7, -1
c56a5490 android/gatt: Search included services in Secondary Services Check type of service and perform include service discovery with valid range. Marcin Kraglak 11 years ago 1 file, +12, -3
34e31f2a android/gatt: Initialize includes queue Initialize included queue even if service is Secondary Service. Marcin Kraglak 11 years ago 1 file, +11, -14
890a2551 android/handsfree: Use bdaddr provided for find_device() Andrei Emeltchenko 11 years ago 1 file, +7, -3
0ac390e3 android/handsfree: Fix cut and paste typo Andrei Emeltchenko 11 years ago 1 file, +0, -2
86bad5d9 android/handsfree: Return default device for zero bdaddr For the old Android API use find_default_device() function. Andrei Emeltchenko 11 years ago 1 file, +3, -0
bcfbdd05 android/handsfree: Add support for new API for key_pressed_cmd_cb Key Pressed Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +17, -3
1fec414b android/handsfree: Add support for new API for unknown_at_cmd_cb Unknown AT Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +10, -1
23753826 android/handsfree: Add support for new API for clcc_cmd_cb CLCC Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +16, -3
30672580 android/handsfree: Add support for new API for cops_cmd_cb COPS Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +16, -3
9ad873ef android/handsfree: Add support for new API for cind_cmd_cb CIND Command notification callback has new parameter bdaddr. Currently use global device bdaddr. Andrei Emeltchenko 11 years ago 4 files, +16, -3
f87676bc android/handsfree: Add support for new API for cnum_cmd_cb CNUM Command notification callback has new parameter bdaddr. Currently use global device bdaddr. Andrei Emeltchenko 11 years ago 4 files, +17, -4
7abcd024 android/handsfree: Add support for new API for chld_cmd_cb CHLD Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +7, -0
e753d1c5 android/handsfree: Add support for new API for nrec_cmd_cb NREC Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +7, -0
83437357 android/handsfree: Add support for new API for handle_dtmf DTMF Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +7, -0
ea3e91cf android/handsfree: Add support for new API for dial_call_cmd_cb Dial Call Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +10, -1
2ce0bb3c android/handsfree: Add support for new API for volume_cmd_cb Volume Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +9, -0
b6e754e1 android/handsfree: Add support for new API for hangup_call_cmd_cb Hangup Call Command notification callback has new parameter bdaddr. Currently use global device bdaddr. Andrei Emeltchenko 11 years ago 4 files, +16, -3
9e5665a7 android/handsfree: Add support for new API for handle_answer Answer Call Command notification callback has new parameter bdaddr. Currently use global device bdaddr. Andrei Emeltchenko 11 years ago 4 files, +16, -3
0473ce49 android/handsfree: Add support for new API for vr_cmd_cb Voice Recognition Command notification callback has new parameter bdaddr. Andrei Emeltchenko 11 years ago 4 files, +8, -0
3abafb41 android/hal-ipc-api: Fix typos Andrei Emeltchenko 11 years ago 1 file, +2, -2
5078595d android/handsfree: Add support for new API for clcc_response clcc_response has new parameter bdaddr in new Android API. Andrei Emeltchenko 11 years ago 4 files, +39, -3
66231a25 android/handsfree: Add support for new API for at_response at_response has new parameter bdaddr in new Android API. Andrei Emeltchenko 11 years ago 4 files, +26, -2
6c70b603 android/handsfree: Add support for new API for formatted_at_response formatted_at_response has new parameter bdaddr in new Android API. Andrei Emeltchenko 11 years ago 4 files, +25, -2
d1eca830 android/handsfree: Add support for new API for cind_response cind_response has new parameter bdaddr in new Android API. Andrei Emeltchenko 11 years ago 4 files, +33, -3
2e2514c5 android/handsfree: Add support for new API for cops_response cops_response has new parameter bdaddr in new Android API. Andrei Emeltchenko 11 years ago 4 files, +25, -2
b0ba2f34 android/handsfree: Add support for new API for volume_control volume_control() in new Android API has bd_addr parameter. Andrei Emeltchenko 11 years ago 4 files, +26, -2
86b2b8c2 android/handsfree: Add support for new API for stop_vr stop_voice_recognition() in new Android API has bd_addr parameter. Andrei Emeltchenko 11 years ago 4 files, +32, -4
e16ccc08 android/handsfree: Add support for new API for start_vr start_voice_recognition() in new Android API has bd_addr parameter. Andrei Emeltchenko 11 years ago 4 files, +30, -4
b36434f4 android/handsfree: Add support for new API for handsfree init Add max_client parameter to IPC following new parameter for HF init(). Andrei Emeltchenko 11 years ago 6 files, +24, -4
Previous Next