Commit Graph

7487 Commits

Author SHA1 Message Date
Santiago Carot-Nemesio
9677a892e7 Implement health_channel_destroy function 2010-10-06 10:37:08 +02:00
Jose Antonio Santos Cadenas
d13ce23977 Complete connection req. callback checking the configuration 2010-10-06 10:37:08 +02:00
Santiago Carot-Nemesio
b15f410ebc Implement hdp_mcap_mdl_conn_req_cb 2010-10-06 10:37:08 +02:00
Santiago Carot-Nemesio
d62b6a7324 Connect data channel 2010-10-06 10:37:08 +02:00
Jose Antonio Santos Cadenas
10bb87731c Set the MCAP control channel mode to ERTM 2010-10-06 10:37:08 +02:00
Jose Antonio Santos Cadenas
aa2eeb07ee mcap_connect_mcl receives the mode of the channel instead of the btiotype 2010-10-06 10:37:08 +02:00
Santiago Carot-Nemesio
3218a9e698 Correctly deletion of hidden hdp_devices 2010-10-06 10:37:08 +02:00
Jose Antonio Santos Cadenas
7369e445b2 Set mcl callbacks when it is connected or reconnected 2010-10-06 10:37:08 +02:00
Jose Antonio Santos Cadenas
f72719cd3d Register HealthChannel interface when create channel request is success 2010-10-06 10:37:08 +02:00
Jose Antonio Santos Cadenas
1c5538a224 Add function to get the remote dcpsm 2010-10-06 10:37:07 +02:00
Santiago Carot-Nemesio
4ecfa42540 Add a reference counter to hdp_create_dc for callbacks 2010-10-06 10:37:07 +02:00
Santiago Carot-Nemesio
f3e8d0272c Implementation of create_mcl_cb for connecting data channels 2010-10-06 10:37:07 +02:00
Jose Antonio Santos Cadenas
1673fc33c0 Add a reference counter to conn_mcl_data for callbacks 2010-10-06 10:37:07 +02:00
Jose Antonio Santos Cadenas
402dcd1ba7 Parse remote SDP record for getting control channel PSM 2010-10-06 10:37:07 +02:00
Santiago Carot-Nemesio
eebe51ff43 Send request to create data channels 2010-10-06 10:37:07 +02:00
Jose Antonio Santos Cadenas
bad39a61d7 Parse SDP record for find the matching MDEP 2010-10-06 10:37:07 +02:00
Santiago Carot-Nemesio
fa207381f8 Reconnect MCL when create a new data channels if it is closed 2010-10-06 10:37:07 +02:00
Jose Antonio Santos Cadenas
8c16454c7d Get MDEP to create a new data channel 2010-10-06 10:37:07 +02:00
Santiago Carot-Nemesio
b571d6d327 First steps for get the remote mdep 2010-10-06 10:37:07 +02:00
Santiago Carot-Nemesio
707359ef28 Initial support to create data channels 2010-10-06 10:37:07 +02:00
Santiago Carot-Nemesio
c8c4f6445b Fix MCAP bug when a new request is done in a callback 2010-10-06 10:37:07 +02:00
Santiago Carot-Nemesio
0a39787183 Fix potential memory leak in MCAP code
Data provided by profiles using MCAP may fall in memory leak if
control channel is closed before reply arrives from remote side.
This patch add a GDestroyNotify function parameter in MCAP API
to release private data provided by upper layers even if adapter
is removed or control channels is closed before reply from remote
side arrives.
2010-10-06 10:37:07 +02:00
Santiago Carot-Nemesio
92f12fb6fa Add GDestroyNotify function to connect L2CAP channels in MCAP API
Profiles using MCAP should be able to free private data provided when
connecting both (data and control channels) even if connections process
is not success.
2010-10-06 10:37:07 +02:00
Jose Antonio Santos Cadenas
62b35db235 Update device flag indicating that it was created by the driver 2010-10-06 10:37:06 +02:00
Jose Antonio Santos Cadenas
66b906db68 Unref the device reference of the mcl when the mcap instance is closed 2010-10-06 10:37:06 +02:00
Santiago Carot-Nemesio
8720548660 Implement callback when mcl is uncached 2010-10-06 10:37:06 +02:00
Jose Antonio Santos Cadenas
798dd19190 Implement callback for mcl reconnections 2010-10-06 10:37:06 +02:00
Jose Antonio Santos Cadenas
5d1c5168db Implement callback for mcl disconnection 2010-10-06 10:37:06 +02:00
Jose Antonio Santos Cadenas
85ea1b8fac Implement callback for mcl connection 2010-10-06 10:37:06 +02:00
Marcel Holtmann
6e788114ad Fix Alok's email address 2010-10-06 10:29:09 +02:00
Marcel Holtmann
a04e001d29 Fix Waldemar's email address 2010-10-06 10:28:16 +02:00
Marcel Holtmann
ecb835fca7 Remove netlink plugin 2010-10-06 10:21:11 +02:00
Marcel Holtmann
c681fac492 Enable Health and Attribute plugins for testing 2010-10-06 10:19:59 +02:00
Claudio Takahasi
8a4679d991 TODO: Automatic server indication/notification owner 2010-10-05 22:26:39 +02:00
Claudio Takahasi
b597e74fd9 Add PSM option for GATT/ATT over BR/EDR on gatttool 2010-10-05 22:26:37 +02:00
Johan Hedberg
1d259451a6 Use consistent wording for medium priority 2010-10-05 19:01:52 +02:00
Johan Hedberg
e9a15ade3f Add TODO file to track pending issues 2010-10-05 18:59:07 +02:00
Johan Hedberg
89c9634c10 gatttool: fix trying to read beyond the last handle 2010-10-05 13:50:03 +02:00
Marcel Holtmann
77bce046cb Release 4.75 2010-10-05 11:48:17 +02:00
Johan Hedberg
fa58d42ae6 Fix ATT OP codes to match spec 2010-10-05 11:27:15 +02:00
Johan Hedberg
2108bac22c Restrucure pincode_cb logic for readability 2010-10-05 10:14:44 +02:00
Luiz Augusto von Dentz
cdf87d611f Fix use of uninitialised variable on legacy pairing
Regression caused by e7daece858:

==23899== Use of uninitialised value of size 4
==23899==    at 0x49CD888: _itoa_word (_itoa.c:196)
==23899==    by 0x49D1109: vfprintf (vfprintf.c:1613)
==23899==    by 0x4A7506C: __vsprintf_chk (vsprintf_chk.c:86)
==23899==    by 0x4A74FAC: __sprintf_chk (sprintf_chk.c:33)
==23899==    by 0x4830E08: ba2str (stdio2.h:34)
==23899==    by 0x1496B3: set_pin_length (security.c:514)
==23899==    by 0x168399: pincode_cb (dbus-hci.c:179)
==23899==    by 0x162E0D: pincode_cb (device.c:2135)
==23899==    by 0x15AD55: pincode_reply (agent.c:416)
==23899==    by 0x49467E0: ??? (in /lib/libdbus-1.so.3.5.2)
==23899==    by 0x4934975: ??? (in /lib/libdbus-1.so.3.5.2)
==23899==    by 0x4937B81: dbus_connection_dispatch (in /lib/libdbus-1.so.3.5.2)
==23899==
==23899== Conditional jump or move depends on uninitialised value(s)
==23899==    at 0x49CD893: _itoa_word (_itoa.c:196)
==23899==    by 0x49D1109: vfprintf (vfprintf.c:1613)
==23899==    by 0x4A7506C: __vsprintf_chk (vsprintf_chk.c:86)
==23899==    by 0x4A74FAC: __sprintf_chk (sprintf_chk.c:33)
==23899==    by 0x4830E08: ba2str (stdio2.h:34)
==23899==    by 0x1496B3: set_pin_length (security.c:514)
==23899==    by 0x168399: pincode_cb (dbus-hci.c:179)
==23899==    by 0x162E0D: pincode_cb (device.c:2135)
==23899==    by 0x15AD55: pincode_reply (agent.c:416)
==23899==    by 0x49467E0: ??? (in /lib/libdbus-1.so.3.5.2)
==23899==    by 0x4934975: ??? (in /lib/libdbus-1.so.3.5.2)
==23899==    by 0x4937B81: dbus_connection_dispatch (in /lib/libdbus-1.so.3.5.2)
2010-10-05 10:06:15 +02:00
Marcel Holtmann
b99d3cbf30 Release 4.74 2010-10-05 09:11:21 +02:00
Marcel Holtmann
724d9f6a8f Update library version 2010-10-05 09:06:49 +02:00
Marcel Holtmann
004646382a Use LMP_HOST prefix for the extended features 2010-10-05 09:04:09 +02:00
Suraj Sumangala
29fef5b02f Bluetooth: Add support to specify patch download location
This patch add support for specifying patch download address for
AR300x patch download logic.
2010-10-05 08:56:13 +02:00
Vinicius Costa Gomes
4a3c238d69 Fix regression for Legacy Pairing
When a pincode was entered and no DBus error ocurred, bluetoothd
still responded with Pin Code Request Negative Reply.

The regression was introduced by commit
e7daece858
2010-10-04 21:00:50 -03:00
Claudio Takahasi
9ebc8d3b0f Read local extended features asynchronously 2010-10-04 17:38:23 -03:00
Claudio Takahasi
e5f088d745 Fix interleave scanning
Fix interleave discovery type verification. This patch fix the wrong
scanning request for LE only devices. When the adapter state changes
to idle, the next scanning window for LE only should be triggered by
the scheduler.
2010-10-04 17:38:23 -03:00
Claudio Takahasi
ce7956a9c0 Forcing periodic inquiry exit
Periodic inquiry doesn't send an event between inquiry windows. If
devices are not found during the inquiry session or if the state is
resolving name periodic inquiry still active and needs be deactivated.
2010-10-04 17:38:23 -03:00