| 53331d3f |
android/client: Add support for gattc multi_adv_disable |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +21, -0 |
| a65fd7dc |
android/client: Add support for gattc multi_adv_set_inst_data |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +51, -0 |
| e3d377c0 |
android/client: Fix no closing bt and audio dev on exit
Audio and bt hw devices should be closed on exit.
On exit we get:
==696== 80 bytes in 1 blocks are definitely lost in loss record 6 of 13
==696== at 0x4C2745D: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==696== by 0x6B3E683: open_bluetooth (hal-bluetooth.c:1079)
==696== by 0x4051C3: init_p (if-bt.c:374)
==696== by 0x4020F8: process_line (haltest.c:310)
==696== by 0x401919: main (haltest.c:423)
==696==
==696== 272 bytes in 1 blocks are possibly lost in loss record 10 of 13
==696== at 0x4C291D4: calloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==696== by 0x4011C24: _dl_allocate_tls (in /usr/lib64/ld-2.18.so)
==696== by 0x534480A: pthread_create@@GLIBC_2.2.5 (in
/usr/lib64/libpthread-2.18.so)
==696== by 0x5D192AE: audio_open (hal-audio.c:1541)
==696== by 0x411683: init_p (audio.h:655)
==696== by 0x4020F8: process_line (haltest.c:310)
==696== by 0x401907: main (haltest.c:421)
==696==
==696== LEAK SUMMARY:
==696== definitely lost: 80 bytes in 1 blocks
==696== indirectly lost: 0 bytes in 0 blocks
==696== possibly lost: 272 bytes in 1 blocks
==696== still reachable: 6,236 bytes in 18 blocks
==696== suppressed: 0 bytes in 0 blocks |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +20, -3 |
| 790e32b8 |
android/client: Fix double initialize of bluetooth
Profile initialization loop should omit already initialized profiles
by process line command. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +1, -1 |
| 1e64bbc8 |
shared/gatt-db: Add reference counting
This adds reference counting support. |
Luiz Augusto von Dentz |
11 years ago |
5 files, +32, -8 |
| 9811b52b |
shared/gatt-db: Use insert_service for add_service
gatt_db_add_service is the same as gatt_db_insert_service with little
change except not specifying the handle. Reuse the code. |
Michael Janssen |
11 years ago |
1 file, +9, -29 |
| 2af5da49 |
shared/gatt-db: Prevent insert at invalid handle 0
Handles can't be placed at 0x0000. |
Michael Janssen |
11 years ago |
1 file, +4, -1 |
| 5ed65041 |
core/device: Store info in btd_device_set_temporary
If bluetooth is turned off while pairing is in progress, sometimes
Linkey information is present but device (Class of Device) information
is missing.
This patch stores the device information immediately after Linkkey
information is saved so that Class of Device information is stored. |
Biman Paul |
11 years ago |
1 file, +1, -0 |
| 54ddff72 |
doc/obex-api: Fix SecondaryCounter documentation |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 5d9b188f |
core/profiles: Update PCE record version
This updates PCE record version to 1.2 |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 5bf03cc4 |
obexd/client: Add supported_features support
This adds supported_features support to obc_driver so driver can
provide this information when connecting.
This is required by PBAP 1.2 (page 48):
'Mandatory if the PSE advertises a PbapSupportedFeatures attribute in
its SDP record, else excluded.' |
Luiz Augusto von Dentz |
11 years ago |
3 files, +61, -1 |
| 2eb84f94 |
obexd/client: Add UpdateVersion to PhonebookAccess
This adds UpdateVersion method to PhonebookAccess interface. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +24, -7 |
| ee0a057f |
obexd/client: Add FixedImageSize property
This adds FixedImageSize property to PhonebookAccess interface. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +26, -0 |
| fb9c2902 |
obexd/client: Add folder counters properties
This adds PrimaryCounter and SecondaryCounter properties to
PhonebookAccess interface. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +103, -0 |
| 5ee26d43 |
obexd/client: Add DatabaseIdentifier property
This adds DatabaseIdentifier property to PhonebookAccess interface. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +72, -3 |
| f7a8cbd2 |
obexd/client: Add Folder property
This adds Folder property to PhonebookAccess interface. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +31, -1 |
| 3d88b863 |
obexd/client: Parse PBAP record
This add parsing to PBAP record to extract version and supported
features. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +48, -0 |
| 51763c0e |
obexd/client: Add support for reading version
This adds support for reading profile version via
SDP_ATTR_PFILE_DESC_LIST |
Luiz Augusto von Dentz |
11 years ago |
1 file, +21, -0 |
| 332ad05a |
android/README: Update status of HAL HFP HF implementation |
Lukasz Rymanowski |
11 years ago |
1 file, +1, -1 |
| 3617ef60 |
android/handsfree-client: Send AT+BCC to start codec negotiation
With this patch we start codec negotation on audio connect if both sides
does support it.
This patch also moves codec_negotiation_supported functions up in the
file |
Lukasz Rymanowski |
11 years ago |
1 file, +18, -8 |
| 13f027fb |
android/handsfree-client: Implement audio connect/disconnect |
Lukasz Rymanowski |
11 years ago |
1 file, +55, -5 |
| 593f6108 |
android/handsfree-client: Add handle incoming SCO connection |
Lukasz Rymanowski |
11 years ago |
1 file, +92, -0 |
| 529ce625 |
android/handsfree-client: Add SCO to handsfree client |
Lukasz Rymanowski |
11 years ago |
1 file, +15, -0 |
| 730c9464 |
pbap: Fix When MaxListCount header missing
As per spec(5.3.4.4) when MaxListCount headser is missing then
PSE should assume MaxListCount value as MAX (65535) |
Anurag Biradar |
11 years ago |
1 file, +6, -0 |
| 1ef94086 |
android/pts: PTS test for PAN on Android 5.0 and PTS 5.3 |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +3, -3 |
| 994441d9 |
android/pts: L2CAP pts tests results on Android 5.0 |
Sebastian Chlad |
11 years ago |
1 file, +16, -10 |
| 22c1d1ce |
android/pts: PTS tests for MPS on Android 5.0 |
Sebastian Chlad |
11 years ago |
2 files, +9, -5 |
| 753a2328 |
android/pts: PTS tests for HID on Android 5.0 |
Ravi kumar Veeramally |
11 years ago |
1 file, +2, -2 |
| 0cd72316 |
android/pts: PTS tests for DIS on Android 5.0 |
Ruslan Mstoi |
11 years ago |
1 file, +2, -2 |
| 1ddeba56 |
android/doc: Update cts results for Android 5
Google decided to disable BLE tests in CTS due to some quality issues.
Our tests shows that pure AOSP on Nexus devices was not passing.
We need to rerun BLE section when it becomes available again. |
Jakub Tyszkowski |
11 years ago |
1 file, +23, -23 |
| 7a452b10 |
android/hal-avrcp-ctrl: Fill register module command with max clients
Register module command must have declared max clients value before
registering module. Initial value is set to 1.
==2175== Syscall param sendmsg(msg.msg_iov[1]) points to uninitialised byte(s)
==2175== at 0x534AD5D: ??? (in /usr/lib64/libpthread-2.18.so)
==2175== by 0x6B47F8C: hal_ipc_cmd (hal-ipc.c:369)
==2175== by 0x6B42D42: init (hal-avrcp-ctrl.c:85)
==2175== by 0x404ACF: init_p (if-rc-ctrl.c:56)
==2175== by 0x401975: main (haltest.c:428)
==2175== Address 0xffefffcd2 is on thread 1's stack |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +1, -0 |
| 7dcd7bab |
gattrib: Fix not setting att's mtu size in g_attrib_new()
We were setting only the buffer in gattrib but att was left with the
default value of 23 (LE transport layer defaults). For BREDR transport
layer this may result in using smaller MTU than the minimum allowed
(48).
This was affecting cases when MTU Exchange was not supported by the
remote device and defaults were used. |
Jakub Tyszkowski |
11 years ago |
1 file, +3, -0 |
| 72bc4cec |
android/gatt: Fix improper signed write request decoding buffer size
We shouldn't assume minimum le mtu for incomming message. For BR/EDR
the minimum mtu is larger than for LE transport layer. Its safer to use
whole message size like we do in other cases. |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| 98198266 |
android/gatt: Improve prepare write request response
According to spec we should response with value provided in the
request. Helper function was not very helpfull in prepare write
request. It was forcing another buffer copy and was overwriting
reponse values with their own values, thus was removed. |
Jakub Tyszkowski |
11 years ago |
1 file, +31, -28 |
| ff26533e |
android/gatt: Unify read by type and read by group type
These two functions were veary similar but inconsisten in used error
codes and freeing allocated data. |
Jakub Tyszkowski |
11 years ago |
1 file, +27, -62 |
| 914d7a77 |
shared/gatt-db: Add helper to get service handles.
This patch adds gatt_db_service_get_handles which is an internal helper
to obtain service handles from a gatt_db_service directly. |
Arman Uguray |
11 years ago |
1 file, +18, -17 |
| f858adb0 |
shared/gatt-db: Fix bug in maximum handle check.
0xffff is a valid handle and many devices return it as the end group
of their last service. This patch fixes a bug that prevents adding or
inserting such a service into the database. |
Arman Uguray |
11 years ago |
1 file, +3, -3 |
| 3c9d4bdd |
shared/gatt-db: Add clear functions
This patch introduces gatt_db_clear and gatt_db_clear_range functions
for removing services from the database. |
Arman Uguray |
11 years ago |
2 files, +48, -0 |
| dcfc3f56 |
shared/gatt-db: Add gatt_db_insert_service function
This patch adds the gatt_db_insert_service function which inserts a
service with a pre-defined handle into the database if the desired
handle range is available.
This is primarily meant to be used by gatt-client, since the handles
in a client database need to perfectly match those returned from a
remote server. This also allows client to handle "Service Changed"
events in which a newly found service can be inserted at the correct
location within the database. |
Arman Uguray |
11 years ago |
2 files, +118, -10 |
| 28e66d9b |
unit/test-queue: Add /queue/push_after test
This tests the queue_push_after function. |
Arman Uguray |
11 years ago |
1 file, +52, -0 |
| 5eceba3d |
shared: Add function to insert element after entry
This patch adds queue_push_after, which inserts the given "data"
after the first occurence of element "entry" in a queue. |
Arman Uguray |
11 years ago |
2 files, +36, -0 |
| a6d3b020 |
shared/gatt-db: Add high-level functions for client
This patch introduces foreach functions to gatt-db for enumerating
service, characteristic, and decriptors stored in the database as
gatt_db_attribute pointers. This patch also adds functions for
extracting service, characteristic, and include declaration data out of
matching attributes.
This is in preparation for using gatt-db as the attribute cache in
shared/gatt-client. |
Arman Uguray |
11 years ago |
2 files, +291, -0 |
| bcbbf620 |
android/client: Add support for gattc multi_adv_update |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +35, -0 |
| 2876cd5b |
android/client: Add support for gattc multi_adv_enable |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +35, -0 |
| c59c42c0 |
android/client: Add support for gattc set_scan_parameters |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +14, -0 |
| 72d031e6 |
android/client: Add support for gattc conn_parameter_update |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +30, -0 |
| e95e7f66 |
android/client: Add support for gattc configure_mtu |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +23, -0 |
| d20ab695 |
android/client: Add support for gattc set_adv_data |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +55, -0 |
| 63c0f195 |
android/client: Omit length parameter for hex string data
There is no need to pass length parameter to functions. Length of hex
strings is automatically calculated from string in GET_VERIFY_HEX_STRING
macro. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +3, -5 |
| aa043e85 |
android/client: Add a2dp sink support
This adds support for a2dp sink HAL, which is almost identical to
source role. |
Jakub Tyszkowski |
11 years ago |
6 files, +148, -0 |