| 3e60caf6 |
android/hid: Add missing parameters in send data struct in HAL headers |
Ravi kumar Veeramally |
12 years ago |
1 file, +3, -1 |
| f180e868 |
android/hid: Add missing hid send data parameters in ipc document |
Ravi kumar Veeramally |
12 years ago |
1 file, +3, -1 |
| 9f358985 |
android/hid: Remove fixed number of hid set report data length in ipc doc
HAL receives data in ascii format but it should be in hex format. So remove
fixed size of report data length and depend on report length parameter. |
Ravi kumar Veeramally |
12 years ago |
1 file, +1, -1 |
| 49f051b6 |
android: Remove unnecessary allocations of fixed-size buffers |
Johan Hedberg |
12 years ago |
1 file, +9, -26 |
| 5965a309 |
android: Fix sending remote device name property
Android use the full string returned even if terminated with '\0'. |
Jakub Tyszkowski |
12 years ago |
1 file, +4, -4 |
| 229d416e |
android: Remove redundant command complete callback
This patch removes command complete callback used only for verbose error
reporting. |
Jakub Tyszkowski |
12 years ago |
1 file, +1, -10 |
| bdbe86ef |
android/hal: Use hidhost instead of hh in hidhost HAL
Match functions names to HAL name. Where not needed hh prefix is
removed. |
Szymon Janc |
12 years ago |
3 files, +41, -41 |
| a5474758 |
android: Rename hid.c to hidhost.c
Name of daemon implementation will match Android HAL name. This will
make code navigation easier as daemon part and HAL library implementation
will be in foo.c and hal-foo.c respectively. |
Szymon Janc |
12 years ago |
7 files, +1125, -1125 |
| 5ca1face |
android: Rename hidhost HAL related IPC API to match service name
Use 'Android HAL name' string from IPC doc as base for names. |
Szymon Janc |
12 years ago |
3 files, +120, -118 |
| d0da2fb3 |
android: Add set/get for discovery timeout
Android handles discoverable timeout in Settings app, however still
expects BT stack to maintain this value so we should do it as well.
Otherwise we will get some unexpected behaviour. For now we keep
discovery_timeout only during runtime, but we need to move it to some
local storage once we will have it.
Note: That since Android Settings up handles timer there is no reason to
use discovery timer we have in kernel. |
Lukasz Rymanowski |
12 years ago |
1 file, +34, -3 |
| 931eb9f1 |
android/hal: Use a2dp instead of av in a2dp HAL
Match functions names to HAL name. Where not needed av prefix is
removed. |
Szymon Janc |
12 years ago |
4 files, +14, -14 |
| f42a2baf |
android/hal: Rename hal-av.c to hal-a2dp.c
Name of HAL implementation will match Android HAL name. This will make
code navigation easier as daemon part and HAL library implementation
will be in foo.c and hal-foo.c respectively. |
Szymon Janc |
12 years ago |
4 files, +137, -137 |
| d842e88a |
android: Rename a2dp HAL related IPC API to match service name
Use 'Android HAL name' string from IPC doc as base for names. |
Szymon Janc |
12 years ago |
3 files, +23, -20 |
| 14924cd2 |
android/ipc: Fix receiving file descriptors
It does make sense iterate over !NULL controll headers. This fixes
the bug that file descriptors cannot be send over IPC. |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -1 |
| 817177ef |
android: Use BASELEN define for property changed |
Lukasz Rymanowski |
12 years ago |
1 file, +3, -1 |
| fd02ec9d |
android: Use payload member to access message data
This make it similar to other places in code. |
Szymon Janc |
12 years ago |
1 file, +1, -1 |
| fb1e40d6 |
android: Remove includes from adapter.h
This is internal header and dependencies should be included in
respective .c files. |
Szymon Janc |
12 years ago |
2 files, +1, -6 |
| 052e481a |
android: Pass notification socket fd to service handlers
IPC helpers were converted to accept socket, not GIOChannel so there
is no need of passing former to handlers. |
Szymon Janc |
12 years ago |
11 files, +77, -117 |
| 32f29761 |
android: Make IPC helpers accept file descriptor
There is no need to pass GIOChannel as writes are done immediately. |
Szymon Janc |
12 years ago |
8 files, +77, -56 |
| 71803244 |
android/hal: Rename hal_op_sock_listen to hal_cmd_sock_listen
This makes structures consistent with the rest of the code. |
Andrei Emeltchenko |
12 years ago |
2 files, +4, -4 |
| 20002d0a |
android/hal-sock: Check socket type in connect
Only RFCOMM sockets are supported in Android. |
Andrei Emeltchenko |
12 years ago |
1 file, +5, -0 |
| dfe8ac32 |
android: Change name for get_disc_timeout
Change name to get_discoverable_timeout. Previous name could be
confusing with disconnection timeout. |
Lukasz Rymanowski |
12 years ago |
1 file, +3, -3 |
| 48eb05b0 |
android: Remove useless device.{c,h} files |
Johan Hedberg |
12 years ago |
3 files, +2, -51 |
| 61cefaed |
monitor: Add extra packet length check for Apple vendor data |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| c12d5ccd |
monitor: Fix missing break in switch statement |
Johan Hedberg |
12 years ago |
1 file, +1, -0 |
| b5d9d82f |
tools/smp-tester: Clarify bthost callback naming |
Johan Hedberg |
12 years ago |
1 file, +8, -8 |
| c6998058 |
tools/smp-tester: Add initial SMP client test code |
Johan Hedberg |
12 years ago |
1 file, +157, -0 |
| c7a5f3f4 |
tools/smp-tester: Make basic parameters usable for both slave and master |
Johan Hedberg |
12 years ago |
1 file, +1, -1 |
| 645da8e8 |
android: Implement class of device property callback
This will send adapter property with class of device
to notification socket. |
Marcin Kraglak |
12 years ago |
1 file, +26, -4 |
| 63d32200 |
android: Fix struct variable alignments in IPC header |
Johan Hedberg |
12 years ago |
1 file, +19, -19 |
| 9d4ec540 |
android/hid: Fix unnecessary second check for cmd->buf_size value |
Johan Hedberg |
12 years ago |
1 file, +4, -6 |
| b8bc9c1b |
android/hid: Fix get report buffer size variable name |
Johan Hedberg |
12 years ago |
3 files, +6, -6 |
| 9af81f5b |
android/hid: Fix camelcase variable names |
Johan Hedberg |
12 years ago |
1 file, +12, -12 |
| ff8dad29 |
android/hid: Align hal hid struct variables properly |
Ravi kumar Veeramally |
12 years ago |
1 file, +9, -9 |
| 8c7daf53 |
android/hid: Handle uhid events
Handling few uhid events and described scenarios. OUTPUT and
FEATURE events are not yet handled. |
Ravi kumar Veeramally |
12 years ago |
1 file, +39, -1 |
| 1aee093b |
android/hid: Handle invalid parameters in HAL |
Ravi kumar Veeramally |
12 years ago |
1 file, +8, -6 |
| aac7c551 |
android/hid: Replace header checking magic number with defines |
Ravi kumar Veeramally |
12 years ago |
1 file, +1, -1 |
| 62fe761a |
android/hid: Handle get report notification in HAL |
Ravi kumar Veeramally |
12 years ago |
1 file, +12, -0 |
| a74dec74 |
android/hid: Implement hid set report in daemon
This patch requests hid device to set report. |
Ravi kumar Veeramally |
12 years ago |
3 files, +44, -4 |
| 93f04d5a |
android/hid: Add missing set report parameters to ipc document |
Ravi kumar Veeramally |
12 years ago |
1 file, +3, -1 |
| e8b0c8f1 |
android/hid: Implement hid get report in daemon
This patch requests hid device report and reads reply
message and sends notification to HAL. |
Ravi kumar Veeramally |
12 years ago |
2 files, +101, -2 |
| 12509910 |
android/hid: Add hid event get report structure to HAL msg headers |
Ravi kumar Veeramally |
12 years ago |
1 file, +8, -0 |
| 868e069f |
android/hid: Handle protocol mode notification in HAL |
Ravi kumar Veeramally |
12 years ago |
1 file, +12, -0 |
| bf0031a5 |
android/hid: Implement hid set protocol in daemon
This patch requests hid device to set protocol mode and reads
reply message and sends notification to HAL. |
Ravi kumar Veeramally |
12 years ago |
1 file, +33, -2 |
| 176ac66b |
android/hid: Implement hid get protocol in daemon
This patch requests hid device protocol mode and reads reply
message and sends notification to HAL. |
Ravi kumar Veeramally |
12 years ago |
1 file, +102, -4 |
| 80a2ea61 |
android: Use more common 'failed' label instead of 'error' |
Johan Hedberg |
12 years ago |
1 file, +19, -19 |
| 40fb9b20 |
android: Add option to specify controller index to use
This will be usefull while testing on Linux where more controllers
can be present. |
Szymon Janc |
12 years ago |
1 file, +29, -10 |
| 6dc9321e |
android: Stop mainloop if reading index list failed
If reading index list failed mainloop should be stopped since adapter
init guard timer is not yet running. |
Szymon Janc |
12 years ago |
1 file, +8, -4 |
| 8a98e083 |
android: Stop mainloop if reading version failed
If reading mgmt version failed or kernel supported version is to old
mainloop should be stopped. |
Szymon Janc |
12 years ago |
1 file, +6, -3 |
| 81c0c34e |
android: Remove mgmt_version and mgmt_revision static variables
There is no need to keep those as Android daemon is expecting new
enough kernel to operate. |
Szymon Janc |
12 years ago |
1 file, +1, -3 |