Commits

Commit Message Author Age Changes
b17fdd8a android/hidhost: Use correct error structure Andrei Emeltchenko 12 years ago 1 file, +2, -2
04a1fc90 android/hidhost: Fix memory leak Andrei Emeltchenko 12 years ago 1 file, +1, -0
a7579647 android/pan: Handle connection and control state notifications Ravi kumar Veeramally 12 years ago 1 file, +31, -0
fcf2331a android/pan: Add notify method to PAN notifications Ravi kumar Veeramally 12 years ago 2 files, +7, -0
ab8a2ab5 android: Fix opcode parameter type from uint16_t to uint8_t Ravi kumar Veeramally 12 years ago 4 files, +6, -6
d95bae6d android/hidhost: Set info request from HAL is not supported Data from hal_cmd_hidhost_set_info is usefull only when we create UHID device. Once device is created all the transactions will be done through the fd. There is no way to use this information once device is created with HID internals. Ravi kumar Veeramally 12 years ago 1 file, +6, -2
c1693c61 android/hidhost: Remove deprecated idle opcode from ipc document Idle time is deprecated in HID_SPEC1_1. So get and set idle time api's are removed and not implemented. But callback is left out in Android bt_hh.h. Generally this callback needs to be called when HAL requests get and set idle time calls with status. So the method calls itself removed, no point to implement this callback. Also update GET_REPORT and VIRTUAL_UNPLUG opcode values. Ravi kumar Veeramally 12 years ago 2 files, +4, -10
d69ce902 android/hidhost: Handle uhid output and feature events Data read on uhid events output and feature has to be send through SET_REPORT request to HID device. Ravi kumar Veeramally 12 years ago 1 file, +24, -1
7e673560 android/pan: Add PAN cleanup interface implementation Ravi kumar Veeramally 12 years ago 1 file, +6, -3
68255433 android/pan: Add PAN related defines and event struct to hsl-msg header Ravi kumar Veeramally 12 years ago 1 file, +44, -0
51ac375d android: Register DeviceID record when adapter is initialized Register DeviceID SDP record and update local UUIDs after DeviceID information is passed to kernel. Szymon Janc 12 years ago 1 file, +16, -4
8612cbc5 android: Add support for getting UUIDs property This method will call adapter_properties_cb with uuids of adapter. Method is called also when uuid is added or removed. Marcin Kraglak 12 years ago 1 file, +47, -8
498bfa7a android: Clear adapter uuids during initialization Clear adapter uuids during init. We have to do it before other profiles will be able to register sdp records and add their uuids. Marcin Kraglak 12 years ago 1 file, +13, -0
e0e8c7a9 android: Remove not needed include bt_uuid_t is not used so lib/uuid.h doesn't need to be included. Szymon Janc 12 years ago 1 file, +0, -1
cab374f7 android: Add and remove sdp records and uuids This is api for adding and removing sdp records and uuids via mgmt interface. Local profiles have to store handle to own records to remove them in cleanup. Additionally list of uuids is created in bt_adapter struct. Marcin Kraglak 12 years ago 2 files, +116, -0
ea03e797 core: Do not attempt to connect if adapter is not powered If the adapter is not yet powered do not attempt to connect, also abort any connection attempt in case of error -EHOSTUNREACH is returned by the kernel which also means the adapter is not up or in case of -ECONNABORTED which means the adapter was powered down during the connection attempt. Luiz Augusto von Dentz 12 years ago 1 file, +12, -2
fa0ce2cb android/hidhost: Fix error handling issue incase of G_IO_HUP Incase of G_IO_HUP on GIOCondtion when hid device disconnected, GIOCondition is combination of G_IO_IN and G_IO_HUP. Current code tries to read as soon as it finds G_IO_IN in condition. Apparently there is no data to read and loop continues. Ravi kumar Veeramally 12 years ago 1 file, +12, -9
ff9e27b9 android/hidhost: Fix uhid create failure case If uhid open or create fails then notify state and free the device. Otherwise it replies bogus success return value on connect request. Ravi kumar Veeramally 12 years ago 1 file, +5, -14
19f49964 android: Update HAL with device info on incoming connection Make sure Android have information about connecting remote device. This is needed for example to show device name on incoming bonding request. Lukasz Rymanowski 12 years ago 1 file, +2, -3
fa653519 core: Rename attio_error_cb to avoid conflicts with error() In case error() gets converted to a macro having a function pointer variable with the same name is going to cause trouble. Johan Hedberg 12 years ago 1 file, +5, -5
841896ae obex: Use user's cache dir as a default root It's per-user, so we won't try to overwrite somebody else's files in /tmp when that happens. It's also (unless we have a particularly bizarre setup) on the same partition as the destination folder which means we can atomically move the file to the destination with a unique filename. Bastien Nocera 12 years ago 1 file, +6, -5
4d508d34 audio/AVDTP: Remove avdtp_init and avdtp_exit This is now done on demand by avdtp_register_sep and avdtp_unregister_sep so the server socket is only registered when there is an endpoint available and the record is properly registered. Luiz Augusto von Dentz 12 years ago 3 files, +60, -72
077c8fb1 gdbus: Fix trying to remove already removed sources When we return FALSE from idle handlers, the source is removed. This will be causing warnings in glib 2.40. See https://bugzilla.gnome.org/show_bug.cgi?id=710724 Bastien Nocera 12 years ago 1 file, +3, -0
65152271 android/hid: Handle virtual unplug event from hid device If hid host receives the virtual unplug event from hid device recipient shall destroy or invalidate all bluetooth bonding and virtual cable information Ravi kumar Veeramally 12 years ago 2 files, +29, -0
69a33fbf android/hal-utils: Make hal-utils functions return const string Andrei Emeltchenko 12 years ago 2 files, +4, -4
bec0539b androi/haltest: Make debug functions return const string Andrei Emeltchenko 12 years ago 2 files, +6, -6
0d45c38c android: Fix error handling in adapter_ready On error negative value is passed to adapter_ready callback. This fix passing negative error code to strerror. Szymon Janc 12 years ago 1 file, +2, -2
c93a3fc8 android/hal-sock: Add UUID debug print in socket HAL Socket HAL uses uint8_t * strings which are of size bt_uuid_t. Andrei Emeltchenko 12 years ago 1 file, +9, -7
d18c36e2 android/debug: Convert uuid helper to use uint8_t buffer At this moment Android uses uint8_t * and bt_uuid_t for representing UUID for different HALs. Convert debug helper to use uint8_t * string. Andrei Emeltchenko 12 years ago 3 files, +14, -14
97a58013 android/hidhost: Fix up error logs to contain exact error Johan Hedberg 12 years ago 1 file, +13, -7
5af8d164 android: Create debug hal-utils helpers Create hal-utils helpers which helps to decode packets Android sends through HAL interface. Andrei Emeltchenko 12 years ago 7 files, +91, -43
e9c52e40 android/hid: Add virtual unplug implemention in daemon Send virtual unplug command to hid device and disconnect and remove hid device details. Ravi kumar Veeramally 12 years ago 1 file, +44, -2
c5408ef4 android/hid: Add send data implemention in daemon Send data on interrupt channel on request from hid host. Ravi kumar Veeramally 12 years ago 1 file, +43, -2
cb54bd85 android/hid: Fill send data command struct in hal-hidhost Ravi kumar Veeramally 12 years ago 1 file, +6, -3
bf2e192e android/hid: Fix set report data format in daemon Report data coming to HAL is in ascii format, HAL sends data in hex to daemon, so convert to binary. Ravi kumar Veeramally 12 years ago 1 file, +10, -3
20a83049 android/hid: Fill send data command struct in hal-hidhost Ravi kumar Veeramally 12 years ago 2 files, +11, -9
fcd28121 android/client: Add ssp key confirmation helper This patch adds handling of ssp_request_cb that prints prompt asking user if pass key matches. User does not need to type: bluetooth ssp_reply address BT_SSP_VARIANT_PASSKEY_CONFIRMATION 1 key Jerzy Kasenberg 12 years ago 1 file, +26, -0
72c31efa android/client: Add pin handling for bind This patch ask user for ping in pin_request_cb, which does what otherwise would be required to manually type bluetooth pin_reply address pin. Jerzy Kasenberg 12 years ago 1 file, +20, -0
037632dc android/client: Add prompting for answer This patch allows to switch to prompt mode where user will be asked to supply some information. Jerzy Kasenberg 12 years ago 2 files, +68, -0
b07cff3c android/client: Split terminal_process_char This patch changes the way input characters are handled in function terminal_process_char from big switch statement to smaller functions. No functionality is changed in this patch. Splitting to smaller functions will make easier to change behaviour of terminal for prompt handling when user will be asked for something and history substitution or auto completion will not be used. Jerzy Kasenberg 12 years ago 2 files, +347, -195
316ddc8b android/client: Add command line arguments This patch adds command line argument parsing. Options added: -h, --help -n, --no-init - disable initialization of interfaces --version Jerzy Kasenberg 12 years ago 1 file, +66, -2
df3b6c7d android/client: Initialize all interfaces at start Patch adds function that initializes all HAL interfaces. Jerzy Kasenberg 12 years ago 1 file, +36, -0
464d9b64 android/client: Add NELEM macro for count elements NELEM macro will be used in several places. Jerzy Kasenberg 12 years ago 1 file, +2, -0
507c457d android/client: Export get_interface_method This method will be used outside tab completion.c. Jerzy Kasenberg 12 years ago 2 files, +3, -1
d5932ba1 android: Fix PAN service registration A2DP service was registered instead of PAN. Marcin Kraglak 12 years ago 1 file, +1, -1
290f9826 android/hid: Rename virtual unplug define and struct Renaming virtual unplug define and strcut name from VP to more meaning full. Ravi kumar Veeramally 12 years ago 3 files, +7, -6
79e90ad1 android/ipc: Fix crash when sending file descriptor Since CMSG_FIRSTHDR is defined as shown below: ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \ ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0) it return NULL if msg_controllen is not defined. Accessing that pointer result in daemon crash. Andrei Emeltchenko 12 years ago 1 file, +3, -3
b3e4587f gitignore: Add tools/smp-tester to .gitignore Ravi kumar Veeramally 12 years ago 1 file, +1, -0
c7d4ffd3 android/hid: Handle virtual unplug notification in HID HAL Ravi kumar Veeramally 12 years ago 1 file, +12, -0
70a7c773 android/hid: Add hid event virtual unplug structure to HAL msg headers Ravi kumar Veeramally 12 years ago 1 file, +6, -0
Previous Next