Commits

Commit Message Author Age Changes
9353c8ca emulator: Fix missing break statement for LE Read White List Size Johan Hedberg 12 years ago 1 file, +1, -0
338656c5 emulator: Add Page Scan Type HCI command support Johan Hedberg 12 years ago 1 file, +21, -0
373abffd emulator: Add Page Scan Activity HCI command support Johan Hedberg 12 years ago 1 file, +26, -0
0b548ec4 monitor: Add full decoding of Page Scan Type HCI commands Johan Hedberg 12 years ago 2 files, +51, -2
546c29da monitor: Add full decoding of Page Scan Activity HCI commands Johan Hedberg 12 years ago 2 files, +36, -2
4623630a tools/btmgmt: Add fast-conn command for fast connectable mode Johan Hedberg 12 years ago 1 file, +7, -0
fd7af4c3 gdbus: Fix not calling property_changed callback In case a property did not appear by the time proxy_added was called property_changed has to be called if it appear latter otherwise the application will be unaware of it. Luiz Augusto von Dentz 12 years ago 1 file, +10, -13
1eb95195 unit: Add gdbus/client_string_changed Luiz Augusto von Dentz 12 years ago 1 file, +90, -3
2adcb4bc unit: Add gdbus/client_set_string_property Luiz Augusto von Dentz 12 years ago 1 file, +109, -3
c375b3b0 tools: Fix passing wrong argument to g_dbus_proxy_set_property_basic g_dbus_proxy_set_property_basic takes a pointer to value not the value itself like libdbus does. Luiz Augusto von Dentz 12 years ago 1 file, +2, -2
467c97b3 tools: Add support for UIDs changed event to AVRCP parser Luiz Augusto von Dentz 12 years ago 1 file, +4, -0
6c4e64aa Release 5.3 Marcel Holtmann 12 years ago 2 files, +11, -1
5ae6f82f build: Update library version Marcel Holtmann 12 years ago 1 file, +1, -1
786f0e0e lib: Update list of company identifiers Marcel Holtmann 12 years ago 1 file, +8, -0
d2aad021 configure.ac: call AC_SUBST(*_CFLAGS) and AC_SUBST(*_LIBS) only when needed Bring AC_SUBST(*_CFLAGS) and AC_SUBST(*_LIBS) in the same block of the corresponding PKG_CHECK_MODULES() call. Having these variables defined outside of the if tests is more than what is needed as the corresponding PKG_CHECK_MODULES() might not have been called at all there. This is the same logic already used for USB_CFLAGS and USB_LIBS. Antonio Ospite 12 years ago 1 file, +4, -4
5ce3ca82 configure.ac: call AC_SUBST unconditionally with --with-* options Call AC_SUBST unconditionally when specifying --with-* options, otherwise options like --with-dbusconfdir=DIR or --with-udevdir=DIR have no effect. Before this change, configuring with: $ mkdir build $ ./configure --disable-systemd \ --prefix=$(pwd)/build \ --with-dbusconfdir=$(pwd)/build/etc resulted in the option value to be ignored at "make install" time, with this error: /bin/mkdir: cannot create directory '/dbus-1/system.d': Permission denied This is what was going on in configure.ac: # define the option AC_ARG_WITH([dbusconfdir] ... [path_dbusconfdir=${withval}]) # when --with-dbusconfdir is NOT used if (test -z "${path_dbusconfdir}"); then ... # define the config dir automatically path_dbusconfdir="`$PKG_CONFIG --variable=sysconfdir dbus-1`" ... # set DBUS_CONFDIR AC_SUBST(DBUS_CONFDIR, [${path_dbusconfdir}]) endif when --with-dbusconfdir=SOMEDIR was used the test above failed, and the result was that ${path_dbusconfdir} was indeed defined as manually specified, but DBUS_CONFDIR was not, and the latter was going to be used in Makefile.am: dbusdir = @DBUS_CONFDIR@/dbus-1/system.d The failure in mkdir can be exposed by the use of the "--prefix" option and by running "make install" as a normal user; when running "make install" with the root user /dbus-1/system.d would be happily (and wrongly) created. By always setting variables relative to --with-* options (like DBUS_CONFDIR) the cases when --with-someoption=SOMEDIR are used get covered. Antonio Ospite 12 years ago 1 file, +6, -6
668a93d4 gdbus: Always unreference the message in g_dbus_send_message() A quick fix on g_dbus_send_message(), if check_signal() fails it returns FALSE without unreferencing the message as it should. This patch fixes it. Tomasz Bursztyka 12 years ago 1 file, +3, -2
b05c3bdf core: Fix crash when registering an invalid profile When a uuid string is sent and it doesn't indentify a profile (bt_name2string() returns NULL), bluetoothd crash later when trying to access the external profile uuid field. Valgrind log: bluetoothd[3986]: src/profile.c:register_profile() sender :1.492 ==3986== Invalid read of size 1 ==3986== at 0x4C2ACA4: strcasecmp (mc_replace_strmem.c:583) ==3986== by 0x4656F0: register_profile (profile.c:1920) ==3986== by 0x40CFF0: process_message.isra.4 (object.c:258) ==3986== by 0x517C9E5: _dbus_object_tree_dispatch_and_unlock (in /usr/lib64/libdbus-1.so.3.7.2) ==3986== by 0x5167349: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.7.2) ==3986== by 0x40AB77: message_dispatch (mainloop.c:76) ==3986== by 0x4E77BCA: g_timeout_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2) ==3986== by 0x4E77044: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2) ==3986== by 0x4E77377: g_main_context_iterate.isra.24 (in /usr/lib64/libglib-2.0.so.0.3400.2) ==3986== by 0x4E77771: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2) ==3986== by 0x40A3AE: main (main.c:583) ==3986== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==3986== ==3986== ==3986== Process terminating with default action of signal 11 (SIGSEGV) ==3986== Access not within mapped region at address 0x0 ==3986== at 0x4C2ACA4: strcasecmp (mc_replace_strmem.c:583) ==3986== by 0x4656F0: register_profile (profile.c:1920) ==3986== by 0x40CFF0: process_message.isra.4 (object.c:258) ==3986== by 0x517C9E5: _dbus_object_tree_dispatch_and_unlock (in /usr/lib64/libdbus-1.so.3.7.2) ==3986== by 0x5167349: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.7.2) ==3986== by 0x40AB77: message_dispatch (mainloop.c:76) ==3986== by 0x4E77BCA: g_timeout_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2) ==3986== by 0x4E77044: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2) ==3986== by 0x4E77377: g_main_context_iterate.isra.24 (in /usr/lib64/libglib-2.0.so.0.3400.2) ==3986== by 0x4E77771: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2) ==3986== by 0x40A3AE: main (main.c:583) ==3986== If you believe this happened as a result of a stack ==3986== overflow in your program's main thread (unlikely but ==3986== possible), you can try to increase the size of the ==3986== main thread stack using the --main-stacksize= flag. ==3986== The main thread stack size used in this run was 8388608. ==3986== Vinicius Costa Gomes 12 years ago 1 file, +6, -1
99c6f522 A2DP: Mark start flag if resume happen while in configured state If SEP is in configured state that means OPEN is about to happen so just mark start flag and send START once OPEN completes. Luiz Augusto von Dentz 12 years ago 1 file, +48, -0
d52af876 tools: Add support for registering external player This adds --external/-e to register remote players found as local player Luiz Augusto von Dentz 12 years ago 2 files, +74, -44
22ec5f41 tools: Fix hcidump parser of AVRCP for SetBrowsedPlayer command Luiz Augusto von Dentz 12 years ago 1 file, +1, -1
ed3b98a6 obexd: Handle absolute paths in obc_session_setpath For absolute paths (that begin with '/'), obc_session_setpath gets called twice to reset to the root folder. This is caused by an empty first element in the folder list created by g_strsplit. This solution sets the index to the folder array correctly and ignores empty folder names. This fixes as well paths with double slashes. Trace for 'SetFolder /telecom': < ACL data: handle 21 flags 0x00 dlen 21 L2CAP(d): cid 0x0040 len 17 [psm 3] RFCOMM(d): UIH: cr 1 dlci 32 pf 0 ilen 13 fcs 0xd8 OBEX: SetPath cmd(f): len 13 flags 2 constants 0 Connection ID (0xcb) = 17 Name (0x01) = Unicode length 0 > HCI Event: Number of Completed Packets (0x13) plen 5 handle 21 packets 1 > ACL data: handle 21 flags 0x02 dlen 11 L2CAP(d): cid 0x0041 len 7 [psm 3] RFCOMM(d): UIH: cr 0 dlci 32 pf 0 ilen 3 fcs 0x2 OBEX: SetPath rsp(f): status 200 len 3 < ACL data: handle 21 flags 0x00 dlen 21 L2CAP(d): cid 0x0040 len 17 [psm 3] RFCOMM(d): UIH: cr 1 dlci 32 pf 0 ilen 13 fcs 0xd8 OBEX: SetPath cmd(f): len 13 flags 2 constants 0 Connection ID (0xcb) = 17 Name (0x01) = Unicode length 0 > HCI Event: Number of Completed Packets (0x13) plen 5 handle 21 packets 1 > ACL data: handle 21 flags 0x02 dlen 11 L2CAP(d): cid 0x0041 len 7 [psm 3] RFCOMM(d): UIH: cr 0 dlci 32 pf 0 ilen 3 fcs 0x2 OBEX: SetPath rsp(f): status 200 len 3 < ACL data: handle 21 flags 0x00 dlen 37 L2CAP(d): cid 0x0040 len 33 [psm 3] RFCOMM(d): UIH: cr 1 dlci 32 pf 0 ilen 29 fcs 0xd8 OBEX: SetPath cmd(f): len 29 flags 2 constants 0 Connection ID (0xcb) = 17 Name (0x01) = Unicode length 16 0000: 00 74 00 65 00 6c 00 65 00 63 00 6f 00 6d 00 00 .t.e.l.e.c.o.m.. > HCI Event: Number of Completed Packets (0x13) plen 5 handle 21 packets 1 > ACL data: handle 21 flags 0x02 dlen 11 L2CAP(d): cid 0x0041 len 7 [psm 3] RFCOMM(d): UIH: cr 0 dlci 32 pf 0 ilen 3 fcs 0x2 OBEX: SetPath rsp(f): status 200 len 3 Christian Fetzer 12 years ago 1 file, +8, -5
7f803206 obexd: Remove obc_session_setpath limit obc_session_setpath is able to handle multiple folder changes at once. This removes the limit, that was introduced because of PBAP's limitation to 3 levels (75d32c6b3a3bddaad19b7880950f9a503afe652b). Other profiles like MAP might have deeper folder hierarchies. Christian Fetzer 12 years ago 1 file, +1, -1
9278cee7 tools: btmgmt: Fix return value to return request id Commit 947a7477d2a2ab6a61e5a7de44fd5b7cd2ab8d9c introduced the method send_cmd which returned the index of the adapter instead of the request id. As a result no mgmt command could be sent to hci0, as 0 marks an invalid request id. Timo Mueller 12 years ago 1 file, +1, -1
17f5f61f build: Remove leftover from .gitignore profiles/sap/sap.c used to be a symlink to a SAP driver. This symlink is not created anymore (only the dummy driver is linked to bluetoothd at the moment.) Anderson Lizardo 12 years ago 1 file, +0, -1
23f62587 tools: btmgmt: Add missing return after g_main_loop_quit() This change keeps semantic of previous code that used to call exit() directly. Anderson Lizardo 12 years ago 1 file, +3, -1
4c5ba570 avctp: Fix invalid file descriptor close During avctp_confirm_cb(), if any error happens we set the session state to AVCTP_STATE_DISCONNECTED, which inturn try to close fd 0. Syam Sidhardhan 12 years ago 1 file, +1, -0
f6c3832a tools: Fix compilation error with GINT_TO_POINTER Fixes the following error: tools/btmgmt.c: In function ‘index_rsp’: tools/btmgmt.c:756:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] tools/btmgmt.c: In function ‘cmd_info’: tools/btmgmt.c:791:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] cc1: all warnings being treated as errors make[1]: *** [tools/btmgmt.o] Error 1 make: *** [all] Error 2 Syam Sidhardhan 12 years ago 1 file, +2, -2
12d8434d tools: btmgmt: Remove old unused mgmt command handling Johan Hedberg 12 years ago 1 file, +10, -219
f4ec6b51 tools: btmgmt: Convert User Confirm replies from mgmt_send_cmd to mgmt_reply Johan Hedberg 12 years ago 1 file, +21, -22
b6c4f065 tools: btmgmt: Convert PIN replies from mgmt_send_cmd to mgmt_reply Johan Hedberg 12 years ago 1 file, +20, -20
111c0e36 tools: btmgmt: Convert confirm_name from mgmt_send_cmd to mgmt_send Johan Hedberg 12 years ago 1 file, +14, -18
947a7477 tools: btmgmt: Convert from mgmt_send_cmd to mgmt_send Johan Hedberg 12 years ago 1 file, +193, -135
bd35ad3e tools: btmgmt: Convert authentication request event monitoring to new API Johan Hedberg 12 years ago 1 file, +31, -24
87649e87 tools: btmgmt: Convert device found event monitoring to new API Johan Hedberg 12 years ago 1 file, +9, -9
b7dcbc79 tools: btmgmt: Convert local name changed event monitoring to new API Johan Hedberg 12 years ago 1 file, +7, -8
bfce7f80 tools: btmgmt: Convert auth failed event monitoring to new API Johan Hedberg 12 years ago 1 file, +7, -8
850b9d7c tools: btmgmt: Convert connection event monitoring to new API Johan Hedberg 12 years ago 1 file, +21, -25
b8c9114f tools: btmgmt: Convert new link key event monitoring to new API Johan Hedberg 12 years ago 1 file, +6, -7
cab7bd44 tools: btmgmt: Prefer quitting mainloop over calling exit() directly Johan Hedberg 12 years ago 1 file, +88, -71
a02bd1b2 tools: btmgmt: Convert discovering event monitoring to new API Johan Hedberg 12 years ago 1 file, +7, -7
e12790fc tools: btmgmt: Convert new settings event monitoring to new API Johan Hedberg 12 years ago 1 file, +7, -7
aaf689ce tools: btmgmt: Convert to using GLib main loop Johan Hedberg 12 years ago 1 file, +18, -18
ac57ca00 tools: btmgmt: Convert index added/removed events monitoring to new API Johan Hedberg 12 years ago 1 file, +8, -8
c2555c31 tools: btmgmt: Convert controller error event monitoring to new API Johan Hedberg 12 years ago 1 file, +8, -8
17fff52a tools: btmgmt: Add initial stubs for converting to new mgmt API Johan Hedberg 12 years ago 2 files, +16, -1
5008dc2b doc: Add short explanation for how to create mgmt sockets Johan Hedberg 12 years ago 1 file, +35, -0
accf3e81 unit: Add tests for sdp_get_server_ver() Anderson Lizardo 12 years ago 1 file, +49, -0
78ca13b4 unit: Add tests for sdp_get_profile_descs() Anderson Lizardo 12 years ago 1 file, +171, -0
b52d10d7 lib: Validate DTDs when parsing VersionNumberList Anderson Lizardo 12 years ago 1 file, +16, -1
Previous Next