Commit Graph

19 Commits

Author SHA1 Message Date
Jakub Tyszkowski
dd90544dca android/pan: Move logic from HAL to daemon
HAL should contain as little logic as possible, but we should be doing
these checks on daemon side anyway.
2013-12-08 17:47:42 +02:00
Jakub Tyszkowski
314f4ee304 android/pan: Move logic from HAL layer to daemon
HAL should contain as little logic as possible, but we should be doing
these checks on daemon side anyway.
2013-12-08 17:47:42 +02:00
Jakub Tyszkowski
ddbd2e9e62 android/pan: Unregister ipc handlers if init fails
Add ipc handlers cleanup if init fails. Send proper status if
already initialized.
2013-12-08 17:47:42 +02:00
Ravi kumar Veeramally
52ce60f4c9 android/hal-pan: Fix order of event handler registration
IPC message handler determines handler offset with
opcode = msg->opcode - HAL_MINIMUM_EVENT. But here order is misplaced.
2013-11-20 09:41:38 +02:00
Ravi kumar Veeramally
699c946daf android/hal-pan: Return error in case of unsupported PAN roles 2013-11-19 18:15:37 +02:00
Szymon Janc
8fd569476b android/hal-pan: Use generic IPC message handling for events
Register handlers on service init and unregister on cleanup.
2013-11-19 16:42:02 +02:00
Ravi kumar Veeramally
a7579647d7 android/pan: Handle connection and control state notifications 2013-11-13 13:15:11 +02:00
Ravi kumar Veeramally
fcf2331ada android/pan: Add notify method to PAN notifications 2013-11-13 11:27:50 +02:00
Ravi kumar Veeramally
7e673560e5 android/pan: Add PAN cleanup interface implementation 2013-11-12 19:02:19 +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
1e8089a41a android/hal-pan: Add implementation of .init 2013-10-28 14:42:20 +02:00
Luiz Augusto von Dentz
0ee10ed2e5 android: Use pan prefix instead of bt_pan
This replaces the use of bt_pan as function prefix with pan.
2013-10-23 13:06:50 +03:00
Szymon Janc
76384da137 android/hal: Unify HALs callbacks pointers definition
Those are not suppose to be modified or used outside of each HAL.
2013-10-22 16:51:07 +03:00
Szymon Janc
3917177c40 android/hal: Make hal.h self contained 2013-10-22 16:17:26 +03:00
Szymon Janc
9422d5a072 android: Use hal-log.h for logging in pan HAL
This will allow to log both on Android and Linux (in haltest)
2013-10-20 22:38:48 +03:00
Andrei Emeltchenko
631304f92b android: Add PAN skeleton
Add skeleton for pan Android HAL. This is modified version
from Frederic Danis earlier patch set.
2013-10-18 14:30:14 +03:00