Szymon Janc
eea8d8e2d8
android: Add support for registering "bluetooth" service
2013-10-23 14:24:58 +03:00
Szymon Janc
ec2dc713b1
android: Add initial code for services unregister
...
This will be used to disable services on respective HAL cleanup calls.
2013-10-23 14:24:24 +03:00
Szymon Janc
f4fc4273eb
android: Add initial code for services register
...
This will be used to enable services on respective HAL init calls.
2013-10-23 14:23:59 +03:00
Johan Hedberg
59d3fe7e37
android: Detect adapter removal in daemon and exit
2013-10-23 10:20:30 +03:00
Johan Hedberg
ef2d3dd3d2
android: Add stubs for daemon-side HID support
2013-10-23 10:14:58 +03:00
Szymon Janc
a86a413a78
adapter: Print debug message with IPC message header parameters
...
This is usefull while debugging HAL IPC.
2013-10-22 23:17:46 +03:00
Szymon Janc
b96445bdcf
android: Add initial code for handling adapter commands
...
No commands are handled yet.
2013-10-22 23:17:46 +03:00
Szymon Janc
afd7fad0f6
android: Remove not needed include
2013-10-22 16:58:40 +03:00
Andrei Emeltchenko
5322a58263
android: Drop unnecessary capabilities
...
This makes the android daemon to drop it capabilities and only retain
the following ones:
CAP_NET_ADMIN: Allow use of MGMT interface
CAP_NET_BIND_SERVICE: Allow use of privileged PSM
2013-10-22 10:36:38 +03:00
Johan Hedberg
a95d867824
android: Add proper define for HAL IPC error
2013-10-21 22:57:08 +03:00
Johan Hedberg
2d3a04ef39
android: Minor coding style cleanups
2013-10-21 22:54:50 +03:00
Szymon Janc
6add6837e3
android: Implement core service functionality
...
This allows HAL to register and unregister of services.
2013-10-21 22:50:11 +03:00
Szymon Janc
3852d13605
android: Add initial code for handling HAL commands
...
This enable watch for input and do basic sanity checks on received
command. If there is protocol error mainloop is stopped and daemon
exits.
2013-10-21 22:49:45 +03:00
Szymon Janc
99bd2669f1
android: Split command and notification socket watch
2013-10-21 22:46:28 +03:00
Luiz Augusto von Dentz
491b13024c
android: Remove SHUTDOWN_GRACE_SECONDS
...
This is not being used for now and in case it is really needed for
waiting an adapter to power down we can reintroduce it latter.
2013-10-21 10:16:36 +03:00
Szymon Janc
ecc5ce6e95
android: Connect daemon to HAL library
...
Connect to HAL when adapter initialization is finished. If any problem
with connection occurs or connected socket is closed by remote daemon
shutdowns.
2013-10-20 22:32:04 +03:00
Szymon Janc
09b8947220
android: Fix missing log cleanup on daemon exit
2013-10-20 22:30:00 +03:00
Ravi kumar Veeramally
919757ed03
android: Add missing signal handler functionality
...
Added singal handling based on singalfd and removed sigaction
based code.
2013-10-18 16:19:01 +03:00
Johan Hedberg
4f1ec5d75e
android: Fix up white space issue
2013-10-18 14:58:34 +03:00
Johan Hedberg
56a7159dd4
android: Remove bogus error log
2013-10-18 14:57:47 +03:00
Johan Hedberg
8b0dde628c
android: Convert bt_adapter_new into a bt_adapter_init function
2013-10-18 14:30:14 +03:00
Johan Hedberg
ec12cfc715
android: Fix logging usage
2013-10-18 14:30:14 +03:00
Andrei Emeltchenko
e101e48a9d
android: Implement read_info_complete callback
...
Handle read info complete callback from mgmt interface.
2013-10-18 14:13:34 +03:00
Andrei Emeltchenko
c03c91b624
android: sdp: Reuse BlueZ SDP server in Android
...
Reuse existing SDP server code in Android GPL daemon.
2013-10-16 18:36:19 +03:00
Andrei Emeltchenko
3c9f4d64a5
android: Add basic mgmt initialization sequence
...
Initialize bluetooth controller via mgmt interface.
2013-10-16 18:34:34 +03:00
Frederic Danis
f3d3c66320
android: Android version of log.c
...
Add logging for Android, currently print logs to stderr and stdout.
2013-10-04 15:25:40 +03:00
Frederic Danis
904ec29e2c
android: Add skeleton of BlueZ Android daemon
2013-10-04 15:24:26 +03:00