| 8ad6a853 |
shared/hfp: Improve handling AT command
If for some reason there is more than one AT command in the ring
buffer we should make sure that after upper layer sends result, AT
parser gets back to reading data from ring buffer. |
Lukasz Rymanowski |
11 years ago |
1 file, +8, -1 |
| 26752185 |
shared/hfp: Fix setting result pending flag
Let's set result_pending flag only when we are waiting for result from
upper layer. It will be used in following patch. |
Lukasz Rymanowski |
11 years ago |
1 file, +4, -4 |
| 89bc45d2 |
shared/hfp: Trivial, fix comments style |
Lukasz Rymanowski |
11 years ago |
1 file, +2, -1 |
| 2f95a764 |
android/sco: Add SCO helper library
This patch adds sco lib which gives means to create SCO object with
API to create listening socket, connect and disconnect.
This is going to be common code for HFP HF and HFP GW.
For now we support only one SCO at the time.
SCO listening socket is created once bt_sco_new() is called, but
SCO connection is possible only if confirm and connect callbacks are
registered.
Sco lib is not aware about voice settings. Those must be provided
on bt_sco_connect or in confirm callback.
This patch also adds this lib to Android build. |
Lukasz Rymanowski |
11 years ago |
4 files, +414, -0 |
| 8da8df12 |
audio/source: Fix XCASE connection
In case the remote has initiate a connection already the code should
return -EBUSY to avoid possible command collisions on AVDTP session. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +3, -0 |
| aa34c8cd |
doc: Add commands for service discovery procedure |
Marcel Holtmann |
11 years ago |
1 file, +87, -1 |
| f89c4630 |
android/handsfree: Fix invalid size check for VR commands
Invalid check was resulting in IPC error and daemon shutdown. |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| 6fc3f7d0 |
android/handsfree: Open code find_default_device function
It was only used in single place with no benefit comparing to open
coding it. |
Szymon Janc |
11 years ago |
1 file, +1, -8 |
| cd88946d |
android/handsfree: Add support for multiple HF instances
This allows to have concurent connections to multiple headsets. |
Szymon Janc |
11 years ago |
1 file, +11, -5 |
| 9ca3bc13 |
android/client: Add support for gattc scan_filter_enable |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +26, -0 |
| 28449c86 |
android/client: Add support for gattc scan_filter_clear cmd |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +23, -0 |
| bbec1519 |
android/client: Add support for gattc scan_filter_add_remove cmd |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +65, -0 |
| 204a605d |
android/client: Add support for gattc scan_filter_param_setup
This is new command introduced in Android 5.0 bluetooth gatt client api. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +48, -0 |
| 9d546ac7 |
android/client: Add Android 5.0 new value verifiers for gatt client |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +62, -0 |
| 05c71b65 |
android/client: Check if hex data is present in define
Each hex data argument need to be checked before parsing. It was done in
before parse argc check. Now it's integrated in GET_VERIFIER_HEX_STRING. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +9, -19 |
| a7a77efa |
shared/gatt-server: Fix bug in bt_gatt_server_unref.
This patch adds a check for NULL argument in bt_gatt_server_unref. |
Arman Uguray |
11 years ago |
1 file, +3, -0 |
| ae0ada8d |
android/pts: PTS tests for AVRCP on Android 5.0 |
Sebastian Chlad |
11 years ago |
1 file, +3, -3 |
| d43ad20c |
android/client: Add gatt client callbacks support for Android 5.0 |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +136, -0 |
| 864c24f7 |
android/client: Add hidhost handshake callback |
Jakub Tyszkowski |
11 years ago |
1 file, +16, -1 |
| 7dd84bf9 |
android/hidhost: Support handshake message |
Jakub Tyszkowski |
11 years ago |
1 file, +30, -2 |
| dc010852 |
android/hal-hidhost: Update HidHost HAL for Android 5 |
Jakub Tyszkowski |
11 years ago |
2 files, +33, -2 |
| 0c2f9d6b |
android/hal-ipc-api: Update HidHost with Android 5 API |
Jakub Tyszkowski |
11 years ago |
1 file, +24, -14 |
| 3237dd60 |
audio/sink: Fix a2dp XCASE connection
Some bluetooth headset (BOSE) initates the avdtp connection immediately
after HFP connection is completed, so if application initates a2dp
connection and since already avdtp connection is ongoing should return
error EBUSY. |
Chethan T N |
11 years ago |
1 file, +3, -0 |
| c5bb353b |
unit/test-gatt: Add /TP/GAR/CL/BI-22-C test
Verify Generic Attribute Profile client behavior when the
Read Multiple Characteristic Values procedure fails due to
encryption key size. |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| c0041c33 |
unit/test-gatt: Add /TP/GAR/CL/BI-21-C test
Verify Generic Attribute Profile client behavior when the
Read Multiple Characteristic Values procedure fails due to
insufficient authentication. |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| 550dd160 |
unit/test-gatt: Add /TP/GAR/CL/BI-20-C test
Verify Generic Attribute Profile client behavior when the
Read Multiple Characteristic Values procedure fails due to
insufficient authorization. |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| dc85ed6c |
unit/test-gatt: Add /TP/GAR/CL/BI-19-C test
Verify Generic Attribute Profile client behavior when the
Read Multiple Characteristic Values procedure fails due to
valid handle. |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| 47c5c944 |
unit/test-gatt: Add /TP/GAR/CL/BI-18-C test
Verify Generic Attribute Profile client behavior when
the Read Multiple Characteristic Values procedure fails due
to read not permitted. |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| 94feb717 |
unit/test-gatt: Add /TP/GAR/CL/BV-05-C test
Verify that a Generic Attribute Profile client can read multiple
Characteristic Values selected by set of handles. |
Marcin Kraglak |
11 years ago |
1 file, +44, -0 |
| 3eafc2de |
tools/btgatt-client: Add read_multiple_cmd |
Marcin Kraglak |
11 years ago |
1 file, +60, -0 |
| d4546f89 |
shared/gatt-client: Implement Read Multiple request
It will perform Read Multiple request and return atributes values. |
Marcin Kraglak |
11 years ago |
2 files, +72, -0 |
| 7644d111 |
android/client: Create separate file for AVRCP CTRL
Moving AVRCP CTRL interface client related code to if-rc-ctrl.c. |
Ravi kumar Veeramally |
11 years ago |
5 files, +117, -89 |
| d33838d1 |
android/hal-avrcp-ctrl: Create separate HAL for AVRCP CTRL
Moving AVRCP CTRL interface HAL related code to hal-avrcp-ctrl.c.
Separate HAL for every interface. |
Ravi kumar Veeramally |
11 years ago |
4 files, +147, -122 |
| 8dd4c535 |
android/pts: PTS tests for A2DP on Android 5 |
Sebastian Chlad |
11 years ago |
1 file, +2, -2 |
| 99bda64b |
monitor: Fix the return value of l2cap_frame_get_le16()
The return value of l2cap_frame_get_le16() rectified. |
Vikrampal Yadav |
11 years ago |
1 file, +1, -1 |
| 1d73d302 |
doc/mgmt-api: Add note about general command errors |
Johan Hedberg |
11 years ago |
1 file, +7, -0 |
| be21643b |
unit/test-gatt: Add /TP/GAR/CL/BI-11-C test
Verify Generic Attribute Profile client behavior when the Read Using
Characteristic UUID procedure fails due to insufficient encryption
key size. |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| 6cacdffc |
unit/test-gatt: Add /TP/GAR/CL/BI-10-C test
Verify Generic Attribute Profile client behavior when the Read Using
Characteristic UUID procedure fails due to insufficient authentication |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| 01dd3c69 |
unit/test-gatt: Add /TP/GAR/CL/BI-09-C test
Verify Generic Attribute Profile client behavior when the Read Using
Characteristic UUID procedure fails due to insufficient authorization. |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| 048af7d7 |
unit/test-gatt: Add /TP/GAR/CL/BI-07-C test
Verify Generic Attribute Profile client behavior when
the Read Using Characteristic UUID procedure fails due to
attribute not found. |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| 3e1fb9f4 |
unit/test-gatt: Add /TP/GAR/CL/BI-06-C test
Verify Generic Attribute Profile client behavior when the Read
Using Characteristic UUID procedure fails due to read not permitted. |
Marcin Kraglak |
11 years ago |
1 file, +13, -0 |
| c5e34a80 |
unit/test-gatt: Add /TP/GAR/CL/BV-03-C-2 test
Verify that a Generic Attribute Profile client can read
a Characteristic Value selected by UUID using a 128-bit UUID. |
Marcin Kraglak |
11 years ago |
1 file, +21, -0 |
| eb375e8d |
unit/test-gatt: Add /TP/GAR/CL/BV-03-C-1 test
Verify that a Generic Attribute Profile client can read a
Characteristic Value selected by UUID using a 16-bit UUID. |
Marcin Kraglak |
11 years ago |
1 file, +70, -4 |
| 492feddf |
shared/gatt-helpers: Add iterator to read_by_type results
Add iterator to get handle and value from read-by-type responses.
Also avoid using other iterator (characteristics and include services
iterators) with read-by-type results. |
Marcin Kraglak |
11 years ago |
2 files, +49, -1 |
| 6aba0977 |
shared/gatt-helpers: Add read-by-type functionality
This is exposed to allow client reading characteristic values
with known uuid. |
Marcin Kraglak |
11 years ago |
2 files, +111, -0 |
| fb69a474 |
shared/gatt-helpers: Simplify appending gatt_results
Don't duplicate appending gatt_results. |
Marcin Kraglak |
11 years ago |
1 file, +30, -61 |
| 83cbfc0f |
unit/test-gatt: Create PDU macro with initial discovery
Don't duplicate PDU data used in a few gatt-client test cases. |
Marcin Kraglak |
11 years ago |
1 file, +34, -112 |
| af03bff1 |
android/gatt: Fix setting end handle
If found attribute was service attribute, range->end was always set
to 1, because gatt_db_attribute_get_service_handles return bool.
> ACL Data RX: Handle 8 flags 0x02 dlen 13
ATT: Find By Type Value Request (0x06) len 8
Handle range: 0x0002-0xffff
Attribute type: Primary Service (0x2800)
UUID: Device Information (0x180a)
< ACL Data TX: Handle 8 flags 0x00 dlen 9
ATT: Find By Type Value Response (0x07) len 4
Handle range: 0x0008-0x0001 |
Marcin Kraglak |
11 years ago |
1 file, +3, -3 |
| 3ee207f5 |
android/handsfree-client: Implement codec negotiations |
Lukasz Rymanowski |
11 years ago |
1 file, +51, -0 |
| 91f2d77b |
android/handsfree-client: Implement handling AT+BINP and +BINP |
Lukasz Rymanowski |
11 years ago |
1 file, +38, -3 |