| 2b238420 |
AUTHORS: Add Tieto developers |
Szymon Janc |
11 years ago |
1 file, +5, -0 |
| f3f19cce |
input: Fix minor coding style issues |
Johan Hedberg |
11 years ago |
1 file, +28, -24 |
| 054bfbcf |
input: Add userspace HID support
Enable HID protocol handling in userspace when UserspaceHID=true in input.conf.
Benefits of userspace HID:
1. Persistent HID/input pipeline
For a Bluetooth HID device, the corresponding kernel HID/input devices are
created only once when the Bluetooth HID device is used the first time.
The HID/input pipeline is not destroyed and recreated every time when
the Bluetooth HID device disconnects and reconnects.
2. HID vs HoG parity
Enables HID and HoG devices to operate the same way in BlueZ stack, using
uHID kernel module (/dev/uhid) to pass HID report data between bluetoothd
and kernel HID subsystem.
3. Debugging
It is easier to debug HID protocol in userspace than in HIDP kernel module. |
Petri Gynther |
11 years ago |
6 files, +754, -17 |
| 98af4765 |
android/gatt: Fix missing android address to bdaddr conversion
This fix missing android to bdaddr conversion before handle
connection. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +2, -0 |
| 75a0706d |
android/avrcp-lib: Fix avrcp_get_player_value_text
This fixes avrcp_get_player_value_text which is crashing due to use of
uninitialized memory and generates invalid PDUs. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +7, -3 |
| aadd3c8c |
unit/test-avrcp: Add /TP/PAS/BV-07-C test
To verify the player application setting value text command issued from
the CT. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +17, -0 |
| 1bd71fb1 |
unit/test-avrcp: Add /TP/PAS/BV-05-C test
To verify the List Player Application Setting Values command issued from
the CT. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +11, -0 |
| 1a0c910c |
android: Add possibility to start android daemon on PC in single mode
With this patch it is possible to start android daemon on PC in
BREDR or LE or BREDR/LE mode by setting system environment variable
named BLUETOOTH_MODE to appropriate value according to README.
This is useful for testing purposes. |
Lukasz Rymanowski |
11 years ago |
1 file, +18, -0 |
| 61d74898 |
shared/gatt: Check if handles counter is not wrapped
Make sure that handles are fitting in UINT16_MAX range before adding
service to database. |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 7e9b5dc5 |
android/gatt: Fix code style and whitespace issues |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +7, -14 |
| 5abddcc6 |
android/gatt: Fix included service notification send
In case of service not found there was read from invalid memory of a
primary service needed by send notification. Also there is no need to
additionaly check if included service is null outside notifiaction
function because it's already done in this function. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +21, -34 |
| be0e4f04 |
android/bluetooth: Rename get_adapter_discovering_type function
Rename it to get_supported_discovery_type which better describes
function purpose. |
Szymon Janc |
11 years ago |
1 file, +7, -7 |
| f7b799f5 |
android/bluetooth: Fix sending discovery state changed events
Those events should be send only if discovery was started/stoped from
bluetooth HAL. |
Szymon Janc |
11 years ago |
1 file, +32, -14 |
| 5e7dfbd7 |
android/bluetooth: Avoid starting/stopping discovery with no type |
Szymon Janc |
11 years ago |
1 file, +8, -4 |
| a79f7784 |
android/bluetooth: Refactor mgmt_discovering_event
This make funtion simpler and fix bogus discovery restart (which
should only happen for LE scanning triggered by GATT HAL). |
Szymon Janc |
11 years ago |
1 file, +24, -33 |
| d1f4727b |
android/bluetooth: Fix bt_le_discovery_stop
This fix invalid use of adapter.exp_discovery_type and not clearing
callback. |
Szymon Janc |
11 years ago |
1 file, +10, -5 |
| 5437569d |
android/bluetooth: Fix bt_le_discovery_start
This fix wrong use of adapter.exp_discovery_type and setting callback
even if failed to start discovery. |
Szymon Janc |
11 years ago |
1 file, +9, -6 |
| f355d70d |
android/bluetooth: Refactor handle_cancel_discovery_cmd
This makes function flow easier to follow. Also fix usage of
adapter.exp_discovery_type which should be used only when stopping
currently running discovery session to restart it with new type. |
Szymon Janc |
11 years ago |
1 file, +29, -12 |
| 658aa096 |
android/bluetooth: Refactor handle_start_discovery_cmd
This makes function flow easier to follow. Also fix usage of
adapter.exp_discovery_type which should be used only when stopping
currently running discovery session to restart it with new type. |
Szymon Janc |
11 years ago |
1 file, +21, -24 |
| 1dd3ac58 |
android/avrcp-lib: Fix avrcp_get_player_attribute_text
This fixes avrcp_get_player_attribute_text generating incorrect PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +20, -7 |
| 0276e3a1 |
android/avrcp-lib: Fix parsing of SetPlayerApplicationSettingValue
SetPlayerApplicationSettingValue do not return any parameter in case of
success. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +3, -9 |
| 934d4fb9 |
hog: Remove redundant struct
Since complete descriptor discovery is now performed inside gatt code,
there's no need to store end handle for characteristics and thus we can
remove disc_desc_cb_data. |
Andrzej Kaczmarek |
11 years ago |
1 file, +5, -20 |
| 9b9771ce |
gatt: Remove gatt_discover_char_desc
This function is no longer used since all code is changed to use
gatt_discover_desc instead. |
Andrzej Kaczmarek |
11 years ago |
2 files, +0, -18 |
| 2d593eda |
android/gatt: Discover descriptors using gatt_discover_desc |
Andrzej Kaczmarek |
11 years ago |
1 file, +22, -79 |
| b85ba0b4 |
thermometer: Discover descriptors using gatt_discover_desc |
Andrzej Kaczmarek |
11 years ago |
1 file, +5, -23 |
| d83acdf4 |
cyclingspeed: Discover CCC using gatt_discover_desc |
Andrzej Kaczmarek |
11 years ago |
1 file, +26, -47 |
| 87d9617b |
heartrate: Discover CCC using gatt_discover_desc |
Andrzej Kaczmarek |
11 years ago |
1 file, +19, -40 |
| 7e38e7dc |
scan: Discover CCC using gatt_discover_desc |
Andrzej Kaczmarek |
11 years ago |
1 file, +13, -21 |
| 5b1d5ae2 |
hog: Discover descriptors using gatt_discover_desc |
Andrzej Kaczmarek |
11 years ago |
1 file, +12, -40 |
| 3d71c376 |
gas: Discover CCC using gatt_discover_desc |
Andrzej Kaczmarek |
11 years ago |
1 file, +13, -27 |
| a2d69036 |
attrib: Discover descriptors using gatt_discover_desc |
Andrzej Kaczmarek |
11 years ago |
2 files, +22, -76 |
| 93229d36 |
attrib: Add simpler call for descriptors discovery
This patch adds gatt_discover_desc() function which performs descriptor
discovery in a manner similar to gatt_discover_char(), i.e. it does
complete discovery procedure and returns list of descriptors found when
finished. For 16-bit UUIDs in addition to string UUID, short UUID is
provided.
It's also possible to specify single descriptor UUID to look for and
discovery procedure is interrupted as soon as UUID is found. This way
no more than one descriptor is returned which is useful when searching
for common descriptors like CCC. |
Andrzej Kaczmarek |
11 years ago |
2 files, +156, -0 |
| 8cb3d744 |
android/gatt: Add support for send indication
With this patch Android app can send indication to remote device |
Lukasz Rymanowski |
11 years ago |
1 file, +29, -1 |
| bbd1e432 |
android/gatt: Add support for GATT server send response |
Lukasz Rymanowski |
11 years ago |
1 file, +68, -3 |
| 7c6628e6 |
android/hal-gatt-api: Fix IPC definition for send response |
Lukasz Rymanowski |
11 years ago |
3 files, +11, -2 |
| 7f58cd98 |
android/gatt: Add read_cb for GATT Server
This patch attach read callback to descriptors and characteristics
registered by Android app. |
Lukasz Rymanowski |
11 years ago |
1 file, +46, -2 |
| e41bc9b2 |
android/gatt: Add write_cb to GATT server
Write callback is now attached to characteristics and descriptors
registered by Android app.
Transaction id is generated and stored in gatt_app together with
att_opcode |
Lukasz Rymanowski |
11 years ago |
1 file, +101, -6 |
| 2a535129 |
android/gatt: Add support for write requests
This patch add support for write request, command, prepare write and
execute write. |
Lukasz Rymanowski |
11 years ago |
1 file, +74, -2 |
| 6a5ed944 |
shared/gatt: Add support for write request |
Lukasz Rymanowski |
11 years ago |
2 files, +28, -0 |
| 2953164e |
android/gatt: Add Find info gatt server cmd handling
The Find Information Request is used to obtain the mapping of
attribute handles with their associated types. This allows a
client to discover the list of attributes and their types on
a server. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +92, -0 |
| 7b8b0b21 |
android/gatt: Add MTU request cmd handling
The Exchange MTU Request is used by the client to inform the server of
client's maximum receive MTU size and request the server to respond with
its maximum receive MTU size. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +48, -0 |
| d8796394 |
android/gatt: Add support to read request
Added support for read and read blob |
Lukasz Rymanowski |
11 years ago |
1 file, +36, -0 |
| c9ca738c |
shared/gatt: Add support to read from database |
Lukasz Rymanowski |
11 years ago |
2 files, +39, -0 |
| edfa54fd |
android/gatt: Add support for ATT read by type |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +68, -0 |
| 08c3a7ad |
android/gatt: Add support for ATT read by group type |
Lukasz Rymanowski |
11 years ago |
1 file, +81, -0 |
| b7332e57 |
shared/gatt: Add function to find information
It will return list of handle and uuid |
Marcin Kraglak |
11 years ago |
2 files, +67, -0 |
| 9caba121 |
shared/gatt: Add function to read by type
It will return list of attributes with given type. |
Marcin Kraglak |
11 years ago |
2 files, +72, -0 |
| 0d96babc |
shared/gatt: Add function to find by type
It will look for attributes with given uuid and value. |
Marcin Kraglak |
11 years ago |
2 files, +84, -0 |
| e86925e6 |
shared/gatt: Add function to read by group type
It will return list of group values, start handle, end handle and
service attribute value. |
Marcin Kraglak |
11 years ago |
2 files, +83, -0 |
| 501fa612 |
android/gatt: Register GATT service
This adds database record about gatt's 'services changed'
characteristic. Proper flag in device is being set to mark it for
notification if gatt services are changed. |
Jakub Tyszkowski |
11 years ago |
1 file, +51, -0 |