| cf17c233 |
android/gatt: Format string with address properly |
Marcin Kraglak |
11 years ago |
1 file, +3, -1 |
| f50c092b |
android/gatt: Simplify removing device from list |
Marcin Kraglak |
11 years ago |
1 file, +1, -1 |
| 463796f7 |
android/gatt: Remove unneeded label from unregister_client |
Marcin Kraglak |
11 years ago |
1 file, +3, -5 |
| 00fc4210 |
android/gatt: Add cache check in Clients caching callbacks
As we were only checking in API call functions if cache exist and not
in asynchronous callbacks, it was possible to schedule multiple
discovery sessions before cache was filled with data. This resulted in
adding duplicate entries, when all scheduled discovery sessions started
to cache data. |
Jakub Tyszkowski |
11 years ago |
1 file, +9, -2 |
| 533954fe |
android/gatt: Add Client's refresh function call
This adds clearing remote devices cache (services, characteristics and
descriptors). |
Jakub Tyszkowski |
11 years ago |
1 file, +24, -1 |
| 20035a86 |
android/gatt: Fix sending device to (dis)connect callback
This fixes casting void* at wrong structure. We pass device, not bdaddr
as user data. |
Jakub Tyszkowski |
11 years ago |
1 file, +4, -7 |
| 316d7dc6 |
android/gatt: Trivial whitespace fixes |
Jakub Tyszkowski |
11 years ago |
1 file, +12, -13 |
| 3c4953d2 |
android/gatt: Fix type of status parameter |
Lukasz Rymanowski |
11 years ago |
1 file, +1, -1 |
| 893b0307 |
android/hal-ipc: Increase bluetoothd connect timeout
Current timeout is not enough when running bluetoothd under valgrind. |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 6dd3f1f1 |
android/bluetoothd-wrapper: Pass --track-origin=yes to valgrind |
Szymon Janc |
11 years ago |
1 file, +6, -5 |
| c09f4ba7 |
android/hal-gatt: Fix sending uninitialised byte
This fixes sending uninitialised byte on init:
Syscall param sendmsg(msg.msg_iov[1]) points to uninitialised byte(s)
at 0x534ADDD: ??? (in /usr/lib64/libpthread-2.18.so)
by 0x6B5628C: hal_ipc_cmd (hal-ipc.c:357)
by 0x6B54F6D: init (hal-gatt.c:1268)
by 0x4092DB: init_p (if-gatt.c:779)
by 0x401CCD: main (haltest.c:413)
Address 0xffefffda1 is on thread 1's stack
Uninitialised value was created by a stack allocation
at 0x6B54EC0: init (hal-gatt.c:1252) |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -0 |
| 347c4ba5 |
android/system-emulator: Pass --track-origin=yes to valgrind
This adds --track-origin=yes option:
"Controls whether Memcheck tracks the origin of uninitialised values.
By default, it does not, which means that although it can tell you
that an uninitialised value is being used in a dangerous way, it
cannot tell you where the uninitialised value came from. This often
makes it difficult to track down the root problem." |
Luiz Augusto von Dentz |
11 years ago |
1 file, +5, -4 |
| a0528609 |
android/README: Add information about not implemented AVRCP features |
Szymon Janc |
11 years ago |
1 file, +2, -0 |
| 59d49e17 |
android/gatt: Fix sending notification for register gatt client
This patch adds missing send notification in case of errors for gatt
client registration. In case of error status GATT_FAILURE with given in
cmd UUID is send in notification. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +24, -11 |
| 17ac2d59 |
android/gatt: Fix not sending confirmation while receiving indication
Send confirmation after receiving indication. |
Marcin Kraglak |
11 years ago |
1 file, +12, -0 |
| 56a6e74e |
android/pts: Bump PTS version for HFP
Re-checking PIXITs and PICS for HFP on PTS 5.1. |
Sebastian Chlad |
11 years ago |
2 files, +2, -2 |
| 87cd9eb9 |
android/pts: Re-test HSP against PTS 5.1 |
Sebastian Chlad |
11 years ago |
1 file, +2, -2 |
| d4a8c044 |
android/pts: Bump PTS version for HSP
Rechecking of PICS and PIXITs for HSP on PTS 5.1. |
Sebastian Chlad |
11 years ago |
2 files, +2, -2 |
| 1fa74415 |
android/gatt: Fix incorrect event status
Return proper gatt_status in register_for_notification event. |
Marcin Kraglak |
11 years ago |
1 file, +2, -2 |
| 7b0abd94 |
android/pts: Re-test PBAP against PTS 5.1 |
Sebastian Chlad |
11 years ago |
1 file, +11, -3 |
| 94e7f93b |
android/pts: Bump PTS version for PBAP |
Sebastian Chlad |
11 years ago |
2 files, +7, -7 |
| 19780ae4 |
android/pts: Re-run PAN tests on PTS 5.1 |
Sebastian Chlad |
11 years ago |
1 file, +2, -2 |
| 0e5678d1 |
android/pts: Bump PTS version for PAN |
Sebastian Chlad |
11 years ago |
2 files, +3, -3 |
| dc6ab90e |
android/gatt: Add support for fake read RSSI
This will ease testing until kernel support is added. |
Szymon Janc |
11 years ago |
1 file, +23, -1 |
| 7d69be7b |
android/hal-gatt: Fix typo in struct name
It causes ipc error due to incorrect message length. |
Marcin Kraglak |
11 years ago |
1 file, +1, -1 |
| ee1c0375 |
android/hidhost: Fix hex string to buffer convertion
Due to missing limit specifier buffer was always filled with last hex
value in string. |
Szymon Janc |
11 years ago |
1 file, +14, -9 |
| 54683056 |
android/pts: Re-test MAP against PTS 5.1 |
Sebastian Chlad |
11 years ago |
3 files, +7, -6 |
| dd6aaa23 |
android/pts: Re-test HID against PTS 5.1 |
Sebastian Chlad |
11 years ago |
1 file, +6, -6 |
| 3188f02f |
android/pts: Bump PTS version for HID |
Sebastian Chlad |
11 years ago |
2 files, +2, -2 |
| 9da5b7c8 |
android/pts: PTS tests results for AVCTP
Re-test against PTS 5.1 as well as adding test for CT role. |
Sebastian Chlad |
11 years ago |
1 file, +3, -3 |
| b9c119ad |
android/pts: Update PICS and PIXITs for AVCTP
Bumping version of PTS to 5.1 as well as adding the CT role. Since
both roles are enabled for AVRCP, AVCTP should follow the suit. |
Sebastian Chlad |
11 years ago |
2 files, +10, -10 |
| 15ec6b6d |
android/pts: Re-test A2DP against PTS 5.1 |
Sebastian Chlad |
11 years ago |
1 file, +2, -2 |
| 9deb6223 |
android/pts: Bump PTS version for A2DP |
Sebastian Chlad |
11 years ago |
2 files, +2, -2 |
| 02171226 |
gobex: Fix asserting one more time
This fixes a regression caused by 35938b779dc8d2498e66e6a6483a36c1f99c2e19
where the current pending_req is set to NULL while processing the
response but cause the request to timeout since it is no longer removed
properly. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 4899119c |
tools/obexctl: Add support for listing phonebook size
This adds option -l which in case of PBAP will use GetSize before listing
the contacts of the current folder. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +47, -7 |
| 69907d05 |
android/gatt: Fix instance id for primary and included service
Since there might be multiple services with same uuid, we should
make sure that each primary and included service has unique instance
id.
This patch adds this. |
Lukasz Rymanowski |
11 years ago |
1 file, +38, -6 |
| 58c85352 |
android/gatt: Use cache for included services
We should used cached included services as ofter as possible
This patch do bit refactor of handling included service.
Removes some unsed helper functions used to match in queue.
Also moves up find_service function as it is need now higier in the
code. |
Lukasz Rymanowski |
11 years ago |
1 file, +94, -81 |
| 1a954c01 |
android/gatt: Change label name from failed to reply
Next patch will use this label in success case therefore let's change
this label |
Lukasz Rymanowski |
11 years ago |
1 file, +5, -5 |
| 7aac3106 |
android/gatt: Add helper to send included service |
Lukasz Rymanowski |
11 years ago |
1 file, +33, -25 |
| fbdc0a55 |
android/gatt: Cache include services
This patch adds caching included services.
Note that included service in put on two queues.
1. On main services queue on the device, together with primary services.
2. On special queue inside the primary service.
We need 1) to have easy search of service when Android framework request
for characteristics etc.
We need 2) to handle iteration on included services done by Android
framework for a given primary service |
Lukasz Rymanowski |
11 years ago |
1 file, +38, -1 |
| d0d493da |
android/gatt: Add helper function to create_service
This function will be useful when we start cache also included
services |
Lukasz Rymanowski |
11 years ago |
1 file, +36, -20 |
| eac4d325 |
android/gatt: Prepare to cache included services
With this patch struct service is enhanced to handle caching include
services |
Lukasz Rymanowski |
11 years ago |
1 file, +15, -4 |
| 7ad34bdb |
android/gatt: Add msg size check for get included service |
Lukasz Rymanowski |
11 years ago |
1 file, +7, -0 |
| 999b9dfc |
android/gatt: Minor change in get_include_data
Change service to prim so it is more readable that this is primary
service |
Lukasz Rymanowski |
11 years ago |
1 file, +3, -3 |
| a5f5f75e |
android/gatt: Add list of disconnected device
This patch add disconnected device list. It is in order to not lose
the cache if we disconnect from LE device.
Once device is disconnected we move it to disc_dev_list. When Client
wants to connect we first check if we know device, if so we use it. |
Lukasz Rymanowski |
11 years ago |
1 file, +29, -9 |
| 764e7ca0 |
android/gatt: Add create_device helper function |
Lukasz Rymanowski |
11 years ago |
1 file, +23, -19 |
| 6e31be7d |
android/gatt: Use cached primary services if possible |
Lukasz Rymanowski |
11 years ago |
1 file, +8, -0 |
| 32efc1bd |
android/gatt: Add helper functions to send all primary services
This patch adds helper functions to send all the primary services.
This will be useful for following patches where we want to send to
client cached data. |
Lukasz Rymanowski |
11 years ago |
1 file, +42, -19 |
| 51251a71 |
android/gatt: Add flag primary to struct service
Since we are going to use this struct also for included services lets
add here flag saying if this is primary service or not. |
Lukasz Rymanowski |
11 years ago |
1 file, +3, -0 |
| 5adcc6c7 |
android/gatt: Change name of gatt_primary in service structure |
Lukasz Rymanowski |
11 years ago |
1 file, +9, -9 |