| bcbbe2d1 |
android/socket: Log not implemented HAL functions
This makes it easier to spot which functions the HAL is calling. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +4, -0 |
| da48ebbe |
android/hid: Log not implemented HAL functions
This makes it easier to spot which functions the HAL is calling. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +75, -0 |
| bb7f3b63 |
android/adapter: Log not implemented properties
This makes it easier to stop which functions the HAL is calling. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +80, -0 |
| 33323282 |
android/daemon: Add handler for device disconnected
Send event to callback thread which shall call acl state change callback. |
Andrei Emeltchenko |
12 years ago |
1 file, +23, -0 |
| c70142b3 |
android/hal: Add debug prints for every HAL callback
This allows us to trace callbacks to Java. |
Andrei Emeltchenko |
12 years ago |
1 file, +14, -0 |
| 2a33a444 |
android/daemon: Add debug handlers for unhandled mgmt event
Add debug prints to some mgmt events. |
Andrei Emeltchenko |
12 years ago |
1 file, +27, -0 |
| 981b0435 |
android/hal: Handle acl_state_changed event |
Andrei Emeltchenko |
12 years ago |
1 file, +15, -0 |
| 6554000a |
android/daemon: Implement mgmt device connected event
Send HAL_EV_ACL_STATE_CHANGED event to HAL through IPC. |
Andrei Emeltchenko |
12 years ago |
1 file, +26, -0 |
| 789ed3db |
android/ipc: Update HAL IPC header
Add ACL states to the header. |
Andrei Emeltchenko |
12 years ago |
1 file, +3, -0 |
| 33c400b8 |
android: Fix up the GATT client to handle KitKat API changes |
Marcel Holtmann |
12 years ago |
1 file, +36, -26 |
| 97b1deec |
android: Copy the KitKat Bluetooth hardware headers |
Marcel Holtmann |
12 years ago |
4 files, +71, -23 |
| 5e1e3a09 |
android/hid: Add handling of HAL_EV_HID_INFO |
Luiz Augusto von Dentz |
12 years ago |
1 file, +29, -0 |
| a05dcf3e |
android/hal-hidhost: Add implemention of .hid_info_cb |
Luiz Augusto von Dentz |
12 years ago |
2 files, +36, -0 |
| e01894ce |
android/hid: Fix passing vendor id as version to uHID |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -1 |
| 65ec172c |
android/hid: Rename hdev vars to dev |
Luiz Augusto von Dentz |
12 years ago |
1 file, +124, -124 |
| 194d97df |
android: Make system-emulator start daemon only once |
Marcel Holtmann |
12 years ago |
1 file, +3, -0 |
| a3b00034 |
android/daemon: Update CoD and RSSI only when they exist
This avoid sending zeroed Class of Device and making it unidentified.
...
prop[0]: type=BT_PROPERTY_CLASS_OF_DEVICE len=4 val=000000
prop[1]: type=BT_PROPERTY_REMOTE_RSSI len=1 val=-75
prop[2]: type=BT_PROPERTY_BDNAME len=249 val=Microsoft Bluetooth Number Pad
... |
Andrei Emeltchenko |
12 years ago |
1 file, +17, -13 |
| 22eb024f |
android: Add support for device id information |
Marcel Holtmann |
12 years ago |
1 file, +21, -0 |
| 629447a5 |
android: Add the missing HAVE_CONFIG_H check to adapter.c |
Marcel Holtmann |
12 years ago |
1 file, +4, -0 |
| 3ac95897 |
android: Run through valgrind with the system-emulator |
Marcel Holtmann |
12 years ago |
1 file, +11, -2 |
| 86691b3a |
android: Allow connect() for property_set to fail |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| 46a977c7 |
android/hid: Initial implementation for uHID
This patch reads data on interrupt channel and feeds into uHID.
Kernel will take care rest of the things and connects bt mouse
and keyboard:
[168988.557647] input: bluez-input-device as /devices/virtual/misc/uhid/input54 |
Ravi kumar Veeramally |
12 years ago |
1 file, +125, -4 |
| 8e423452 |
android/hid: Fetch record before attempting to connect
This patch fetch HID record and store the information needed by uHID. |
Ravi kumar Veeramally |
12 years ago |
3 files, +120, -20 |
| 2b81efe2 |
android/hid: Shutdown HID L2CAP sockets on unregister
Fixes address already in use issue if we reenable HID.
...
bluetoothd[2894]: Failed to listen on ctrl channel:
l2cap_bind: Address already in use (98)
... |
Andrei Emeltchenko |
12 years ago |
1 file, +10, -4 |
| 86eb638a |
android: Monitor child process termination |
Marcel Holtmann |
12 years ago |
1 file, +38, -0 |
| d98c7855 |
android: Disable connectable and discoverable before power on |
Marcel Holtmann |
12 years ago |
1 file, +21, -4 |
| 47142caf |
android: Switch controller off when shutting the daemon down |
Marcel Holtmann |
12 years ago |
1 file, +33, -27 |
| aab3d0a8 |
android: Power off controller when daemon gets killed |
Marcel Holtmann |
12 years ago |
1 file, +42, -3 |
| 86267e88 |
android: Don't use abort() for exit |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| 2da233c6 |
android: Add support for setting adapters name |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +53, -0 |
| 8dadd116 |
android: No need for volatile sig_atomic_t when using signalfd |
Marcel Holtmann |
12 years ago |
1 file, +3, -4 |
| ff153bce |
android: Exit daemon if no controller is found within 5 seconds |
Marcel Holtmann |
12 years ago |
1 file, +27, -9 |
| 2978367a |
android: Add system-emulator for wrapping daemon start |
Marcel Holtmann |
12 years ago |
4 files, +161, -15 |
| 4ae77351 |
android/hid: Add error message to error print |
Andrei Emeltchenko |
12 years ago |
1 file, +2, -2 |
| 89dc0b40 |
android/hidhost: Fix not unregistering HID
If HID is not unregistered it cannot be registered again and we get
following error:
...
E/BluetoothHidServiceJni( 2849): Failed to initialize Bluetooth HID, status: 1
... |
Andrei Emeltchenko |
12 years ago |
1 file, +7, -0 |
| 928162d1 |
android: Add support for remote device name confirmation |
Jakub Tyszkowski |
12 years ago |
1 file, +29, -1 |
| 06325fef |
android: Add device found notifications passing
This patch adds remote device found and remote device properties changed
notifications passing using IPC. |
Jakub Tyszkowski |
12 years ago |
1 file, +82, -2 |
| b332aa74 |
android: Add name property length define
Add define for adapter and remote device name property. |
Jakub Tyszkowski |
12 years ago |
1 file, +2, -0 |
| 509ca56c |
android: Add device discovery mgmt event handling
This patch provides basic handling of device found events from management
interface. Temporary device adress list is being used to determine which
devices has already been reported and device property changed event should
be sent instead of device found event. |
Jakub Tyszkowski |
12 years ago |
3 files, +111, -2 |
| 2cf38bce |
android: Add support for starting and cancelling device discovery
Android will cancel ongoing discovery after some period of time so there
is no need for another timeout inside the daemon itself. |
Jakub Tyszkowski |
12 years ago |
1 file, +107, -1 |
| c6c6ef68 |
android/client: Add GATT server methods
This patch implements GATT server method calls. |
Jerzy Kasenberg |
12 years ago |
1 file, +246, -10 |
| 5ebab55c |
android/client: Add GATT server callbacks code
This patch adds callbacks code for GATT server interface. |
Jerzy Kasenberg |
12 years ago |
1 file, +49, -0 |
| 5b21d9d6 |
android/client: Add tab completion to GATT client
This patch adds tab completion to GATT client methods. |
Jerzy Kasenberg |
12 years ago |
1 file, +187, -22 |
| ed3e26b5 |
android/client: Add GATT complex type parsing
This patch adds code to parse: UUID, service ID, characteristic ID,
and general hex string filed. |
Jerzy Kasenberg |
12 years ago |
1 file, +119, -0 |
| d0dbd47a |
android/client: Add GATT client method calls
This patch adds code for all GATT client methods. |
Jerzy Kasenberg |
12 years ago |
1 file, +317, -0 |
| ac77140a |
android/client: Add helper macros to verify args
This patch adds bunch of macros that will simplify
common arguments checking for methods. |
Jerzy Kasenberg |
12 years ago |
1 file, +57, -0 |
| c621c15d |
android/client: Add init/cleanup for GATT
This patch adds gatt functions code. |
Jerzy Kasenberg |
12 years ago |
1 file, +8, -0 |
| 6c6e02b3 |
android/client: Add complex GATT type formating
This adds formating for complex types in GATT. |
Jerzy Kasenberg |
12 years ago |
1 file, +99, -0 |
| 5d23d8ca |
android/client: Add GATT client callbacks code
This adds callbacks code, mostly printing.
Complex formating function not implemented yet. |
Jerzy Kasenberg |
12 years ago |
1 file, +122, -0 |
| 5c26c130 |
android/client: Add skeleton for GATT interface
This patch adds empty functions for all gatt methods
and callbacks. |
Jerzy Kasenberg |
12 years ago |
6 files, +590, -0 |