Commits

Commit Message Author Age Changes
a1755f73 Remove unused name parameter from btd_debug_desc Szymon Janc 14 years ago 2 files, +1, -6
856c55a3 Remove not needed cast in sdp_set_cstate_pdu Szymon Janc 14 years ago 1 file, +2, -2
e7470a94 Remove not needed data_left intialization in service_search_attr_req Szymon Janc 14 years ago 1 file, +1, -1
b8064300 Fix btio.c compilation warning This patch fixes a compilation warning regarding btio/btio.c. Actually this warning seems a false positive by Ubuntu Natty GCC version. A new bug on Ubuntu bug system was opened but if you do not want to wait until it is analyzed, just apply this minor fix. btio/btio.c: In function 'bt_io_get': btio/btio.c:803:11: warning: 'flushable' may be used uninitialized in this function Anderson Briglia 14 years ago 1 file, +1, -1
60de2f60 Handle non-UTF-8 device names http://thread.gmane.org/gmane.linux.bluez.kernel/1687 https://bugzilla.redhat.com/show_bug.cgi?id=450081 Bastien Nocera 14 years ago 1 file, +13, -6
58f69e02 Remove flags2type() function This function was only being used by create_device_internal(). It is generating incorrect information when a single mode LE device has flags 0x02 (General Discoverable Mode), it was being "detected" as Dual Mode, and thus the adapter was attempting to connect through BR/EDR. This commit fixes CreateDevice() for these devices, but it is a partial solution. In future, we should drop the "device type" enumeration, as this information will come from kernel "device found" events. Also note that the "DEVICE_TYPE_DUALMODE" enumeration is not really being used, so it will probably disappear too. Anderson Lizardo 14 years ago 1 file, +2, -20
70d0eac9 Remove advertise event type from adapter functions Claudio Takahasi 14 years ago 3 files, +8, -10
0ee75941 Remove connectable checking when creating a device Kernel advertising cache will be used to infer the LE address type and if it is connectable. For kernels without cache patches, only LE public address is supported and if the remote is non-connectable, the connection will fail after the L2CAP timeout(~40s). Note: currently, CreateDevice misbehaves when LE Create Connection command times out for any reason (e.g. peer device left connectable mode). This is being investigated and will be fixed in a separate patch. Claudio Takahasi 14 years ago 1 file, +3, -27
f7a55983 Remove unused variable Claudio Takahasi 14 years ago 1 file, +0, -5
e6c2d1c3 Remove 'periodic' param from hciops_start_inquiry() The 'periodic' parameter from hciops_start_inquiry() is useless. This patch removes it. Andre Guedes 14 years ago 1 file, +4, -4
ef7435b9 Remove inquiry and scanning callbacks from btd_adapter_ops The discovery procedure is implemented in discovery callbacks (start_discovery and stop_discovery). We don't need inquiry and scanning specifics callbacks in btd_adapter_ops anymore. Andre Guedes 14 years ago 3 files, +0, -56
6613e869 Implement mgmt start and stop discovery This patch implements mgmt_start_discovery and mgmt_stop_discovery callbacks for mgmtops. Anderson Briglia 14 years ago 1 file, +22, -2
57bd6dd2 Implement stop_discovery hciops callback Andre Guedes 14 years ago 1 file, +11, -1
cae9fbfc Remove obsolete code. adapter_get_discover_type() has become obsolete. This patch removes it and do the proper adaptation. Andre Guedes 14 years ago 4 files, +1, -51
8be3b42e Implement start_discovery hciops callback Andre Guedes 14 years ago 1 file, +94, -4
94e7feb4 Add extfeatures to struct dev_info The extfeatures field will be used by hciops layer to know if the adapter is LE capable. Andre Guedes 14 years ago 1 file, +3, -0
6458b6e2 Remove 'suspend' param from stop_discovery() This patch removes 'suspend' parameter from stop_discovery() in adapter.c. This parameter is useless since new a function (suspend_discovery) was created to suspend discovery sessions. Andre Guedes 14 years ago 1 file, +4, -5
ff376acf Refactoring adapter_set_state() This patch implements a new state machine for struct btd_adapter. The adapter_set_state() function was completely rewritten since its logic does not apply anymore. The whole logic of interleaved discovery procedure before implemented in adapter_set_state() should be implemented at hciops and mgmtops layers. At the adapter layer, it is not important to track what is the current state (inquiring or scanning) during the discovery session. All the adapter layer cares about is if it is performing the discovery or not. Therefore, the adapter states STATE_STDINQ, STATE_PINQ and STATE_LE_SCAN were replaced by a new state called STATE_DISCOV. Additionally, because there is no point in implementing states as a bitmask, all adapter states were implemented using integers instead of a bitmask. Andre Guedes 14 years ago 4 files, +73, -100
9235d4b5 Add 'timeout' param to start_scanning callback This patch adds a timeout parameter to start_scanning callback in btd_adapter. The parameter should be used to stop scanning after 'timeout' milliseconds. Andre Guedes 14 years ago 4 files, +39, -5
6da7ea2e Change DiscoverSchedulerInterval default value This patch changes the default value of "DiscoverSchedulerInterval" from 0 to 30 seconds. Since Periodic Inquiry is not supported anymore, the option "DiscoverSchedulerInterval" in main.conf must be updated. As a first attempt, it was chosen a 30 seconds interval. Andre Guedes 14 years ago 1 file, +2, -2
17baf8a0 Remove Periodic Inquiry support in hciops Periodic Inquiry is no longer supported in hciops since the discovery procedure will use Standard Inquiry only. External tools which request Periodic Inquiry will not change the adapter's state. Andre Guedes 14 years ago 2 files, +16, -109
f714c99a Code cleanup event.c Remove btd_event_le_set_scan_enable_complete() since it is not used anymore. The adapter's state is updated in cc_le_set_scan_enable() which handles LE Set Scan Enable command complete events. Andre Guedes 14 years ago 2 files, +0, -28
2a807a50 Add 'discov_state' field to struct dev_info We need to track the current discovering state (HALTED, INQUIRY or SCAN) of the adapter in hciops layer during the discovery procedure. This will help us to properly update the state of btd_adapter and emit the property "Discovering" correctly. Andre Guedes 14 years ago 1 file, +85, -5
a2761ca3 Replace inquiry/scanning calls by discovery calls This patch replaces calls to btd_adapter_ops callbacks start_inquiry, start_scanning, stop_inquiry and stop_scanning by start_discovery and stop_discovery. Andre Guedes 14 years ago 1 file, +2, -21
4cb11a06 Add discovery callbacks to btd_adapter_ops This patch adds start_discovery and stop_discovery callbacks to struct btd_adapter_ops. These callbacks are responsible for starting and stoping the discovery procedure. It also creates dummy functions in hciops and mgmtops which implements those callbacks. Andre Guedes 14 years ago 3 files, +30, -0
630162a5 Release 4.93 Marcel Holtmann 14 years ago 2 files, +6, -1
2b7a21cc Remove leftover of attrib plugin build Claudio Takahasi 14 years ago 1 file, +1, -1
3df2e877 Fix property type of Main Channel of Health plugin The property type must be DBUS_TYPE_OBJECT_PATH instead of DBUS_TYPE_STRING. This is in sync with the documentation and with the other places of usage such as the property change signal. Jaikumar Ganesh 14 years ago 1 file, +1, -1
01a3858e Fix crash when calling finalize_setup_errno finalize_setup_errno last parameter must be NULL otherwise it may access invalid memory. Luiz Augusto von Dentz 14 years ago 1 file, +7, -7
9fc7474d Move hid2hci to /lib/udev Kay Sievers 14 years ago 3 files, +8, -8
e6c56d4e Add secure param to mgmt_ev_pin_code_request Update mgmt interface with secure param in PIN code request event which is part of secure PIN requirement implementation. Waldemar Rymarkiewicz 14 years ago 2 files, +2, -0
3caf142f Add support for store_hint in mgmt_ev_new_key Johan Hedberg 14 years ago 2 files, +5, -3
50ff50b7 Remove unused old_key_type from mgmt_ev_new_key Johan Hedberg 14 years ago 1 file, +0, -1
4ae0fb61 Fix minor coding style issues in hid2hci Johan Hedberg 14 years ago 1 file, +5, -6
94b0a8f4 Update hid2hci tool from udev codebase Kay Sievers 14 years ago 6 files, +247, -275
36cd74bf Fix format string warnings Johan Hedberg 14 years ago 1 file, +2, -2
407e977f Add format string warnings to printf-style functions Johan Hedberg 14 years ago 1 file, +4, -2
c6d04643 Accept Apple specific headset commands Marcel Holtmann 14 years ago 1 file, +9, -0
2ad1015a mgmtops: Add support for confirm_hint in mgmt_ev_user_confirm_request Since we don't yet have a proper Agent.ConfirmPairing D-Bus callback, and can't add one before 5.x just do an automatic reply for now. Johan Hedberg 14 years ago 2 files, +34, -1
cef88385 Use HCI_MAX_EIR_LENGTH instead of hard-coded value Bruna Moreira 14 years ago 5 files, +13, -13
cabcf859 Change attrib server to use ATT CID & PSM defined in att.h Claudio Takahasi 14 years ago 1 file, +4, -7
1f8969c0 Clean up ATT CID & PSM magic values & definititions Use proper defines for the ATT CID and PSM. The values are really ATT and not GATT specific so move them from gatt.h to att.h. Johan Hedberg 14 years ago 6 files, +10, -7
f194be5c Fix segfault when removing device The device_register_services() function uses g_slist_concat(), therefore the passed list should not be freed. The primary_cb() function from GATT library was freeing the services list using discover_primary_free(). To fix this, the device_register_services() function receives a copy of services list if called from inside a gatt_discover_primary() callback. Bruna Moreira 14 years ago 1 file, +1, -1
7bb63a5b Release 4.92 Marcel Holtmann 14 years ago 2 files, +11, -1
71a79923 Update library version Marcel Holtmann 14 years ago 1 file, +1, -1
44b7bcd6 Use flushable packets for A2DP media data Johan Hedberg 14 years ago 1 file, +10, -0
fd0e49cb Clean up handle_transport_connect code flow Johan Hedberg 14 years ago 1 file, +16, -16
071f7742 Add BT_FLUSHABLE support to BtIO This patch adds support for the BT_FLUSHABLE L2CAP socket option through BtIO. This can be used to mark data from specific L2CAP sockets to have the flushable flag set in their corresponding ACL packets. Johan Hedberg 14 years ago 2 files, +54, -5
7f6ef309 Merge reminder of struct hci_dev into struct btd_adapter Johan Hedberg 14 years ago 2 files, +9, -21
7f93f0bc Cleanup: remove header declared but not defined Claudio Takahasi 14 years ago 1 file, +0, -4
Previous Next