| 40f45cf4 |
android/avrcp-lib: Make unused public function private |
Luiz Augusto von Dentz |
11 years ago |
2 files, +20, -23 |
| 524fceb7 |
android/avrcp: Switch to use avrcp_register_player
This makes android daemon to start using avrcp_register_player instead
of now deprecated avrcp_set_control_handlers. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +34, -79 |
| de498da7 |
android/avrcp-lib: Add avrcp_get_capabilities_rsp function
This function can be used to generate GetCapabilities response PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +18, -0 |
| 4d578233 |
unit/test-avrcp: Use avrcp_get_current_player_value_rsp
This makes get_value callback to use avrcp_get_current_player_value_rsp |
Luiz Augusto von Dentz |
11 years ago |
1 file, +4, -11 |
| 217ae925 |
android/avrcp-lib: Add avrcp_get_current_player_value_rsp function
This function can be used to generate GetCurrentPlayerValue response
PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +29, -0 |
| 0d4e116e |
unit/test-avrcp: Fix invalid PDU for test /TP/PAS/BV-04-C
GetPlayerAttributeText needs at least one parameter otherwise it can be
considered invalid. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| decc5c73 |
unit/test-avrcp: Use avrcp_get_player_values_text_rsp
This makes get_values_text callback to use
avrcp_get_player_values_text_rsp |
Luiz Augusto von Dentz |
11 years ago |
1 file, +3, -1 |
| 1a04046e |
android/avrcp-lib: Add avrcp_get_player_values_text_rsp function
This function can be used to generate GetPlayerValuesText response PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +36, -0 |
| 15ee0359 |
unit/test-avrcp: Use avrcp_list_player_values_rsp
This makes list_values callback to use avrcp_list_player_values_rsp. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +3, -1 |
| 4b05327e |
android/avrcp-lib: Add avrcp_list_player_values_rsp function
This function can be used to generate ListPlayerValues response PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +18, -0 |
| f2106be3 |
unit/test-avrcp: Use avrcp_get_player_attribute_text_rsp
This makes list_attributes callback to use
avrcp_get_player_attribute_text_rsp. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +4, -1 |
| f247cbf2 |
android/avrcp-lib: Add avrcp_get_player_attribute_text_rsp function
This function can be used to generate GetPlayerAttributeText response
PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +42, -0 |
| faf587df |
unit/test-avrcp: Use avrcp_list_player_attributes_rsp
This makes list_attributes callback to use
avrcp_list_player_attributes_rsp. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +3, -1 |
| dadfaef5 |
android/avrcp-lib: Add avrcp_list_player_attributes_rsp function
This function can be used to generate ListPlayerAttributes response PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +20, -0 |
| 5a5b2548 |
unit/test-avrcp: Fix test /TP/MPS/BV-02-C
The correct status should 0x04 not 0x00. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +5, -2 |
| f79dc98f |
android/avrcp-lib: Add avrcp_set_addressed_player_rsp function
This function can be used to generate SetAddressedPlayer response PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +10, -0 |
| 150c1d64 |
unit/test-avrcp: Use avrcp_register_player
This replaces the use of avrcp_set_control_handlers which is now
deprecated in favor of avrcp_register_player. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +56, -208 |
| 696e561c |
tools/l2cap-tester: Fix setting connectable for LE server tests |
Johan Hedberg |
11 years ago |
1 file, +6, -6 |
| 7c19e6d2 |
tools/smp-tester: Use consistent name for test data variable |
Johan Hedberg |
11 years ago |
1 file, +12, -13 |
| f4b0ae43 |
tools/smp-tester: Remove redundant smp_ prefix from variables |
Johan Hedberg |
11 years ago |
1 file, +27, -28 |
| 7942c48b |
tools/smp-tester: Convert to using shared/crypto.c |
Johan Hedberg |
11 years ago |
1 file, +24, -231 |
| 5579308c |
android/hal-health: Add HDP .destroy_channel method |
Ravi kumar Veeramally |
11 years ago |
1 file, +16, -1 |
| a852264f |
android/hal-health: Add HDP .connect_channel method |
Ravi kumar Veeramally |
11 years ago |
1 file, +31, -1 |
| a4982359 |
android/hal-health: Add HDP .unregister_application method |
Ravi kumar Veeramally |
11 years ago |
1 file, +16, -1 |
| 862d816d |
android/avrcp-lib: Add support for parsing SetAddressedPlayer PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +26, -0 |
| 88c02d70 |
android/avrcp-lib: Add support for parsing RegisterNotification PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +28, -0 |
| f504d078 |
android/avrcp-lib: Add support for parsing GetElementAttributes PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +54, -0 |
| 9080d086 |
android/avrcp-lib: Add support for parsing GetPlayStatus PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +20, -0 |
| 01febf4d |
android/avrcp-lib: Add support for parsing SetPlayerValue PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +33, -0 |
| ea85f70f |
android/avrcp-lib: Add support for parsing GetCurrentPlayerValue PDU |
Luiz Augusto von Dentz |
11 years ago |
1 file, +24, -0 |
| 45a035f4 |
android/avrcp-lib: Add support for parsing GetPlayerValueText PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +64, -0 |
| 6f9adedd |
android/avrcp-lib: Add support for parsing ListPlayerValues PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +47, -0 |
| d1e467f8 |
android/avrcp-lib: Add support for parsing GetPlayerAttributeText PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +40, -0 |
| 70b683a8 |
android/avrcp-lib: Add support for parsing ListPlayerAttributes PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +20, -0 |
| 8faada31 |
android/avrcp-lib: Add support for parsing GetCapabilities PDU |
Luiz Augusto von Dentz |
11 years ago |
2 files, +34, -0 |
| b67d790e |
android/avrcp-lib: Change API to register callbacks instead of PDU handlers
This adds avrcp_register_player function to register callbacks for
requests and responses, the fundamental difference is that the
callbacks are called after the original PDU is parsed and the parameter
are converted to host byte order making us able to unit test the
parsing itself. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +38, -0 |
| 0ae17af6 |
android/gatt: Find primary services
With this patch it is possible to search all primary services. |
Lukasz Rymanowski |
11 years ago |
1 file, +104, -1 |
| 3d8d9fef |
android/hal-ipc: Make opcode debug print more readable |
Jakub Tyszkowski |
11 years ago |
1 file, +2, -2 |
| ad802f2d |
android/hal-gatt: Fix wrong pointer usage |
Jakub Tyszkowski |
11 years ago |
1 file, +3, -3 |
| 27f05c1c |
android/gatt: Add disconnect GATT device
Disconnect scenarios:
1. If there is more then one client for a given gatt_device then
client id is removed from dev->clients, success response is sent
together with success disconnect event.
2. If there is only one client for a given remote device then we
do what is decribed above plus clean of gattrib stuff
3. In case client_if or conn_id is incorrect, response failed is sent |
Lukasz Rymanowski |
11 years ago |
1 file, +54, -1 |
| 0c62d593 |
android/gatt: Add GATT Connect
This patch introduce connect LE device functionality.
There is gatt_device representing remote le device. Each gatt device
has a list own list of clients as it is possible that more apps
would like to use same remote device.
Possible connect scenarios:
1. There is no ACL connection to device:
Then new dev is put on conn_wait_queue and le scan is enabled.
Once device is found we do connect it.
Once device is connected then device is moved form conn_wait_queue to
conn_list and success event is sent to client(s) with conn_id
2. Device is already connected:
Then we update client list, reply with success and do send connect event.
3. For unregisterd clients or uknown conn_id, failed response is sent. |
Lukasz Rymanowski |
11 years ago |
3 files, +483, -18 |
| b0502eec |
android/gatt: Use Core profile for LE scan
This makes gatt capable of triggering LE scan using functionality
exposed by Core API. GATT registers its own callbacks for discovering
events. |
Jakub Tyszkowski |
11 years ago |
1 file, +99, -3 |
| 43802b5a |
android/bluetooth: Add GATT notifications on LE discovery
This patch introduce API which GATT can use to start/stop discovery
and register for required events.
This is because GATT needs to get from GAP notifications about
founded devices and also notification when discovery has been stopped.
GATT will need it explicity when GATT client calls scan, and also in
case of connect device, as before le connect is sent we do scan first
to make sure that device is available.
For now on adapter have two variables tracing discovery.
1. cur_discovery_type which show type of ongoing discovery type.
2. exp_discovery_type which shows type of next discovery session.
We need this because of scenarion when GATT is interesting in scan and
in the same time HAL wants to do scanning. |
Jakub Tyszkowski |
11 years ago |
2 files, +105, -11 |
| b77c5ffd |
android/handsfree: Fix connecting audio when call is active on connect |
Szymon Janc |
11 years ago |
1 file, +8, -4 |
| eeacd40d |
android/handsfree: Fix not initializing call state to idle |
Szymon Janc |
11 years ago |
1 file, +2, -0 |
| adb6f967 |
android/pts: Update HFP results |
Szymon Janc |
11 years ago |
1 file, +6, -5 |
| 3fef9cda |
android: Small cosmetic changes in the README |
Marcel Holtmann |
11 years ago |
1 file, +2, -1 |
| 8a635cc3 |
android/README: Add information about not implemented AVRCP calls |
Szymon Janc |
11 years ago |
1 file, +21, -2 |
| 8afc913a |
android/README: Update HALs implementation status |
Szymon Janc |
11 years ago |
1 file, +5, -5 |
| 84066fcc |
android/handsfree: Connect audio when Android framemework expects it
There are few cases when framework doesn't call connect_audio method
from HAL but we should do it internally. Call connect_audio if
we started dialing or we accepted incoming call. Also if headset
connects during active call, start SCO connection. We don't have to
disconnect SCO internally, because Android always call disconect_audio
when call has finished. |
Marcin Kraglak |
11 years ago |
1 file, +11, -1 |