| b6408111 |
android/tester: Make GATT tests names more descriptive |
Szymon Janc |
11 years ago |
1 file, +11, -11 |
| aa661048 |
android/tester: Verify GATT instace IDs in callbacks |
Marcin Kraglak |
11 years ago |
1 file, +3, -0 |
| 6a2f2836 |
android/tester: Add GATT Get Included Service 3 test case
No included service should be returned in this case. |
Marcin Kraglak |
11 years ago |
1 file, +38, -0 |
| 74790344 |
android/tester: Add GATT Get Included Service 2 test case
It will test searching include services with 128 bit UUID. |
Marcin Kraglak |
11 years ago |
1 file, +52, -0 |
| fb149a59 |
android/tester: Add GATT Get Included Service 1 test case
Verify if included service with 16-bit UUID can be found. |
Marcin Kraglak |
11 years ago |
1 file, +77, -0 |
| 366eeed6 |
android/tester: Add support for GATT Get Included Service callback
Service and verify GATT Client Get Included Service callback. |
Marcin Kraglak |
11 years ago |
2 files, +37, -1 |
| c8920fc1 |
android/gatt: Fix sending Get Descriptor callback
GATT_STATUS_SUCCESS or GATT_STATUS_FAILURE should be send in this
callback. |
Marcin Kraglak |
11 years ago |
1 file, +3, -3 |
| 0adbb183 |
android/tester: Add GATT Get Descriptor 3 test case
No descriptors will be found in this test case. |
Marcin Kraglak |
11 years ago |
1 file, +46, -0 |
| f10a2476 |
android/gatt: Fix descripors instance IDs
First descriptor should have instance ID with 1. |
Marcin Kraglak |
11 years ago |
1 file, +1, -1 |
| 9409e29f |
android/tester: Add GATT Get Descriptor 2 test case
It tests searching muliple descriptors in characteristic. |
Marcin Kraglak |
11 years ago |
1 file, +64, -0 |
| 4c7aef5c |
android/tester: Add GATT Get Descriptor 1 test case
It tests searching for descriptors in characteristic. |
Marcin Kraglak |
11 years ago |
1 file, +83, -0 |
| 9c2b2a07 |
android/tester: Add support for GATT Get Descriptor callback
Service and verify GATTT Client Get Descriptor callback. |
Marcin Kraglak |
11 years ago |
2 files, +45, -1 |
| e0c67c33 |
android/gatt: Fix sending callback in get_characteristic
Notification should be send to client in case of error. |
Marcin Kraglak |
11 years ago |
1 file, +37, -13 |
| 89023a4f |
android/tester: Add GATT Get Characteristic 2 test case
It tests getting characteristics of non existing service. |
Marcin Kraglak |
11 years ago |
1 file, +33, -0 |
| e4511f84 |
android/tester: Fix characteristic instance ID
Characteristics instance id starts from 1. |
Marcin Kraglak |
11 years ago |
1 file, +1, -1 |
| 001e9869 |
core: Remove not used device_set_conn_param function
This function is not used since connection parameters are stored from
adapter.c. Also remove no longer needed members from struct btd_device. |
Szymon Janc |
11 years ago |
2 files, +0, -34 |
| 836139b6 |
core: Fix storing connection parameters without store hint set
If store hint is not set those should not be stored persistently. |
Szymon Janc |
11 years ago |
1 file, +1, -3 |
| 09fa845c |
TODO: Reference counted notify functions implemented |
Arman Uguray |
11 years ago |
1 file, +0, -10 |
| 77c4368d |
tools/btgatt-client: Add "unregister-notify" command.
This patch adds the "unregister-notify" command which can be used to test the
bt_gatt_client_unregister_notify function. |
Arman Uguray |
11 years ago |
1 file, +38, -0 |
| 01cefefe |
tools/btgatt-client: Add the "register-notify" command.
This patch adds the "register-notify" command, which registers a
notification/indication handler for a given characteristic value handle. |
Arman Uguray |
11 years ago |
1 file, +70, -0 |
| 151582e6 |
shared/gatt-client: Handle incoming not/ind PDUs.
bt_gatt_client now registers an incoming PDU handler for notification and
indication PDUs. The PDU is parsed and routed to the notify handler registered
with bt_gatt_client_register_notify for the corresponding characteristic value
handle. A confirmation PDU is sent automatically for received indications.
This patch removes the bt_gatt_register function from shared/gatt-helpers. |
Arman Uguray |
11 years ago |
3 files, +110, -86 |
| 260f374e |
shared/gatt-client: Implement bt_gatt_client_unregister_notify.
This patch implements bt_gatt_client_unregister_notify, which is used to remove
a previous registered notification/indication handler. This function decreases
the per-characteristic count of handlers, and if the count drops to 0, a write
request is sent to the CCC descriptor to disable notifications/indications. |
Arman Uguray |
11 years ago |
1 file, +51, -3 |
| a1952acd |
shared/gatt-client: Implement bt_gatt_client_register_notify.
This patch introduces the bt_gatt_client_register_notify and
bt_gatt_client_unregister_notify functions and implements the latter. The
bt_gatt_client_register_notify function does the following:
- If the given characteristic has a CCC descriptor, it writes to it based on
which notify/indicate properties are present in the characteristic
properties bit field.
- It maintains a per-characteristic count of how many callbacks have been
registered, so that the CCC descriptor is written to only if the count is 0.
- It stores the passed in callback and user data in bt_gatt_client, which will
be invoked when a notification/indication is received from the corresponding
characteristic.
- It queues register requests if the count is 0 and a CCC write is pending,
and processes them once the write request has completed. |
Arman Uguray |
11 years ago |
2 files, +347, -39 |
| d3c9f0e9 |
shared/gatt-client: Introduce struct bt_gatt_characteristic_iter.
shared/gatt-client currently defines a service iterator which returns service
data in a copy. The user then accesses the service's characteristics by manually
going through an array of bt_gatt_characteristic_t.
This patch changes this by restricting access to individual characteristic
entries via a new characteristic iterator. This is done so that gatt-client code
can internally store private data on each characteristic (e.g. reference count
for notification sessions) which shouldn't be exposed to external code.
The code also changes the service iterator functions to return a pointer to an
internally stored bt_gatt_service_t structure rather than returning its contents
in a copy. |
Arman Uguray |
11 years ago |
3 files, +83, -39 |
| 17317298 |
android/avrcp: Clean up command order
Idea about order in this file is that commands goes first and
notifications in the end of file.
This patch moves AVRCP commands up in the file |
Lukasz Rymanowski |
11 years ago |
1 file, +104, -104 |
| c4d07dfd |
sdp-client: Minor code style fix |
Lukasz Rymanowski |
11 years ago |
1 file, +2, -1 |
| 99d97aa8 |
sdp-client: Add disconnect watch for cached session
SDP client keeps sdp session alive for 2 more second after usage in case
there is need for reuse it. However, if ACL is disconnected and
reconnected during that time, sdp session becomes outdated. This patch
makes sure that cached sdp session will be cleaned up on ACL disconnect |
Lukasz Rymanowski |
11 years ago |
1 file, +23, -0 |
| 7bc5ee49 |
sdp-client: Extract cleanup function for cached session
Cleanup function will be used by next patch |
Lukasz Rymanowski |
11 years ago |
1 file, +8, -5 |
| f815a4be |
android/tester: Fix not handled ssp requests in AVRCP cases
Those were previously passing because of ssp handler being not cleaned
between test cases. This is now fixed in tester framework thus test cases
needs to be updated. |
Jakub Tyszkowski |
11 years ago |
1 file, +2, -0 |
| 0a78bde0 |
android/hf_client: Import Android hf_client header
This header file has been taken from Codeaurora forum. |
Lukasz Rymanowski |
11 years ago |
1 file, +353, -0 |
| f3ec88e2 |
android/hal-ipc-api: Add Handsfree client IPC API |
Lukasz Rymanowski |
11 years ago |
1 file, +317, -0 |
| fdd99da3 |
android/client: Check if hex string is byte format
Data strings should be byte format. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +11, -1 |
| 28559cf2 |
Release 5.23 |
Marcel Holtmann |
11 years ago |
2 files, +11, -1 |
| 9ca0bce6 |
build: Update library version |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| 57af99ea |
lib: Update company identifiers |
Marcel Holtmann |
11 years ago |
1 file, +51, -1 |
| 7fbc7407 |
tools/smp-tester: Remove incorrect invalid data test case
Latest upstream kernel simply ignores unexpected data without
disconnecting so trying to wait for a HCI_Disconnect will only lead to a
test timeout. |
Johan Hedberg |
11 years ago |
1 file, +0, -13 |
| 5eaa5aca |
shared/tester: Change handling of tester_setup_failed event
If tester_setup_failed() was called, execute post_teardown() to clean
data created in pre_setup phase. In some cases android-tester
couldn't start daemon, and setup failed, but hciemu created in
pre_setup was not removed. |
Marcin Kraglak |
11 years ago |
1 file, +6, -3 |
| bfa32744 |
tools/gatt: Fix accessing NULL cmd |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -0 |
| 8bbd9ed4 |
core: Fix concurrent authorizations
In case multiple authorizations happen it can trigger a second call to
agent_authorize_service while the first is still ongoing causing all
authorization to fail. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +14, -0 |
| 3167c1df |
client: Force redisplay on rl_printf
It seems some in some version of readline rl_redisplay does not update
when rl_printf is called, so this uses rl_forced_update_display which
should force the new lines to be displayed. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 2fb5a1bc |
client: Fix typo |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 6e58fd79 |
core: Fix idle watch not being removed properly
The idle watch used to dispatch authorization should be removed when
waiting services to be resolved. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| e65dadec |
androd/client: Extend history line size and depth
For some commands current history line size isn't enough to store it
complete. For complex/long run, extended history depth can be helpful. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +2, -2 |
| a528bdce |
emulator/bthost: Fix not matching cid data properly
When using bthost_add_l2cap_server the caller expect that both scid and
dcid are the same since the callback only take one value. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 5f12d7a3 |
lib/sdp: Split error handing for length and transaction id
This split the handling of invalid PDU length and not matching
transaction id adding proper debug logs. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +8, -3 |
| eef50fbb |
android/tester: Add AVRCP Disconnect - Success test case |
Luiz Augusto von Dentz |
11 years ago |
1 file, +35, -0 |
| 79eaf2be |
android/tester: Add AVRCP Connect - Success test case |
Luiz Augusto von Dentz |
11 years ago |
1 file, +209, -0 |
| 3d390cd7 |
android/tester: Add AVRCP init - Success test case |
Luiz Augusto von Dentz |
11 years ago |
4 files, +127, -0 |
| cbc8c655 |
android/hidhost: Remove reconnect logic
GATT can handle reconnect now, so lets remove that part of code from
here. |
Lukasz Rymanowski |
11 years ago |
1 file, +7, -19 |
| 3002cd44 |
monitor: Remove superfluous call to l2cap_frame_pull
Removed superfluous call to l2cap_frame_pull. |
Vikrampal Yadav |
11 years ago |
1 file, +2, -5 |