| 6466199d |
android/gatt: Add helper for getting device by conn_id
It will look for cgatt_device by conn_id. |
Marcin Kraglak |
11 years ago |
1 file, +8, -6 |
| 2edb4a4a |
android/gatt: Add helper to get client by id
It will look for gatt_client by client_id. |
Marcin Kraglak |
11 years ago |
1 file, +7, -4 |
| 8d2cc1ff |
android/gatt: Fix possible NULL pointer defererence
If memory allocation failed, return error from handle_client_register. |
Marcin Kraglak |
11 years ago |
1 file, +5, -0 |
| 1f949a09 |
android/handsfree: Check service class is not zero
Fixes static analyzers NULL dereference warnings. The similar check is
done in src/device.c in line 2959. |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -2 |
| fc329006 |
android/gatt: Remove redundant queue check
It is safe to just call queue_peak_head on empty queue. Now its also
safe to pass NULL to send_client_char_notify as status will be set
inside it. |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -4 |
| a8cf659c |
android/gatt: Refactor characteristic notify function
This removes redundant status from function parameter list, as sent
status is different than success only when there is no characteristic. |
Jakub Tyszkowski |
11 years ago |
1 file, +5, -13 |
| f68c0cd9 |
android/gatt: Fix cached services having element_id uuid not set
This patch removes temporary uuid as we already have uuid in services
element_id, which now is properly filled. |
Jakub Tyszkowski |
11 years ago |
1 file, +6, -7 |
| 685189f5 |
android/gatt: Fix sendig wrong byte ordered uuids
We were sending wrong byte ordered uuids since the last gatt library
changes. Two helpers were introduced for swapping uuids sent to, and
received from HAL. |
Jakub Tyszkowski |
11 years ago |
1 file, +30, -13 |
| 0bbef651 |
android/gatt: Reduce callback data struct scope
This saves us from redundant data (de)allocation if characteristics are
already cached. |
Jakub Tyszkowski |
11 years ago |
1 file, +19, -15 |
| 322a1de4 |
android/gatt: Add helper for service search
This kind of search will be performed in most of the functions
implementing gatt's HAL API. |
Jakub Tyszkowski |
11 years ago |
1 file, +28, -12 |
| 25cafb36 |
android/gatt: Use better name for function filling element_id |
Jakub Tyszkowski |
11 years ago |
1 file, +2, -2 |
| f9f0ab8b |
android/gatt: Use better name for matching function
As there is no static type check for matching functions, we should keep
their names more descriptive, like 'match_dev_by_conn_id' is. |
Jakub Tyszkowski |
11 years ago |
1 file, +2, -2 |
| 9ff7b4f0 |
android/gatt: Unify destroy functions
This patch unifies destroy function names. We should also keep destroy
functions convention as it is in /src/shared/hci.c for example, and
check passed pointer before dereferencing it. |
Jakub Tyszkowski |
11 years ago |
1 file, +8, -2 |
| ab6cea2c |
android/gatt: Fix incorrect usage of bt_uuid_to_uuid128 |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +1, -1 |
| b278efa5 |
android/bluetooth: Send new device events only when needed |
Szymon Janc |
11 years ago |
1 file, +18, -1 |
| 288f8f92 |
android/bluetooth: Send friendly name property when sending name |
Szymon Janc |
11 years ago |
1 file, +18, -0 |
| 16f3747a |
android/bluetooth: Send device friendly name before name
This fix not setting friendly name correctly after BT power was
toggled. This is due to props being send in multiple notifications
instead of single one. |
Szymon Janc |
11 years ago |
1 file, +3, -1 |
| 99be651b |
android/tester: Update set device friendly name test |
Szymon Janc |
11 years ago |
1 file, +7, -33 |
| f3b62cf1 |
android/bluetooth: Don't send notification when setting device name
It is not needed to send notification when friendly name of remote
device is being set. Java already cache proper value. This was also
triggering exception in Java code (bug). |
Szymon Janc |
11 years ago |
1 file, +0, -3 |
| fbe5dea2 |
android/hal-gatt: Check if service is registered before sending cmd |
Szymon Janc |
11 years ago |
1 file, +102, -0 |
| 61047d91 |
android/client: Add AVRCP register_notification_rsp support
Input for this call doesn't require all parameters of structure
to be filled at the same time. Input data depepnds on event_id
and type. Implemented this api support based on
android/hal_avrcp.c:register_notification_rsp. |
Ravi kumar Veeramally |
11 years ago |
1 file, +78, -0 |
| e35a11d7 |
core: Minor coding style fix |
Johan Hedberg |
11 years ago |
1 file, +4, -2 |
| 4b8dc77b |
core/profile: Fix failing to accept connections without a service
For incoming connections it is not mandatory to have a service since the
profile may be a server only (enable_client is false) therefore it does
not need to track connection status. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +31, -9 |
| 55776060 |
android/gatt: Handle get characteristic client command
This adds get characteristic client command handling. If characteristic
id is given, then next characteristic after given is returned. In case of
no initial characteristic, first characteristic in given service is
returned. Characteristics are cached on first get characteristic command
call for service. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +231, -6 |
| 675546f3 |
Release 5.17 |
Marcel Holtmann |
11 years ago |
2 files, +10, -1 |
| b395f39f |
build: Update library version |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| 9c02efcf |
lib: Update company identifiers |
Marcel Holtmann |
11 years ago |
1 file, +12, -0 |
| 8b5461c2 |
android/README: Add section about unimplemented profiles features |
Szymon Janc |
11 years ago |
1 file, +18, -0 |
| 26ea2796 |
android/pts: Update HFP test results |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| 2f29230a |
android/pics: Fix missing Codec Negotiation setting in HFP |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| af1d3ed1 |
android/pts: Update HFP test results |
Szymon Janc |
11 years ago |
1 file, +40, -18 |
| e5e98e11 |
android/pics: Enable WBS and more optional features in HFP |
Szymon Janc |
11 years ago |
1 file, +15, -15 |
| b03a345e |
android/handsfree: Fix not sending callheld update
This fix not sending callheld indicator update in three way calling
scenario with call placed from HF. This was affecting
TC_AG_TWC_BV_05_I qualification test case. |
Szymon Janc |
11 years ago |
1 file, +3, -0 |
| 8160c3fb |
android/handsfree: Update indicators if calls changed with waiting call
If ongoing calls were changed while there is waiting call, callheld and
call indicators should be updated to match new calls state. This was
affecting TC_AG_TCA_BV_05_I qualification test case. |
Szymon Janc |
11 years ago |
1 file, +12, -1 |
| bbc32b30 |
android/handsfree: Track if incoming call is being rejected
If incoming call is being rejected following phone_state_change are
being send to handsfree HAL (probably due to some intermediate state
when incoming call is being rejected):
active=0 hold=0 state=idle
active=0 hold=0 state=incoming
active=0 hold=0 state=idle
active=0 hold=0 state=idle
To avoid sending bogus RING and callsetup=1 indicators this needs to be
tracked. This was afecting TC_AG_ICR_BV_01_I,TC_AG_ICR_BV_02_I and
TC_AG_TWC_BV_02_I qualification test cases. |
Szymon Janc |
11 years ago |
1 file, +15, -0 |
| a4fe38cd |
android/handsfree: Send NO CARRIER if call was end due to carrier loss
This was affecting TC_AG_TCA_BV_06_I qualification test case. |
Szymon Janc |
11 years ago |
1 file, +7, -0 |
| ae3f1b7d |
android/pts: Update HSP PICS and PTS test results |
Szymon Janc |
11 years ago |
2 files, +7, -7 |
| f9648711 |
attrib: Remove att_get_* and att_put_* helpers |
Claudio Takahasi |
11 years ago |
1 file, +0, -89 |
| d09d075d |
proximity: Remove att_put_u8() usage |
Claudio Takahasi |
11 years ago |
1 file, +1, -1 |
| f1956438 |
gatt: Move Characteristic properties to attrib/gatt.h
Properties are defined by GATT specification. This patch moves and
renames the defines related to Characteristic properties bits from
attrib/att.h to attrib/gatt.h |
Claudio Takahasi |
11 years ago |
12 files, +58, -50 |
| 22a0f404 |
android/hal-gatt: Fix sending get characteristic cmd |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| 58e3ca95 |
android/hal-gatt: Fix sending wrong gatt_id struct |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| 3c470426 |
core: Fix sending redundant Appearance/Icon signals |
Johan Hedberg |
11 years ago |
1 file, +3, -0 |
| ee51e8a5 |
tools: Use unaligned access macros from util.h |
Claudio Takahasi |
11 years ago |
4 files, +5, -6 |
| 350107b3 |
android/gatt: Keep client notify functions names consistent
We should use consistent names for client notify functions. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +5, -5 |
| f3e500b0 |
attrib: Minor code optimization |
Claudio Takahasi |
11 years ago |
1 file, +1, -3 |
| 3d4d9147 |
core: Fix creating 128-bit uuid_t based on GATT service
sdp_uuid128_create() gets the 128-bit UUID on big-endian (human-readable
format) byte order. Service declaration attributes puts the UUIDs in the
attribute value field using little endian order. This patch converts the
128-bit UUID from little-endian to big-endian before creating uuid_t. |
Claudio Takahasi |
11 years ago |
1 file, +7, -3 |
| 454a3073 |
Replace att_put_u16() by put_le16() |
Claudio Takahasi |
11 years ago |
11 files, +100, -97 |
| e13e1abb |
Replace att_put_uuid() by util.h helpers |
Claudio Takahasi |
11 years ago |
3 files, +34, -12 |
| 1a1e9b4f |
Replace att_get_uuid128() by bswap_128()
GATT/ATT use little-endian byte order format for 128-bit UUID. No matter
the system byte order representation, internally the core will handle
128-bit UUID on big-endian format. |
Claudio Takahasi |
11 years ago |
4 files, +89, -36 |