Commit Graph

57 Commits

Author SHA1 Message Date
Andrei Emeltchenko
2022b92090 android: trivial: Add comment making code consistent 2013-11-19 11:16:11 +02:00
Luiz Augusto von Dentz
230211cd25 android/hal-a2dp: Add defines for possible connection states 2013-11-14 14:19:11 +02:00
Luiz Augusto von Dentz
f10e740f21 android/hal-a2dp: Use conn_state instead of connection_state
This is shorter and more consistent with other HAL such as HID.
2013-11-14 14:18:51 +02:00
Ravi kumar Veeramally
c1693c614e android/hidhost: Remove deprecated idle opcode from ipc document
Idle time is deprecated in HID_SPEC1_1. So get and set idle time api's
are removed and not implemented. But callback is left out in Android
bt_hh.h. Generally this callback needs to be called when HAL requests
get and set idle time calls with status. So the method calls itself
removed, no point to implement this callback.
Also update GET_REPORT and VIRTUAL_UNPLUG opcode values.
2013-11-13 11:26:38 +02:00
Ravi kumar Veeramally
68255433d6 android/pan: Add PAN related defines and event struct to hsl-msg header 2013-11-12 19:01:12 +02:00
Ravi kumar Veeramally
651522716f android/hid: Handle virtual unplug event from hid device
If hid host receives the virtual unplug event from hid device
recipient shall destroy or invalidate all bluetooth bonding and
virtual cable information
2013-11-11 10:30:37 +02:00
Ravi kumar Veeramally
20a830495f android/hid: Fill send data command struct in hal-hidhost 2013-11-08 15:23:31 +02:00
Ravi kumar Veeramally
290f9826a5 android/hid: Rename virtual unplug define and struct
Renaming virtual unplug define and strcut name from VP to more
meaning full.
2013-11-08 11:17:29 +02:00
Ravi kumar Veeramally
70a7c773c8 android/hid: Add hid event virtual unplug structure to HAL msg headers 2013-11-08 10:30:26 +02:00
Ravi kumar Veeramally
3e60caf677 android/hid: Add missing parameters in send data struct in HAL headers 2013-11-08 10:29:37 +02:00
Szymon Janc
5ca1face1a android: Rename hidhost HAL related IPC API to match service name
Use 'Android HAL name' string from IPC doc as base for names.
2013-11-07 18:44:35 +02:00
Szymon Janc
d842e88a47 android: Rename a2dp HAL related IPC API to match service name
Use 'Android HAL name' string from IPC doc as base for names.
2013-11-07 17:58:39 +02:00
Andrei Emeltchenko
718032446a android/hal: Rename hal_op_sock_listen to hal_cmd_sock_listen
This makes structures consistent with the rest of the code.
2013-11-07 10:09:54 +02:00
Johan Hedberg
63d32200d3 android: Fix struct variable alignments in IPC header 2013-11-06 10:35:58 +02:00
Johan Hedberg
b8bc9c1b27 android/hid: Fix get report buffer size variable name 2013-11-06 10:31:31 +02:00
Ravi kumar Veeramally
ff8dad2942 android/hid: Align hal hid struct variables properly 2013-11-06 10:27:10 +02:00
Ravi kumar Veeramally
a74dec7475 android/hid: Implement hid set report in daemon
This patch requests hid device to set report.
2013-11-06 10:25:13 +02:00
Ravi kumar Veeramally
125099108f android/hid: Add hid event get report structure to HAL msg headers 2013-11-06 10:17:52 +02:00
Ravi kumar Veeramally
5de2f26a11 android/hid: Add hid event proto mode structure to hal msg headers 2013-11-05 14:52:34 +02:00
Marcin Kraglak
ef4e9a8884 android: Fix typo in get_remote_services command 2013-11-04 09:37:13 +02:00
Andrei Emeltchenko
789ed3dbcb android/ipc: Update HAL IPC header
Add ACL states to the header.
2013-11-01 16:39:07 +02:00
Luiz Augusto von Dentz
a05dcf3e53 android/hal-hidhost: Add implemention of .hid_info_cb 2013-11-01 15:23:26 +02:00
Jakub Tyszkowski
b332aa7487 android: Add name property length define
Add define for adapter and remote device name property.
2013-10-31 16:48:42 +02:00
Luiz Augusto von Dentz
6a92a05be3 android/hal-hidhost: Add implementation of .connection_state_cb 2013-10-31 15:00:10 +02:00
Szymon Janc
e7356e5e82 android: Add missing bond state definition to IPC header 2013-10-31 10:45:43 +02:00
Marcin Kraglak
2a7971fc3e android/hal: Add initial socket implementation
Added socket api opcodes and structures and its implementation
in hal-sock.c.
2013-10-31 10:29:40 +02:00
Jakub Tyszkowski
ef4f77e680 android: Add missing discovery state definitions to IPC header 2013-10-30 12:12:14 +02:00
Szymon Janc
d9cbe6cacc android: Update IPC headers to match SSP and PIN requests events
Name should be 249 bytes so it is always NULL terminated string.
Class of device is send as uint32. This will allow to make simple
passing of data in HAL library without need of copying data.
2013-10-29 14:11:34 +02:00
Szymon Janc
d4453aeb8d android: Remove bogus hal_rsp_register_module structure
Core service Register ID command doesn't return any parameter.
2013-10-28 15:04:18 +02:00
Szymon Janc
7bf6940813 android: Fix HAL_OP_REMOVE_BOND value
This is a copy-and-paste mistake.
2013-10-28 15:04:09 +02:00
Luiz Augusto von Dentz
3c10d4e015 android/hal-pan: Add implementation of .disconnect 2013-10-28 14:43:24 +02:00
Luiz Augusto von Dentz
ca999716d9 android/hal-pan: Add implementation of .connect 2013-10-28 14:42:55 +02:00
Luiz Augusto von Dentz
209f302f7b android/hal-pan: Add implementation of .get_local_role 2013-10-28 14:42:38 +02:00
Luiz Augusto von Dentz
ab2a0efba8 android/hal-pan: Add implementation of .enable 2013-10-28 14:42:28 +02:00
Luiz Augusto von Dentz
d15f317bd6 android/hal-av: Fix command struct names
The command struct names should start with hal_cmd as the others.
2013-10-28 12:58:56 +02:00
Grzegorz Kolodziejczyk
5a5158bb0f android/hal: Add support for send av disconnect command
This allows HAL to send av disconnect command
2013-10-28 11:52:03 +02:00
Grzegorz Kolodziejczyk
11410bf9bb android/hal: Add support for send av connect command
This allows HAL to send av connect command
2013-10-28 11:50:52 +02:00
Grzegorz Kolodziejczyk
c737af9301 android/hal: Add support for handling av audio state event 2013-10-28 11:48:55 +02:00
Grzegorz Kolodziejczyk
7bca531f62 android/hal: Add support for handling av connection state event 2013-10-28 11:47:47 +02:00
Grzegorz Kolodziejczyk
e2f41f5bde android/hal: Fix typo in A2DP HAL service name
A2DP was misspelled as AD2P
2013-10-28 11:24:12 +02:00
Szymon Janc
e73aba7105 android: Add missing scan mode difinitions to IPC header 2013-10-27 13:23:35 +02:00
Luiz Augusto von Dentz
1610f70cd6 android: Rename ERROR enum and command to STATUS
This is more consistent with HAL interface which does name the enum as
bt_status_t and does use BT_STATUS prefix.
2013-10-25 15:13:48 +03:00
Szymon Janc
a9be0747a6 android: Add missing success status definition to IPC header
This is used in HAL callbacks to indicate success.
2013-10-25 15:00:29 +03:00
Szymon Janc
96bdbe13a9 android: Add missing SSP variant definitions to IPC header 2013-10-25 15:00:22 +03:00
Szymon Janc
56bfb47be9 android: Add properties defines to hal-msg.h
Android HAL defines some properties as adapter specific, some as
device specific and some as common. We split those to separate
adapter and device properties hence overlaping or holes in codes.
2013-10-25 14:28:21 +03:00
Luiz Augusto von Dentz
55a25cb83c android/hal-msg: Reduce length of defines and struct names
The current defines and struct names are way too big and sometimes
incosistent.
2013-10-24 10:46:24 +03:00
Szymon Janc
280d52cefd android: Add missing adapter state values to IPC header 2013-10-23 19:32:08 +03:00
Szymon Janc
958cfb7c88 android: Define minimum legal notification event ID
All legal events IDs should be above this value.
2013-10-22 16:17:26 +03:00
Szymon Janc
eb12d8b18d android: Fix non-existing event definition
There is no ERROR notification id.
2013-10-22 16:17:26 +03:00
Szymon Janc
20c02f68b8 android: Define helper payload field in hal_msg_hdr
This will allow for convenient access to payload.
2013-10-22 16:17:26 +03:00