aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* tools: Fix tab misuseAnderson Lizardo2012-05-102-2/+2
|
* lib: Fix tab misuseAnderson Lizardo2012-05-102-2/+2
|
* csr_bcsp: fix link establishmentJohan Hovold2012-05-101-1/+1
| | | | | | | | | | The current link-establishment implementation times out if a packet is not received after the link is active (i.e. reception of CONF_RESP). Fix by making sure that the link establishment loop in open is terminated when ubcsp sets the UBCSP_PACKET_SENT flag (on reception of CONF_RESP) rather than UBCSP_PACKET_RECEIVED (on reception of any later packages).
* udev: remove udev activation of the blutooth daemonTom Gundersen2012-05-083-9/+3
| | | | | | | | | | Udev is not meant to spawn long-running processes, and as of the next udev version such processes will be killed. If using systemd, device activation can be used to get the same effect. On Arch we have been disabling this rule for a long time, even though we don't use systemd, as it was causing more problems than it was worth.
* systemd: don't order against syslog.targetTom Gundersen2012-05-081-2/+0
| | | | | This was only needed in old versions of systemd. All messages are logged by default to the journal now, no ordering required.
* input: increase security level of the connectionGustavo Padovan2012-05-071-2/+43
|
* gatttool: Add option to specify LE address typeAndrzej Kaczmarek2012-05-074-11/+33
| | | | | | | | | | | | | This patch makes possible to specify LE address type. After advertising cache was removed from kernel we should always specify address type for LE link when calling bt_io_connect() as otherwise random will always be used. LE address type can be specified either by 'addr-type' or 't' command line parameter or as additional parameter to 'connect' command in interactive mode. Possible values are 'public' (default) and 'random'.
* media: Enable parallel requests to endpointMikel Astiz2012-05-071-22/+24
| | | | | If endpoint is handling several devices, it should be able to handle multiple requests, one per each.
* media: Create multiple transports if neededMikel Astiz2012-05-071-6/+20
| | | | | During endpoint registration one than one device might be connected. Thus all matching devices should have one transport each.
* media: Split media_endpoint_createMikel Astiz2012-05-071-41/+78
| | | | | | | This function is starting to be too long and needs to be split. After this patch, the resulting code should be exactly equivalent as the previous implementation.
* media: Support multiple transports per endpointMikel Astiz2012-05-071-33/+65
| | | | | | Several transports may exist for each endpoint, for example if several HFGW are connected. This should be exposed to the endpoint as one transport each.
* audio: Add multiple device search to managerMikel Astiz2012-05-072-3/+28
| | | | | This method is useful to search for more than one device fulfulling certain criteria.
* audio: Fix gateway state checkMikel Astiz2012-05-071-1/+1
| | | | | | | | Gateway should be considered active also if connecting or playing. This could for example lead to manager_find_device() not returning a device that is connecting, and thus the corresponding endpoint would never be created in the Media API.
* SAP: Fix not unregistering dummy interface on exitLuiz Augusto von Dentz2012-05-031-0/+3
| | | | Dummy interface is registered on plugin init and is never unregistered
* mgmtops: Fix wrong parameter order for btd_event_ltk_notify()Anderson Lizardo2012-05-021-2/+2
| | | | The "master" parameter was in the wrong place.
* audio: Reset hfp and hs handle before connectionJaganath Kanakkassery2012-05-021-0/+2
| | | | | | | | | When bluez initiates headset connection hfp and hs handle is saved each time when initiating connection. So at some point if hf service is removed in remote headset then bluez connects to hs service. But because of previously stored hfp handle bluez thinks that connection made to hs service is hfp connection and waits for at commands. Eventually bluez connection state will be incorrectly set.
* Fix adaptername shutdownBastien Nocera2012-04-291-5/+8
| | | | | An inotify watch descriptor isn't a file descriptor, so don't treat it as such and remove it properly.
* monitor: add version informationGustavo Padovan2012-04-271-1/+5
|
* monitor: add help informationGustavo Padovan2012-04-271-1/+15
|
* gatttool: Fix handle parsing in cmd_char_write()Andrzej Kaczmarek2012-04-261-2/+2
| | | | | errno is not set to 0 before call to strtoll() so cmd_char_write() can fail even with proper data. Use strtohandle() helper function instead.
* hciops: Fix event mask for Inquiry Result with RSSIJohan Hedberg2012-04-261-1/+1
| | | | | The right value is 0x02 and not 0x04 (which is "Read Remote Extended Features Complete").
* l2test: Add option to inform the address typeAndre Guedes2012-04-251-2/+25
| | | | | This patch adds 'V' option to inform the address type. Possible values are: "bredr", "le_public", and "le_random".
* Remove MGMT address type definitionClaudio Takahasi2012-04-253-62/+29
| | | | | This patch replaces the address type defined in management interface header by the new address type constants defined in the bluetooth.h.
* Remove addr_type_t definition from adapter.hClaudio Takahasi2012-04-258-159/+160
| | | | | This patch replaces addr_type_t by the new Bluetooth address type constants defined in bluetooth.h
* Remove leftover field in remote_dev_info structClaudio Takahasi2012-04-251-1/+0
| | | | | | Field "bdaddr_type" of the remote_dev_info structure is not being referenced in the code. Field "type" is already being used to store the Bluetooth address type.
* Add address type for BLE bt_io_connect callsClaudio Takahasi2012-04-251-1/+4
| | | | | | | This patch adds the address type option in bt_io_connect calls for BLE devices. BR/EDR is the default value, and it is not mandatory to inform it. For BLE devices, it is necessary to inform if the type is public or random.
* btio: Add address type in bt_io_connectClaudio Takahasi2012-04-252-4/+18
| | | | | | This patch adds a new BtIO option to allow setting the remote Bluetooth address type for BLE connections. Allowed values for BT_IO_OPT_DEST_TYPE option are: BDADDR_BREDR, BDADDR_LE_PUBLIC, and BDADDR_LE_RANDOM.
* Add Bluetooth address type in sockaddr_l2Claudio Takahasi2012-04-252-0/+6
| | | | | | This patch adds the address type information to sockaddr_l2 structure, allowing the userspace to inform the remote address type required for LE Create Connection command.
* core: Remove DiscoverSchedulerInterval option from main.confLuiz Augusto von Dentz2012-04-234-18/+2
| | | | | | | | This option was designed to be the time where name resolving would happen in between inquiries, but with the introdution of mgmt interface this is no longer the case as it treats the discovery as both inquiry/scan + name resolving and keeping it just to delay discovery rounds is probably useless.
* input: add error message when auth failsGustavo Padovan2012-04-231-0/+5
|
* core: Fix adapter mode inconsistencyMikel Astiz2012-04-231-1/+5
| | | | | | | | | The mode change in btd_adapter_start() doesn't check if the adapter is discoverable, creating an inconsistency between the plugin and the core. Using the management interface it is easy to reproduce the problem, by starting BlueZ while the adapter is discoverable. After this, the state cannot be changed.
* hciops: map KeyboardDisplay IO Capability to DisplayYesNoScott James Remnant2012-04-191-1/+4
| | | | | | | | | Since hciops is not used for LE devices, if an agent announces the KeyboardDisplay IO Capability when creating a bonding, map it to DisplayYesNo. This matches the existing change in hciops_set_io_capability which is only used in the RegisterAgent path.
* audio: Fix AVDTP Reconfigure Reject messageJohan Hedberg2012-04-181-1/+7
| | | | | | The specification describes a proper reject response to AVDTP_Reconfigure, so the previously used unknown command response is not correct.
* Makefile: Always add all test scripts to EXTRA_DISTDaniel Wagner2012-04-181-4/+1
| | | | | | | | With commit e407e9ac6d8bfde31f95ed5d7e7bcecf0cfe48ed test-attrib, test-proximity and test-thermometer are only packaged when "./configure --enable-gatt && make dist" is called. The dist target should be independant on the configure flags.
* eir: Fix incorrect eir_has_data_type() parsingSyam Sidhardhan2012-04-161-2/+2
| | | | | Updating the "parsed" variable twice inside the for loop, leads to incorrect parsing.
* eir: Fix incorrect eir_length() parsingSyam Sidhardhan2012-04-161-2/+2
| | | | | | | | | | | | | | | | | Issue: The COD value displayed via dbus during inquiry is wrong. This is because of the incorrect return length of the eir_length(), which leads to appending the COD at wrong location. Analysis: After appending the COD at the end of the eir data, we can see there are some '00' present in the eir field length in the eir file. XX:XX:XX:XX:XX:XX 07095359414D5043020A040B0312111F110C110E110311 0000000000000000000000040D000142 Fix: Corrected the length calculation in eir_length(), which is determining, which position the COD should append
* sdp: Fix compilation warning due to data type mismatchSyam Sidhardhan2012-04-161-1/+1
| | | | | | | | | | | | In certain cross compiling environment, if we build the code with enabling the maintainer mode, the following error happens. cc1: warnings being treated as errors lib/sdp.c: In function 'sdp_process': lib/sdp.c:4111:6: error: comparison between signed and unsigned integer expressions make[2]: *** [lib/sdp.lo] Error 1 make[1]: *** [all] Error 2
* audio: Add missing debug message in authorizationChan-yeol Park2012-04-161-1/+1
|
* adapter: Add warning if there is no authorization agentChan-yeol Park2012-04-161-0/+1
| | | | | | | | Sometimes BlueZ Agent is disappear suddenly or not registered because of agent problem. but Bluez just prints "Operation Not permiited" This will help debugging.
* src: Add function for printing warningsChan-yeol Park2012-04-162-0/+12
|
* build: Remove glib-compat.h supportMarcel Holtmann2012-04-1626-64/+2
|
* build: Require GLib 2.28 or laterMarcel Holtmann2012-04-161-8/+2
|
* gdbus: Remove unneeded NEED_DBUS_WATCH_GET_UNIX_FD checkMarcel Holtmann2012-04-161-4/+0
|
* build: Require D-Bus 1.4 or laterMarcel Holtmann2012-04-161-9/+2
|
* audio: Add SBC NULL check for GST AVDTP signalingChan-yeol Park2012-04-161-0/+5
| | | | | Due to RF condition or headset malfunctioning, gst audio plug-in could not get SBC (mandatory codec) information.
* audio: Fix default disabled values in audio.confChan-yeol Park2012-04-161-1/+1
| | | | | Disabled features in audio.conf should be the same with source code "audio/manager.c:struct enabled_interfaces enabled".
* input: Disconnect SDP before connecting HID if HIDSDPDisable is setSzymon Janc2012-04-133-7/+24
| | | | | | | | If remote HID device has HIDSDPDisable attribute present and set to true host should disconnect SDP channel before connecting HID control channel. Such devices multiplex resources between SDP and HID L2CAP channels and will reject connection to HID control channel if SDP channel is already connected.
* sdp-client: Add ability to clear cached sessionSzymon Janc2012-04-132-1/+22
| | | | | This will be usefull for disconnecting SDP L2CAP channel before cached session timeout fires.
* Makefile.am: Fix indentationAnderson Lizardo2012-04-131-2/+2
| | | | Only these two lines were using spaces instead of tabs.
* Add Syam's email addressSyam Sidhardhan2012-04-131-0/+1
|