OSDN Git Service
Szymon Janc [Fri, 4 Oct 2013 09:05:33 +0000 (11:05 +0200)]
obexd/service: Remove unused local variable
This fix following build error:
CC obexd/src/obexd-service.o
obexd/src/service.c: In function ‘obex_service_driver_register’:
obexd/src/service.c:100:10: error: unused variable ‘l’ [-Werror=unused-variable]
Szymon Janc [Fri, 4 Oct 2013 09:05:32 +0000 (11:05 +0200)]
obexd: Return "error" for unknown status in status2str
This can happend only if there is a bug in obexd code.
This fix following buld error:
CC obexd/src/obexd-manager.o
obexd/src/manager.c: In function ‘status2str’:
obexd/src/manager.c:292:1: error: control reaches end of non-void
function [-Werror=return-type]
Szymon Janc [Fri, 4 Oct 2013 09:05:31 +0000 (11:05 +0200)]
obexd: Remove unused local variables
This fix following build errors:
obexd/src/manager.c: In function ‘get_root’:
obexd/src/manager.c:253:23: error: unused variable ‘os’
[-Werror=unused-variable]
obexd/src/manager.c: In function ‘manager_emit_transfer_started’:
obexd/src/manager.c:534:22: error: unused variable ‘id’
[-Werror=unused-variable]
obexd/src/manager.c: In function ‘manager_request_authorization’:
obexd/src/manager.c:684:14: error: unused variable ‘type’
[-Werror=unused-variable]
obexd/src/manager.c:683:14: error: unused variable ‘filename’
[-Werror=unused-variable]
Szymon Janc [Fri, 4 Oct 2013 09:05:30 +0000 (11:05 +0200)]
obexd: Remove unused static functions
This fix following build error:
obexd/src/manager.c: At top level:
obexd/src/manager.c:190:13: error:
‘dbus_message_iter_append_dict_entry’ defined but not used
[-Werror=unused-function]
Szymon Janc [Fri, 4 Oct 2013 09:05:29 +0000 (11:05 +0200)]
obexd/MAP: Remove unused mas_drivers variable
This fix following build error:
CC obexd/client/obexd-mns.o
obexd/client/mns.c:344:38: error: ‘mas_drivers’ defined but not used
[-Werror=unused-variable]
cc1: all warnings being treated as errors
Szymon Janc [Fri, 4 Oct 2013 09:05:28 +0000 (11:05 +0200)]
obexd/MAP: Fix missing include
This fix following build error:
CC obexd/client/obexd-mns.o
obexd/client/mns.c: In function ‘parse_event_report_handle’:
obexd/client/mns.c:187:2: error: implicit declaration of function
‘strtoull’ [-Werror=implicit-function-declaration]
Szymon Janc [Fri, 4 Oct 2013 09:05:27 +0000 (11:05 +0200)]
obexd/MAP: Fix missing include
This fix following build error:
CC obexd/client/obexd-mns.o
obexd/client/mns.c: In function ‘mns_connect’:
obexd/client/mns.c:105:2: error: implicit declaration of function
‘manager_register_session’ [-Werror=implicit-function-declaration]
obexd/client/mns.c: In function ‘mns_disconnect’:
obexd/client/mns.c:128:2: error: implicit declaration of function
‘manager_unregister_session’ [-Werror=implicit-function-declaration]
Szymon Janc [Fri, 4 Oct 2013 09:05:26 +0000 (11:05 +0200)]
obexd/bluetooth: Make dict_append_entry function static
This fix following build error:
CC obexd/plugins/obexd-bluetooth.o
obexd/plugins/bluetooth.c:242:6: error: no previous declaration for
‘dict_append_entry’ [-Werror=missing-declarations]
Szymon Janc [Fri, 4 Oct 2013 09:05:25 +0000 (11:05 +0200)]
obexd/bluetooth: Remove unused local variables
This ix following build errors:
CC obexd/plugins/obexd-bluetooth.o
obexd/plugins/bluetooth.c: In function ‘register_profile_reply’:
obexd/plugins/bluetooth.c:202:10: error: unused variable ‘err’
[-Werror=unused-variable]
obexd/plugins/bluetooth.c: In function ‘name_acquired’:
obexd/plugins/bluetooth.c:367:15: error: unused variable ‘uuid’
[-Werror=unused-variable]
obexd/plugins/bluetooth.c: In function ‘name_released’:
obexd/plugins/bluetooth.c:389:15: error: unused variable ‘uuid’
[-Werror=unused-variable]
obexd/plugins/bluetooth.c: In function ‘bluetooth_start’:
obexd/plugins/bluetooth.c:400:10: error: unused variable ‘ios’
[-Werror=unused-variable]
Szymon Janc [Fri, 4 Oct 2013 07:01:25 +0000 (09:01 +0200)]
obexd/MAP: Fix invalid snprintf format string in map_msg_get()
obexd/client/map.c: In function ‘map_msg_get’:
obexd/client/map.c:446:2: warning: format ‘%u’ expects argument of type
‘unsigned int’, but argument 4 has type ‘uint64_t’ [-Wformat]
obexd/client/map.c:446:2: warning: format ‘%u’ expects argument of type
‘unsigned int’, but argument 4 has type ‘uint64_t’ [-Wformat]
Marcel Holtmann [Fri, 4 Oct 2013 06:04:07 +0000 (23:04 -0700)]
doc: Correct a few minor style issues
Marcel Holtmann [Thu, 3 Oct 2013 16:14:07 +0000 (09:14 -0700)]
doc: Add missing title text to static address command
Luiz Augusto von Dentz [Thu, 3 Oct 2013 12:42:37 +0000 (15:42 +0300)]
obexd/MAP: Store message handle in binary format
This is more efficient in terms of memory and hash lookups, it is also
not prone to string format bugs in remote stacks such as leading zeros
being treated as a different handle as can be experience with
Nokia N950 which sends events using a handle with leading zeros but
message listing don't have them.
Luiz Augusto von Dentz [Thu, 3 Oct 2013 11:18:21 +0000 (14:18 +0300)]
obexd/session: Fix crash while processing command queue
session_process_queue can call a callback which can cause the session to
be freed:
Invalid write of size 4
at 0x4265C9: session_process (session.c:716)
by 0x3D46047E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x40D55C: main (main.c:319)
Address 0x4d658a8 is 104 bytes inside a block of size 120 free'd
at 0x4A074C4: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3D4604D9AE: g_free (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x4265B1: session_process_queue (session.c:794)
by 0x4265C8: session_process (session.c:714)
by 0x3D46047E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x40D55C: main (main.c:319)
Christian Fetzer [Tue, 24 Sep 2013 14:16:07 +0000 (16:16 +0200)]
obexd: Prefix folders in event reports with leading slash
The internal representation of folder paths starts with a leading slash.
Therefore we have to prepend it to the folders received in event reports.
Christian Fetzer [Tue, 24 Sep 2013 14:16:06 +0000 (16:16 +0200)]
obexd: Handle message shift and message deleted events
Update Folder propery if the message has been shifted or deleted.
Christian Fetzer [Tue, 24 Sep 2013 14:16:04 +0000 (16:16 +0200)]
obexd: Update Status property in map documentation
For outgoing messages, the status field values are:
"delivery-success", "sending-success", "delivery-failure", "sending-failure"
Christian Fetzer [Tue, 24 Sep 2013 14:16:03 +0000 (16:16 +0200)]
obexd: Handle message status events
For outgoing messages, the message status is changed when an event
indicates that the sending/delivery has failed or succeeded.
Christian Fetzer [Tue, 24 Sep 2013 14:16:01 +0000 (16:16 +0200)]
obexd: Handle new message event
Register new org.bluez.obex.Message1 D-Bus object when a NewMessage
event report has arrived.
Johan Hedberg [Tue, 24 Sep 2013 13:11:00 +0000 (16:11 +0300)]
tools/l2cap-tester: Make setup_powered_server() enable LE advertising when necessary
Johan Hedberg [Tue, 24 Sep 2013 12:53:43 +0000 (15:53 +0300)]
tools/l2cap-tester: Rename generic test_bredr_server() to test_server()
Johan Hedberg [Tue, 24 Sep 2013 12:52:07 +0000 (15:52 +0300)]
tools/l2cap-tester: Fix passing correct psm to create_l2cap_sock()
Johan Hedberg [Thu, 19 Sep 2013 18:22:00 +0000 (21:22 +0300)]
tools/l2cap-tester: Separate server and client setup routines
Johan Hedberg [Thu, 19 Sep 2013 16:59:30 +0000 (19:59 +0300)]
tools/l2cap-tester: Add LE support
David Herrmann [Wed, 2 Oct 2013 15:57:31 +0000 (17:57 +0200)]
bnep: improve error-msg if bnep.ko is not loaded
bnep.ko, besides others, can be disabled in custom kernels if
network-support is not required. To avoid strange error messages, handle
EPROTONOSUPPORT as a special case and emit a warning that kernel support
is missing.
David Herrmann [Wed, 2 Oct 2013 15:57:30 +0000 (17:57 +0200)]
plugin: handle ENOSYS as not-supported
Allow plugins to return -ENOSYS during registration and handle it as
"not-supported" error. It makes the error messages slightly more useful in
case kernel-support is missing for a particular subsystem.
Marcel Holtmann [Thu, 3 Oct 2013 03:46:06 +0000 (20:46 -0700)]
monitor: Fail on invalid command line parameters
Marcel Holtmann [Wed, 2 Oct 2013 15:24:12 +0000 (08:24 -0700)]
monitor: Use different tables for BR/EDR and LE L2CAP signal channels
Johan Hedberg [Wed, 2 Oct 2013 13:21:42 +0000 (16:21 +0300)]
doc/mgmt-api: Add definition for Set Static Address
Marcel Holtmann [Wed, 2 Oct 2013 13:14:43 +0000 (06:14 -0700)]
tools/btmgmt: Fix small copy&paste issue
Marcel Holtmann [Wed, 2 Oct 2013 13:13:55 +0000 (06:13 -0700)]
tools/btmgmt: Add support for setting static address
Marcel Holtmann [Wed, 2 Oct 2013 13:12:06 +0000 (06:12 -0700)]
lib: Add define for mgmt_set_static_address
Johan Hedberg [Wed, 2 Oct 2013 12:48:41 +0000 (15:48 +0300)]
tools/mgmt-tester: Fix expected response code for start_discovery case
Christian Fetzer [Tue, 24 Sep 2013 11:27:08 +0000 (13:27 +0200)]
obexd: Fix emitting Type property changed signals for messages
In order to determine if the message Type property has changed,
the stored type needs to be compared with the parsed type and not with
the raw value received from the MSE.
This fixes the issue that the property changed signal for the Type
property is emitted for every message on every ListMessage call.
Andrei Emeltchenko [Tue, 1 Oct 2013 11:57:34 +0000 (14:57 +0300)]
sdp: Check for correct pkt size received instead of error
Check that the full header is received in recv().
Anderson Lizardo [Tue, 1 Oct 2013 14:11:22 +0000 (10:11 -0400)]
lib: Fix invalid "whitespace" on company identifier string
Somehow, the invalid multibyte sequence "\xC2\xA0" (which is displayed
as a whitespace) was inserted on a company identifier string. Fix this
to avoid a bogus diff when running tools/update_compids.sh.
Anderson Lizardo [Tue, 1 Oct 2013 15:46:06 +0000 (11:46 -0400)]
tools: Fix update_compids.sh to avoid non-ASCII output
Some distros have html2text patches that may generate non-ASCII output
even when -ascii is used. This patch adds another case (seen in Fedora)
where HTML entity   (non-breaking space) is converted into a
multibyte whitespace.
Also add a sanity check to make sure non-ASCII text is not introduced in
lib/bluetooth.c.
Marcel Holtmann [Wed, 2 Oct 2013 11:01:54 +0000 (04:01 -0700)]
doc: Small beautification
Johan Hedberg [Wed, 2 Oct 2013 09:01:34 +0000 (12:01 +0300)]
tools/mgmt-tester: Add some basic set_bredr set cases
Johan Hedberg [Wed, 2 Oct 2013 07:41:48 +0000 (10:41 +0300)]
tools/btmgmt: Add support for set_bredr
Johan Hedberg [Wed, 2 Oct 2013 07:43:23 +0000 (10:43 +0300)]
lib: Add define for mgmt_set_bredr
Johan Hedberg [Wed, 2 Oct 2013 09:16:43 +0000 (12:16 +0300)]
doc/mgmt-api: Add Set BR/EDR command definition
Johan Hedberg [Wed, 2 Oct 2013 07:41:30 +0000 (10:41 +0300)]
tools/btmgmt: Fix minor whitespace issue
Johan Hedberg [Tue, 1 Oct 2013 06:29:12 +0000 (09:29 +0300)]
tools/mgmt-tester: Update expected settings to support recent HS changes
Marcel Holtmann [Tue, 1 Oct 2013 05:02:59 +0000 (22:02 -0700)]
tools/mgmt-tester: Add test cases for enabling high speed
Marcel Holtmann [Tue, 1 Oct 2013 04:37:45 +0000 (21:37 -0700)]
tools/mgmt-tester: Cleanup indentation of test cases
Szymon Janc [Mon, 30 Sep 2013 13:06:03 +0000 (15:06 +0200)]
lib: Fix use of uninitialized variable in sdp_set_profile_descs
Error path on default case was not breaking loop. To keep error
handling similar all error path were converted to use goto.
This fix following:
target C: libbluetooth <= external/bluetooth/bluez/android/../lib/sdp.c
lib/sdp.c: In function 'sdp_set_profile_descs':
lib/sdp.c:487:10: warning: 'values[0]' may be used uninitialized in
this function [-Wmaybe-uninitialized]
lib/sdp.c:2562:19: note: 'values[0]' was declared here
lib/sdp.c:545:11: warning: 'dtds[0]' may be used uninitialized in this
function [-Wmaybe-uninitialized]
lib/sdp.c:2562:9: note: 'dtds[0]' was declared here
Johan Hedberg [Sat, 28 Sep 2013 19:49:24 +0000 (22:49 +0300)]
test/test-hfp: Fix passing missing backlog parameter to sco.listen()
Luiz Augusto von Dentz [Fri, 27 Sep 2013 11:21:36 +0000 (14:21 +0300)]
obexd/client: Fix not setting Transfer.Size for GET operations
GET operations may return the length header in the first response which
should be set as transfer Size property.
Luiz Augusto von Dentz [Tue, 24 Sep 2013 14:14:25 +0000 (17:14 +0300)]
gobex: Revert g_obex_pending_req_abort to static pending_req_abort
This reverts the changes introduced in
9095deb82572112fc0870095bf2222964610eafe that made pending_req_abort
public which is not necessary considering g_obex_cancel_req can do the
same and is safe to call even if the request is not pending.
Luiz Augusto von Dentz [Tue, 24 Sep 2013 14:34:02 +0000 (17:34 +0300)]
gobex: Fix crash on g_obex_pending_req_abort
It is not safe to call g_obex_pending_req_abort directly as pending_req
can be NULL:
Invalid read of size 4
at 0x41231E: g_obex_pending_req_abort (gobex.c:693)
by 0x416A8A: g_obex_cancel_transfer (gobex-transfer.c:647)
by 0x42DEF2: obc_transfer_cancel (transfer.c:180)
by 0x43D833: process_message.isra.5 (object.c:259)
by 0x3B0701CE85: ??? (in /usr/lib64/libdbus-1.so.3.7.4)
by 0x3B0700FA30: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.7.4)
by 0x43A5B7: message_dispatch (mainloop.c:76)
by 0x3B03C48962: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C47E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C48157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C48559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x40D53C: main (main.c:319)
Address 0x30 is not stack'd, malloc'd or (recently) free'd
Marcel Holtmann [Sun, 29 Sep 2013 04:00:02 +0000 (21:00 -0700)]
tools: Limit controller type to two bits of device info type
Marcel Holtmann [Sat, 28 Sep 2013 07:05:50 +0000 (00:05 -0700)]
lib: Update company identifiers
Luiz Augusto von Dentz [Wed, 25 Sep 2013 15:03:21 +0000 (18:03 +0300)]
obexd/bluetooth: Fix memory leak when adapter is off
sdp_connect fails when Bluetooth adapter is off which leads to the
following leak:
37 bytes in 1 blocks are definitely lost in loss record 68 of 165
at 0x4A06409: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3B03C4D89E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C64BAE: g_strdup (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x427D5D: bluetooth_connect (bluetooth.c:410)
by 0x426CC9: obc_session_create (session.c:454)
by 0x425693: create_session (manager.c:203)
by 0x43D8A3: process_message.isra.5 (object.c:259)
by 0x3B0701CE85: ??? (in /usr/lib64/libdbus-1.so.3.7.4)
by 0x3B0700FA30: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.7.4)
by 0x43A627: message_dispatch (mainloop.c:76)
by 0x3B03C48962: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C47E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
Christian Fetzer [Mon, 23 Sep 2013 09:24:29 +0000 (11:24 +0200)]
obexd: Clarify the folder property of PushMessage
The folder property of PushMessages does not accept path information,
it allows only to request the messages to be added to a subfolder of the
current folder.
Christian Fetzer [Mon, 23 Sep 2013 09:24:28 +0000 (11:24 +0200)]
obexd: Clarify the folder property of ListMessages
The folder property of ListMessages does not accept path information,
it allows only to request the messages of a subfolder of the current
folder.
Christian Fetzer [Mon, 23 Sep 2013 09:24:27 +0000 (11:24 +0200)]
obexd: Fix setting message folder for relative folder in ListMessages
The method ListMessages allows to specify a relative subfolder.
This subfolder needs to be added to the current path when registering
a new message interface.
Christian Fetzer [Mon, 23 Sep 2013 09:24:26 +0000 (11:24 +0200)]
obexd: Add folder property to map_msg_create
Message interfaces are not necessarily created for the current folder,
therefore the folder needs to be specified in a parameter.
For example, messages can be created for sub folders when using the folder
parameter in ListMessages.
Marcel Holtmann [Wed, 25 Sep 2013 16:32:04 +0000 (09:32 -0700)]
doc: Update description for Set Advertising command
Johan Hedberg [Tue, 24 Sep 2013 12:38:18 +0000 (15:38 +0300)]
tools/mgmt-tester: Add basic rejection test case for LE advertising
Johan Hedberg [Tue, 24 Sep 2013 12:36:02 +0000 (15:36 +0300)]
tools/mgmt-tester: Add basic LE advertising success test cases
Johan Hedberg [Tue, 24 Sep 2013 11:45:46 +0000 (14:45 +0300)]
tools/mgmt-tester: Take into account new "advertising" supported setting
Johan Hedberg [Tue, 24 Sep 2013 12:41:41 +0000 (15:41 +0300)]
monitor: Add support for LE Advertising mgmt setting
Johan Hedberg [Fri, 20 Sep 2013 15:16:19 +0000 (18:16 +0300)]
emulator/bthost: Add support for creating LE connections
Johan Hedberg [Tue, 24 Sep 2013 12:24:34 +0000 (15:24 +0300)]
tools/btmgmt: Add support for setting LE advertising
Johan Hedberg [Tue, 24 Sep 2013 12:22:34 +0000 (15:22 +0300)]
mgmt: Add defines for new advertising setting
Johan Hedberg [Wed, 25 Sep 2013 10:45:52 +0000 (13:45 +0300)]
doc: Fix mgmt_set_le error code list
Johan Hedberg [Wed, 25 Sep 2013 09:34:07 +0000 (12:34 +0300)]
doc: Add mgmt_set_advertising details to mgmt API
Luiz Augusto von Dentz [Wed, 25 Sep 2013 08:32:19 +0000 (11:32 +0300)]
obexd/service: Fix possible leaking drivers list
When registering a new driver with obex_service_driver_register there
could exist another driver for the service which will cause the drivers
list to leak.
Luiz Augusto von Dentz [Wed, 25 Sep 2013 08:31:08 +0000 (11:31 +0300)]
obexd/server: Fix leaking drivers list
The leak can be detected by using G_SLICE=always-malloc which will
produce the following trace using valgrind:
112 bytes in 7 blocks are definitely lost in loss record 123 of 167
at 0x4A06409: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3B03C4D89E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C6344D: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C647A5: g_slist_append (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x424DD3: obex_service_driver_list (service.c:76)
by 0x42517F: obex_server_init (server.c:64)
by 0x40D439: main (main.c:304)
Szymon Janc [Thu, 19 Sep 2013 14:00:45 +0000 (16:00 +0200)]
unit: Remove not needed functions from test-sdp
SDP code no longer depends on adapter code.
Szymon Janc [Thu, 19 Sep 2013 14:00:44 +0000 (16:00 +0200)]
core: Remove not needed sdp_init_services_list function
It is doing nothing now and can be removed.
Szymon Janc [Thu, 19 Sep 2013 14:00:43 +0000 (16:00 +0200)]
adapter: Handle removing of SDP records
Make adapter in charge of updating SDP database. This allow to decouple
SDP of code used for notifying adapters about SDP database change.
Szymon Janc [Thu, 19 Sep 2013 14:00:42 +0000 (16:00 +0200)]
adapter: Handle adding new SDP records
Make adapter in charge of updating SDP database. This allow to decouple
SDP of code used for notifying adapters about SDP database change.
Szymon Janc [Thu, 19 Sep 2013 14:00:41 +0000 (16:00 +0200)]
adapter: Insert DeviceID record if setting DeviceID data to controller
DeviceID is special since its record is registered on start by
sdpd-server and always has handle 0x10000.
Marcel Holtmann [Sat, 21 Sep 2013 18:40:31 +0000 (11:40 -0700)]
lib: Update company identifiers
Johan Hedberg [Fri, 20 Sep 2013 16:17:34 +0000 (11:17 -0500)]
core: Fix passing timeout when disabling discoverable mode
We should only pass a timeout value when enabling discoverable mode.
When disabling passing something non-zero would yield a "invalid
parameters" error.
Johan Hedberg [Fri, 20 Sep 2013 14:38:49 +0000 (17:38 +0300)]
emulator/bthost: Fix using correct address type for LE connections
Johan Hedberg [Fri, 20 Sep 2013 03:18:19 +0000 (06:18 +0300)]
emulator/bthost: Fix ACL handle packing
Johan Hedberg [Thu, 19 Sep 2013 22:49:37 +0000 (01:49 +0300)]
emulator/bthost: Track address type for connections
Johan Hedberg [Thu, 19 Sep 2013 23:45:09 +0000 (02:45 +0300)]
emulator/bthost: Use right CID for LE signaling
Johan Hedberg [Thu, 19 Sep 2013 23:28:17 +0000 (02:28 +0300)]
emulator/bthost: Pass full ACL connection context around
Johan Hedberg [Thu, 19 Sep 2013 15:42:49 +0000 (18:42 +0300)]
emulator: Add initial LE L2CAP signaling support to bthost
Johan Hedberg [Thu, 19 Sep 2013 18:42:14 +0000 (21:42 +0300)]
emulator: Add LE Connection Complete handling to bthost
Johan Hedberg [Thu, 19 Sep 2013 18:35:29 +0000 (21:35 +0300)]
emulator: Refactor bthost ACL connection tracking
Johan Hedberg [Thu, 19 Sep 2013 18:31:05 +0000 (21:31 +0300)]
emulator: Add skeleton for LE meta event handler in bthost
Johan Hedberg [Thu, 19 Sep 2013 16:42:02 +0000 (19:42 +0300)]
emulator: Add basic advertise enable support for bthost
Johan Hedberg [Thu, 19 Sep 2013 16:41:06 +0000 (19:41 +0300)]
tools/l2cap-tester: Fix using right hciemu type
Johan Hedberg [Thu, 19 Sep 2013 15:27:26 +0000 (18:27 +0300)]
emulator: Add basic support for LE connections
Johan Hedberg [Thu, 19 Sep 2013 15:27:12 +0000 (18:27 +0300)]
monitor: Add define for "Connection Failed To Be Established"
Johan Hedberg [Thu, 19 Sep 2013 15:06:57 +0000 (10:06 -0500)]
emulator: Remove redundant empty line
Andrei Emeltchenko [Tue, 17 Sep 2013 14:40:20 +0000 (17:40 +0300)]
sdp: Check correct number of bytes received in recv
Instead of checking for error check that correct number of bytes received.
Johan Hedberg [Wed, 18 Sep 2013 17:03:50 +0000 (12:03 -0500)]
doc: Update supported A2DP version to 1.3
Johan Hedberg [Tue, 17 Sep 2013 07:05:54 +0000 (08:05 +0100)]
tools/l2cap-tester: Add invalid config request server test
Johan Hedberg [Tue, 17 Sep 2013 06:56:48 +0000 (07:56 +0100)]
tools/l2cap-tester: Add invalid CID server test case
Johan Hedberg [Tue, 17 Sep 2013 06:54:26 +0000 (07:54 +0100)]
tools/l2cap-tester: Fix sending right req code in tests
Johan Hedberg [Tue, 17 Sep 2013 06:38:30 +0000 (07:38 +0100)]
tools/l2cap-tester: Add expected response data to nval PDU test
Marcel Holtmann [Mon, 16 Sep 2013 15:08:22 +0000 (08:08 -0700)]
Release 5.9
Luiz Augusto von Dentz [Mon, 16 Sep 2013 10:35:10 +0000 (13:35 +0300)]
obexd/bluetooth: Fix memory leak
g_io_channel_unix_new creates a reference which is then passed to
obex_session_start which creates its on reference via g_io_channel_ref
leading to the following leak:
at 0x4A06409: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3B03C4D89E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C88224: g_io_channel_unix_new (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x418967: profile_new_connection (bluetooth.c:148)
by 0x43D763: process_message.isra.5 (object.c:259)
Christian Fetzer [Fri, 13 Sep 2013 15:28:36 +0000 (17:28 +0200)]
obexd: Remove msg from MAP session structure
The D-Bus message for a pending method call is now stored in the
pending_request struct.