| a705c53e |
monitor: remove extra black line |
Gustavo Padovan |
13 years ago |
1 file, +0, -1 |
| 50045790 |
hidd: Fix indentation |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| 84608755 |
audio: Fix tab misuse |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| 458bf9bd |
deviceinfo: Fix indentation and tab misuse |
Anderson Lizardo |
13 years ago |
1 file, +2, -2 |
| a699f7ce |
monitor: Fix tab misuse |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| 6832175e |
sap: Fix tab misuse |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| c56078aa |
device: Fix tab misuse |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| 9d255d76 |
event: Fix tab misuse |
Anderson Lizardo |
13 years ago |
2 files, +2, -2 |
| ff794ffa |
tools: Fix tab misuse |
Anderson Lizardo |
13 years ago |
2 files, +2, -2 |
| 69e73aef |
lib: Fix tab misuse |
Anderson Lizardo |
13 years ago |
2 files, +2, -2 |
| 870fb261 |
csr_bcsp: fix link establishment
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). |
Johan Hovold |
13 years ago |
1 file, +1, -1 |
| 2ea98a6a |
udev: remove udev activation of the blutooth daemon
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. |
Tom Gundersen |
13 years ago |
3 files, +3, -9 |
| 9dc57699 |
systemd: don't order against syslog.target
This was only needed in old versions of systemd. All messages are logged
by default to the journal now, no ordering required. |
Tom Gundersen |
13 years ago |
1 file, +0, -2 |
| 17caffb9 |
input: increase security level of the connection |
Gustavo Padovan |
13 years ago |
1 file, +43, -2 |
| 2118c004 |
gatttool: Add option to specify LE address type
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'. |
Andrzej Kaczmarek |
13 years ago |
4 files, +33, -11 |
| 9d21c7aa |
media: Enable parallel requests to endpoint
If endpoint is handling several devices, it should be able to handle
multiple requests, one per each. |
Mikel Astiz |
13 years ago |
1 file, +24, -22 |
| 9ffc69cb |
media: Create multiple transports if needed
During endpoint registration one than one device might be connected.
Thus all matching devices should have one transport each. |
Mikel Astiz |
13 years ago |
1 file, +20, -6 |
| ee315221 |
media: Split media_endpoint_create
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. |
Mikel Astiz |
13 years ago |
1 file, +78, -41 |
| ee14d62a |
audio: Add multiple device search to manager
This method is useful to search for more than one device fulfulling
certain criteria. |
Mikel Astiz |
13 years ago |
2 files, +28, -3 |
| 4523901d |
audio: Fix gateway state check
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. |
Mikel Astiz |
13 years ago |
1 file, +1, -1 |
| 06da2b02 |
media: Support multiple transports per endpoint
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. |
Mikel Astiz |
13 years ago |
1 file, +65, -33 |
| 69fd49d6 |
SAP: Fix not unregistering dummy interface on exit
Dummy interface is registered on plugin init and is never unregistered |
Luiz Augusto von Dentz |
13 years ago |
1 file, +3, -0 |
| 8a255b35 |
mgmtops: Fix wrong parameter order for btd_event_ltk_notify()
The "master" parameter was in the wrong place. |
Anderson Lizardo |
13 years ago |
1 file, +2, -2 |
| 2aa45c5f |
audio: Reset hfp and hs handle before connection
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. |
Jaganath Kanakkassery |
13 years ago |
1 file, +2, -0 |
| a521540c |
Fix adaptername shutdown
An inotify watch descriptor isn't a file descriptor, so don't
treat it as such and remove it properly. |
Bastien Nocera |
13 years ago |
1 file, +8, -5 |
| 0c8e4253 |
monitor: add version information |
Gustavo Padovan |
13 years ago |
1 file, +5, -1 |
| 4b93cdd7 |
monitor: add help information |
Gustavo Padovan |
13 years ago |
1 file, +15, -1 |
| dbe0ed14 |
gatttool: Fix handle parsing in cmd_char_write()
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. |
Andrzej Kaczmarek |
13 years ago |
1 file, +2, -2 |
| f763bc0c |
hciops: Fix event mask for Inquiry Result with RSSI
The right value is 0x02 and not 0x04 (which is "Read Remote Extended
Features Complete"). |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| 1e84241c |
l2test: Add option to inform the address type
This patch adds 'V' option to inform the address type. Possible values
are: "bredr", "le_public", and "le_random". |
Andre Guedes |
13 years ago |
1 file, +25, -2 |
| a21b3c28 |
Remove MGMT address type definition
This patch replaces the address type defined in management interface
header by the new address type constants defined in the bluetooth.h. |
Claudio Takahasi |
13 years ago |
3 files, +29, -62 |
| d29e4c22 |
Remove addr_type_t definition from adapter.h
This patch replaces addr_type_t by the new Bluetooth address type
constants defined in bluetooth.h |
Claudio Takahasi |
13 years ago |
8 files, +160, -159 |
| 0c23db17 |
Remove leftover field in remote_dev_info struct
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. |
Claudio Takahasi |
13 years ago |
1 file, +0, -1 |
| 3733f3eb |
Add address type for BLE bt_io_connect calls
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. |
Claudio Takahasi |
13 years ago |
1 file, +4, -1 |
| d94f9cbf |
btio: Add address type in bt_io_connect
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. |
Claudio Takahasi |
13 years ago |
2 files, +18, -4 |
| ba801fcd |
Add Bluetooth address type in sockaddr_l2
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. |
Claudio Takahasi |
13 years ago |
2 files, +6, -0 |
| 7fa62589 |
core: Remove DiscoverSchedulerInterval option from main.conf
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. |
Luiz Augusto von Dentz |
13 years ago |
4 files, +2, -18 |
| 1b64ef1d |
input: add error message when auth fails |
Gustavo Padovan |
13 years ago |
1 file, +5, -0 |
| f4807c64 |
core: Fix adapter mode inconsistency
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. |
Mikel Astiz |
13 years ago |
1 file, +5, -1 |
| ed31ac59 |
hciops: map KeyboardDisplay IO Capability to DisplayYesNo
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. |
Scott James Remnant |
13 years ago |
1 file, +4, -1 |
| e61df160 |
audio: Fix AVDTP Reconfigure Reject message
The specification describes a proper reject response to
AVDTP_Reconfigure, so the previously used unknown command response is
not correct. |
Johan Hedberg |
13 years ago |
1 file, +7, -1 |
| d07fdd94 |
Makefile: Always add all test scripts to EXTRA_DIST
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. |
Daniel Wagner |
13 years ago |
1 file, +1, -4 |
| bae8dc73 |
eir: Fix incorrect eir_has_data_type() parsing
Updating the "parsed" variable twice inside the for loop, leads to
incorrect parsing. |
Syam Sidhardhan |
13 years ago |
1 file, +2, -2 |
| 3424dc81 |
eir: Fix incorrect eir_length() parsing
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 |
Syam Sidhardhan |
13 years ago |
1 file, +2, -2 |
| 4b6c1b73 |
sdp: Fix compilation warning due to data type mismatch
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 |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| 8a3f7786 |
audio: Add missing debug message in authorization |
Chan-yeol Park |
13 years ago |
1 file, +1, -1 |
| 2a9b107d |
adapter: Add warning if there is no authorization agent
Sometimes BlueZ Agent is disappear suddenly or not registered
because of agent problem. but Bluez just prints "Operation Not
permiited"
This will help debugging. |
Chan-yeol Park |
13 years ago |
1 file, +1, -0 |
| 8434b7c7 |
src: Add function for printing warnings |
Chan-yeol Park |
13 years ago |
2 files, +12, -0 |
| 84156dad |
build: Remove glib-compat.h support |
Marcel Holtmann |
13 years ago |
26 files, +2, -64 |
| 1a79248e |
build: Require GLib 2.28 or later |
Marcel Holtmann |
13 years ago |
1 file, +2, -8 |