| 7a588b40 |
android/health: Fix wrong boolean value for command handler
bt_health_register_app contains variable data. |
Ravi kumar Veeramally |
11 years ago |
1 file, +1, -1 |
| a4fd7df5 |
android/hal-msg: Add mdep role and channel type defines |
Ravi kumar Veeramally |
11 years ago |
1 file, +7, -0 |
| 993485b0 |
android/hal-health: Fix copying empty string
MDEP desciption is optional. So check before copying. |
Ravi kumar Veeramally |
11 years ago |
1 file, +6, -2 |
| 80baeb02 |
android/hal-health: Use correct enums |
Ravi kumar Veeramally |
11 years ago |
1 file, +3, -3 |
| 72d88674 |
android/haltest: Increase commands max parameters value
10 is not enough for some commands i.e. health register application. |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| b458fd41 |
obexd: Fix treating PUT with Body header as delete
Requests have the size set to OBJECT_SIZE_DELETE but if the request has
a body header the size should be set to OBJECT_SIZE_UNKNOWN as it no
longer can be considered a delete request:
"3.4.3.6 Put-Delete and Create-Empty Methods
A PUT operation with NO Body or End-of-Body headers whatsoever should
be treated as a delete request." |
Luiz Augusto von Dentz |
11 years ago |
1 file, +4, -0 |
| a7a73c50 |
audio/player: Fix properties Browsable/Searchable
Those properties are set before the initial scope has been set so
checking for scope will always cause them to be invalidated, instead
check if any folder exists which indicates that MediaFolder interface
will be created shortly. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +3, -3 |
| 67446854 |
android/gatt: Add support for write without response |
Lukasz Rymanowski |
11 years ago |
1 file, +37, -16 |
| e72c9476 |
android/gatt: Add support for write execute
This patch add support for write execute. There is possible to write or
cancel all prepared data |
Lukasz Rymanowski |
11 years ago |
1 file, +47, -1 |
| 54b4ccf1 |
android/gatt: Add support for reliable write
This patch add support for reliable write |
Lukasz Rymanowski |
11 years ago |
1 file, +11, -0 |
| 7ecdd48a |
attrib: Expose write execute
This is needed to cover Android API |
Lukasz Rymanowski |
11 years ago |
2 files, +9, -0 |
| a877e3a2 |
attrib: Add API for reliable write
Android expose to application api for reliable write. Therefore we need
to add this support to gattrib |
Lukasz Rymanowski |
11 years ago |
2 files, +23, -0 |
| 641128bf |
android/avrcp: Remove unused local variable |
Szymon Janc |
11 years ago |
1 file, +1, -2 |
| a897bb14 |
android/a2dp: Remove unused local variable |
Szymon Janc |
11 years ago |
1 file, +1, -2 |
| ff17170a |
android/hidhost: Remove not needed local variable
Source address is always known since daemon supports only single
adapter. No need to read it from btio. |
Szymon Janc |
11 years ago |
1 file, +2, -3 |
| 3576214b |
android/hidhost: Improve error messages |
Szymon Janc |
11 years ago |
1 file, +38, -26 |
| 40f7f261 |
android/hidhost: Check if hex2buf succeed
Fail if received string contains illegal characters. |
Szymon Janc |
11 years ago |
1 file, +14, -9 |
| c803cf88 |
android/hidhost: Don't use sscanf in hex2buf
Add cheaper version (based on similar code in oFono) that doesn't
require sscanf. |
Szymon Janc |
11 years ago |
1 file, +30, -4 |
| 35cd7edd |
android/hidhost: Cleanup handle_uhid_output |
Szymon Janc |
11 years ago |
1 file, +7, -8 |
| 4a0ac907 |
android/hidhost: Fix handle_uhid_output
Data from kernel is not in form of hex string. Just copy it instead of
converting from hex string. |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| cdfdc6b2 |
gatt: Fix not replying for write requests
Attributes should not be unregistered dynamically unless the service
implementation calls UnregisterService() or leave the system bus.
Implementations may accidentally (or maliciously) unregister a GATT
object (characteristic or descriptor) belonging to a service hierarchy.
gdbus automatically tracks InterfacesRemoved() signal, and destroys the
GDBusProxy associated with the removed interfaces. Subsequent calls of
g_dbus_proxy_set_property_array() returns FALSE, and it needs to be
handled properly since the GDBusProxy result callback will not be called. |
Claudio Takahasi |
11 years ago |
1 file, +7, -3 |
| fde23152 |
core/profile: Fix regression when registering for client only
This got introduced with PCE that register a record for PBAP client, but
it end up causing a regression where all profiles that have records would
be probed as if server was enabled as well.
Note that is was possible to register PBAP client with PCE record, in
that case Role option should be omitted so both server and client role
are enabled by default which does not affect PBAP server component since
it uses a different UUID, in fact the correct form to add PCE record is
probably to register as server only. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 7641572b |
tools: Remove simple-service
simple-service no longer works since the API it uses no longer exists and
Profile API already has a similar tool. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +1, -129 |
| bca184dd |
android/pts: Re-run OPP PTS 5.1 test |
Sebastian Chlad |
11 years ago |
1 file, +79, -44 |
| 61c29ca2 |
android/gatt: Fix descriptors discovery
gatt_discover_char_desc() may not return all of characteristic's
descriptors in single call since they may not fit into single
response (i.e. there are simply too many of them or there are both 16-
and 128-bit UUID descriptors which cannot be sent in single response).
We need to check if all descriptors were already returned by using
characteristic handles range and/or status error and request remaining
if possible.
Retrieved descriptors are stored on temporary queue which is later just
swapped with characteristic descriptors queue once finished. This it to
make update process atomic-like. |
Andrzej Kaczmarek |
11 years ago |
1 file, +33, -6 |
| 6b1b60b6 |
android/gatt: Simplify descriptor discovery structs
There's no need to pass/keep e.g. both gatt_device and conn_id since
we can retrieve one from another, so let's just use strutcures which
hold more data we can reuse later. |
Andrzej Kaczmarek |
11 years ago |
1 file, +16, -15 |
| 3c38f71d |
android/gatt: Use cached handle for descriptors discovery
We can now just use cached end handle from characteristic instead of
calculating it. |
Andrzej Kaczmarek |
11 years ago |
1 file, +1, -11 |
| 369bced3 |
android/gatt: Simplify discover_char_cb |
Andrzej Kaczmarek |
11 years ago |
1 file, +5, -4 |
| 3593cfed |
android/gatt: Cache end handle for characteristics |
Andrzej Kaczmarek |
11 years ago |
1 file, +14, -3 |
| e99e5af4 |
android/gatt: Remove redundant code
cache_all_srvc_chars is called only with empty queue so it's redundant
to handle this condition again inside function. |
Andrzej Kaczmarek |
11 years ago |
1 file, +0, -4 |
| 4d00f270 |
android/gatt: Remove reconnect feature
This patch removes reconnect try when remote BLE device got
disconnected.
This is to avoid confusion of Android framework which now get ACL
states changed event with state disconnected on Bluetooth HAL but no
disconnected Event on GATT HAL. |
Lukasz Rymanowski |
11 years ago |
1 file, +2, -18 |
| ec898823 |
android: Build hciattach tool |
Szymon Janc |
11 years ago |
2 files, +31, -1 |
| f3c012c6 |
android: Fix not unregistering last profile |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| 9324dab7 |
android/handsfree: trivial: Correct comment style |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -2 |
| 90268c53 |
android/hal-audio: Make code readable |
Andrei Emeltchenko |
11 years ago |
1 file, +7, -7 |
| 87c8fbd1 |
android/ipc: Add common definitions for GATT IPC structures
Since GATT IPC uses common structures for services, characteristics and
descriptors in many messages there's no need to describe each structure
in each call separately. They can be replaced with common definition. |
Andrzej Kaczmarek |
11 years ago |
1 file, +32, -125 |
| 13ba9a36 |
android/gatt: Add IPC message verification for service_search |
Andrzej Kaczmarek |
11 years ago |
1 file, +7, -0 |
| 4e1df0c3 |
android/hal-gatt-api: Fix IPC definition for write_characteristic |
Andrzej Kaczmarek |
11 years ago |
3 files, +5, -5 |
| d8d3c10d |
android/hal-gatt-api: Fix IPC definition for read_characteristic |
Andrzej Kaczmarek |
11 years ago |
3 files, +5, -5 |
| b2df2b01 |
android/hal-gatt-api: Fix IPC definition for get_descriptor |
Andrzej Kaczmarek |
11 years ago |
4 files, +23, -19 |
| 05cd11a1 |
android/hal-gatt-api: Fix IPC definition for get_characteristic |
Andrzej Kaczmarek |
11 years ago |
4 files, +15, -14 |
| 07fc7229 |
android/hal-gatt-api: Fix IPC definition for get_included_service |
Andrzej Kaczmarek |
11 years ago |
4 files, +25, -18 |
| e703cd21 |
android/hal-gatt-api: Fix IPC definition for service_search |
Andrzej Kaczmarek |
11 years ago |
3 files, +5, -7 |
| c63a16d1 |
android/hal-audio: Adjust audio quality automatically
In case we go out of sync with audio clock and start skipping data to
catch up, we also decrease audio quality to have better chance to avoid
going out of sync in future, i.e. due to poor radio link quality.
Quality is reset to default value on stream resume. |
Andrzej Kaczmarek |
11 years ago |
1 file, +5, -0 |
| 36435438 |
android/hal-audio: Add support to control audio quality
This patch adds new codec abstraction call which can be used to adjust
audio quality while playing. As for now we can either decrease quality
or restore default one.
It's up to actual codec capabilities and implementation how this can be
handled. In case of SBC bitpool is decreased by fixed amount (5) until
min allowable value is reached (33) - the same values are used in
PulseAudio. |
Andrzej Kaczmarek |
11 years ago |
1 file, +67, -16 |
| ae8c2531 |
android/hal-audio: Resync audio when lagging too much
In case we're more than 100ms behind actual audio clock, we start to
skip writing data until we're back in sync. Delay value of 100ms is
what PulseAudio use for the same purpose. |
Andrzej Kaczmarek |
11 years ago |
1 file, +29, -9 |
| 8a57bbdc |
android/hal-audio: Make audio socket non-blocking
This patch makes writing to audio socket non-blocking since there's no
point in waiting indefinitely to write some data. Instead, we wait no
more than 500ms for socket to be ready and just skip packet otherwise. |
Andrzej Kaczmarek |
11 years ago |
1 file, +130, -61 |
| 1daf36c8 |
android/hal-audio: Add resume_endpoint helper |
Andrzej Kaczmarek |
11 years ago |
1 file, +12, -4 |
| 6f15a576 |
android/a2dp: Prefer master role on incoming connections |
Andrzej Kaczmarek |
11 years ago |
1 file, +1, -0 |
| 0da8d999 |
tools: Remove permission check from hcidump utility |
Marcel Holtmann |
11 years ago |
1 file, +2, -32 |