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
Ravi kumar Veeramally
03e345f613
android: Add hidhost defines and structures to header file
2013-10-22 13:39:52 +03:00
Szymon Janc
7a0a07704b
android: Add missing HAL IPC error status definitions
2013-10-22 10:02:21 +03:00
Johan Hedberg
a95d867824
android: Add proper define for HAL IPC error
2013-10-21 22:57:08 +03:00
Szymon Janc
388f9e6cb8
android: Add HAL_SERVICE_ID_MAX define
2013-10-21 22:46:49 +03:00
Szymon Janc
7b6aeccf50
android: Define IPC MTU size
...
This defines buffer size big enough to hold the largest possible IPC
message.
2013-10-21 22:46:45 +03:00
Szymon Janc
f8aa51a3cd
android: Define path for HAL communication socket
...
This socket will be used by android daemon and libhal to communicate.
2013-10-20 22:31:54 +03:00
Andrei Emeltchenko
b8d1523b5c
android: Create HAL API header skeleton
...
Header describes the protocol between Android HAL threads and BlueZ
daemon. The header is added to host build and not to Android since
it is smart enough to include it automatically.
2013-10-16 18:34:10 +03:00