• Home
  • History
  • Annotate
  • only in /external/bluetooth/bluez/health/
History log of /external/bluetooth/bluez/health/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d05887c3d5d498610529d86a6c02d25385d5250e 09-Dec-2011 Jaikumar Ganesh <jaikumar@google.com> Fix channel connected signal emission.

Channel Connected signal was being emitted too early
leading to failure in acquisition of the fd. Delay channel
connection signal it is ready to be used by users.

Patch in consulation with Jose Antonio Santos Cadenas <santoscadenas@gmail.com>

Bug: 5732670

Change-Id: I7855bd9d372ec9d548240c9086a66e9a340ce1ce
dp.c
c6fec84e11812f4fc1dea79c61abd02cff98b800 13-Jul-2011 Jean-Baptiste Queru <jbq@google.com> Merge "Add NOTICE and MODULE_LICENSE_GPL files."
9824a4c2ce285f90775302905d7d60560d248945 08-Jul-2011 Jaikumar Ganesh <jaikumar@google.com> Change health plugin name to bluetooth-health.

This makes it easier to decipher in the PRODUCT_PACKAGE
section of build files.

Change-Id: Iee1860fd350a17a77f57d30647f54f3ff3833284
ndroid.mk
227db5670023d58cf50779e64351d8762a52d443 22-Mar-2011 Jaikumar Ganesh <jaikumar@google.com> Change version number to 4.93

Change-Id: Idc8204629b859ef3873afc4d303a61308af14a07
ndroid.mk
909ff0744c24f4c51468c0fde60eff4b6449dfa2 11-Mar-2011 Jaikumar Ganesh <jaikumar@google.com> Add Android makefiles to Bluez.

This includes the following commits from previous versions:

a) bluez: Add Android.mk for pand (off by default)
b163e2bb16bb5e06a7100f77fe94c24aef1a162e by <san@google.com>

b) Add missing libbluetooth in linker commands for executables using libbluetoothd.
3e442fe33c17b9476063068d5bb486b4f936257b by <dougkwan@google.com>

c) Edit makefiles to get network to work. Changed libglib to be a shared library
fddb10d62d21580c49101c3dc4ab43f6619234c0 by Danica Chang

d) Update Bluetooth configuration path: 0b25504e93b95a809e32227a3832bf08a3c13296
by Jaikumar Ganesh

e) bluez : use another code for Intel's mmx. fe0762b2463df43b2765582c76a09356c753e16b
by: Author: Jae-Hyung Ahn <jerry.ahn@windriver.com>,
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
ndroid.mk
31d63d55096182a774cfc985974333456f7783de 09-May-2011 Szymon Janc <szymon.janc@tieto.com> Remove not needed GError* assignements to NULL
dp.c
24c6dee3b307cbf9e99dfdb875895f410120ec41 04-May-2011 Szymon Janc <szymon.janc@tieto.com> Remove redundant local copy of GSlist* from functions

Those functions already get copy of pointer to list so local copy is
not needed.
cap.c
3948fb1198bb7aefea995da09940432378965af9 04-May-2011 Szymon Janc <szymon.janc@tieto.com> Fix empty parameter list in functions declarations

Use foo(void) instead of foo() for parameterless functions declaration.
This allows compiler to check if foo is called without parameters.
dp.c
dp.h
3df2e877135d7ad022e7088a2ff9f8fb36b35542 29-Apr-2011 Jaikumar Ganesh <jaikumar@google.com> Fix property type of Main Channel of Health plugin

The property type must be DBUS_TYPE_OBJECT_PATH instead
of DBUS_TYPE_STRING. This is in sync with the documentation
and with the other places of usage such as the property change
signal.
dp.c
7015c2abb3a7a019544f2d5495df0afdfd97343c 06-Apr-2011 Jaikumar Ganesh <jaikumar@google.com> Add NOTICE and MODULE_LICENSE_GPL files.

Change-Id: Ibec15e1a8d9d23a0fe557ceb59ac2c80bbc5d6c3
ODULE_LICENSE_GPL
OTICE
4ffb3bf4d4b7e6221fbe5abc795eb4d532f14e37 31-Mar-2011 Jaikumar Ganesh <jaikumar@google.com> Fix include paths for health plugin

Fix the include path of l2cap.h and sdp_lib.h
dp.c
dp_util.c
ccfba9b5c17546bafc997318510f449a2d6ae424 22-Mar-2011 Jaikumar Ganesh <jaikumar@google.com> Fix include path for health plugin.

Change-Id: I2a8c3e8afcb88ca13efc7393e2503f3a3cdcedb4
dp.c
dp_util.c
5de70880a685055bb017289fa739a97c85b681ea 29-Mar-2011 Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> Fix uninitialized variable warning

health/mcap.c: In function ‘proc_req_pending’:
health/mcap.c:1119:25: error: ‘abrt’ may be used uninitialized in this function
make[1]: *** [health/mcap.o] Error 1
cap.c
95f0cc6a22ee293a82bce37745f222c78ec62805 25-Mar-2011 Santiago Carot-Nemesio <sancane@gmail.com> Emit missing signal when data channel is reconnected.

Reconnections of data channels should be indicated to others
applications by using the appropriate signal.
dp.c
af8f516c53828a407c433db0edae58a54e6e39ea 25-Mar-2011 Santiago Carot-Nemesio <sancane@gmail.com> Fix memory leak if an error occurs when a data channel is reconnected.
dp.c
f7459450c3cdb24423615e1957f296b479f89aee 23-Mar-2011 Santiago Carot-Nemesio <sancane@gmail.com> Fix security level for MCAP instances created from HDP plugin

Some health devices without IO capabilities can't connect to MCAP
instances when security level is set to HIGH. This patch enables above
devices to connect to Health instances avoiding the MITM problem.
dp.c
14195e470346c7dc22221c8f7c44187556b2b276 11-Mar-2011 Jaikumar Ganesh <jaikumar@google.com> Add Android makefiles to Bluez.

This includes the following commits from previous versions:

a) bluez: Add Android.mk for pand (off by default)
b163e2bb16bb5e06a7100f77fe94c24aef1a162e by <san@google.com>

b) Add missing libbluetooth in linker commands for executables using libbluetoothd.
3e442fe33c17b9476063068d5bb486b4f936257b by <dougkwan@google.com>

c) Edit makefiles to get network to work. Changed libglib to be a shared library
fddb10d62d21580c49101c3dc4ab43f6619234c0 by Danica Chang

d) Update Bluetooth configuration path: 0b25504e93b95a809e32227a3832bf08a3c13296
by Jaikumar Ganesh

Change-Id: I8e9e506cf5963b70456ecdb222b9cf2068b980da
ndroid.mk
bb096e674c6a143db73fb636aa611a392cdb92f8 14-Mar-2011 Elvis Pfützenreuter <epx@signove.com> Add more functions for new UUID handling

This patch adds more functions that are necessary to handle the new
bt_uuid_t type, and moves basic things like byte-swapping functions and
uint128_t type to bluetooth.h.
cap_sync.c
876ab1e9de3fd3064477b799cc298292bfac7fe0 14-Jan-2011 Elvis Pfutzenreuter <epx@signove.com> HDP: reject MDL reconnection with different MTU

This patch implements refusal of a MDL reconnection if the new L2CAP
connection presents a different MTU. Accordingly to HDP spec. item 3.5.

It aims to pass the TC_SNK_HCT_BV_07_C PTS test. (It does not pass yet
because PTS itself seems to have issues. See tickets 7212, 7214 and
7244 for details.)
dp.c
dp_types.h
cbb82220243b67f03a4927c3db09d6b763d02e40 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Get rid of unneeded btd_adapter_get_conn_handle function
cap_sync.c
0bb73aacb04005f72f8cdd877af78fe4787ad090 06-Dec-2010 Gustavo F. Padovan <padovan@profusion.mobi> Create btd_error_invalid_args()

DBus error handling in BlueZ is a mess. This is the first patch to unify
all DBus error handling like in ConnMan and oFono. This unifies all
.InvalidArguments errors.
dp.c
091a1e3c440fbacb58285b1d17ebf2dba3b8937c 22-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fix MDL and MCL reference counting in IO watchers

When a io_watcher is added to an MDL or an MCL channel, its reference
should be incremented because the watcher should keep its own reference
the the structure.

Also a destroy function is added in order to decrement the reference
once the watcher is removed.
cap.c
989fb19dc69861f5385138d72edd618b86c13b85 22-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Do not increment mdl reference in reconnections
dp.c
c530c24d0882b9c5f4e40f1300fe21a60d35e189 18-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix C++ style comment
dp.c
bae2eced2b2827de5bc4917e2ede7fb5756c0e73 16-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Check if the mcl insiede the device is correctly set before use it
dp.c
0440b0886e1fb20441a77d021f0f4e0d83a45cc6 16-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Check if MCAP Instance is already released when a callbacks comes back.
dp_util.c
c94510c6d76505128d326758b201a098f43c10f2 16-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fixes to echo
dp.c
cc982cfdd8a3bb33ecc5680fec728831ea5f5cf9 16-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Remove magic number to check ECHO MDEPs in HDP
dp.c
6af90f5df998ba53c03ebe257ced2ff2e59a9ea3 16-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Return proper response code if there is an error creating echo channel
dp.c
719a6db6ae1ee36514225f8b0c2a7c3b213e54c6 16-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Fix dereference to NULL pointers during data channels creation
dp.c
1f4fb8f3e37a105a9c54b3756824daa2a40cedb6 15-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Code refactorization in MCAP
cap.c
373df8727d6af3810d724888fd137dd750d66b9a 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove old reference to mcap session in the name of variables
cap.c
cap_internal.h
cap_lib.h
cap_sync.c
f93cb536624a36fea5acfebdeea89761ad00f7ac 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add reference counter to mcap_mdl
dp.c
cap.c
cap_internal.h
cap_lib.h
d6679d69995c8d77a522674a0e6644c19d02f891 12-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fix message error
dp.c
8ad6d25ee16280db1f6d4f7fbe1978a37239aabd 12-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Set reference counter for mcls to gint
cap_internal.h
2e10060057723b44078b75d6e013cc6bb8859586 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add reference counter to mcap_instances
dp.c
cap.c
cap_internal.h
cap_lib.h
81f9377eef6b8a4f28b45362cbf39e9fd9c21eee 12-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fix typos in mcap
cap.c
c90f995b47549d3f95c2558e23a92693cfce122b 12-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Notify a channel deleted when remote side has already deleted it
dp.c
cap.c
970ce7e257d1d8fec86798bb342a68521be51d97 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add missed unrefs for hdp_tmp_dc_data
dp.c
c13f540aa65ea869bc6a5d189c5f7ab9e0747dff 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove MCL's before removing the application

If you do in the other way you will find freed memory while
removing the mcl.
dp.c
82e01f02d48490113f05966253fd346aad305bbd 11-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add reference counter to hdp_channel
dp.c
dp_types.h
1f8e894f4697d2c15162264ccebbbc2d3a56061e 11-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add reference counter to hdp_device
dp.c
dp_types.h
dp_util.c
dp_util.h
e88f778c02af3b0ae29ef52510cc3a8d88d46429 11-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add reference counter to hdp_application
dp.c
dp_types.h
dp_util.c
dp_util.h
3b684c485e4b59d99ff3c4ab4aefe684bc1e3b32 10-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fix segfault in HDP during device re-creation
dp.c
1b03833da2285f596c4d4bad32b7b50fcbf184bf 10-Nov-2010 Elvis Pfützenreuter <epx@signove.com> Check HealthApplication path before trying to destroy it
dp.c
692258fc4430f305045c34a4843c68bbaef36385 03-Nov-2010 Elvis Pfützenreuter <epx@signove.com> Add Application property to HealthChannel

This patch adds the Application property to HealthChannel, which
allows to unambiguously relate a channel to an application.

This property is useful when there are several processes interested
in accepting HealthChannels but device address is not sufficient
criteria to engage upon, or ignore, the ChannelConnected signal.
Having the application path allows to determine role and data type,
in the context of the process that has created that application.
dp.c
1effccc6644f5aadf9e569fd49a305f6b13336cb 14-Jan-2011 Elvis Pfutzenreuter <epx@signove.com> HDP: reject MDL reconnection with different MTU

This patch implements refusal of a MDL reconnection if the new L2CAP
connection presents a different MTU. Accordingly to HDP spec. item 3.5.

It aims to pass the TC_SNK_HCT_BV_07_C PTS test. (It does not pass yet
because PTS itself seems to have issues. See tickets 7212, 7214 and
7244 for details.)
dp.c
dp_types.h
6b9921107e0346f0fc6f5475b0dea17f65dc94ce 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Get rid of unneeded btd_adapter_get_conn_handle function
cap_sync.c
696c18c48f9648274c375a77a70a45f5f31053fb 06-Dec-2010 Gustavo F. Padovan <padovan@profusion.mobi> Create btd_error_invalid_args()

DBus error handling in BlueZ is a mess. This is the first patch to unify
all DBus error handling like in ConnMan and oFono. This unifies all
.InvalidArguments errors.
dp.c
d6523428accd6d42dac2d578205df09f3f5cc5a2 22-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fix MDL and MCL reference counting in IO watchers

When a io_watcher is added to an MDL or an MCL channel, its reference
should be incremented because the watcher should keep its own reference
the the structure.

Also a destroy function is added in order to decrement the reference
once the watcher is removed.
cap.c
d8e13154cefad5da039b511929dd2c974d0e9910 22-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Do not increment mdl reference in reconnections
dp.c
fe743cc4b1cff32d67ae60a3ae76821ccac47a78 18-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix C++ style comment
dp.c
d99c3e454eccae442d2173498c42b593b0b80cf0 16-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Check if the mcl insiede the device is correctly set before use it
dp.c
f6322e527e7f8b301fb05e418f71cbd27f16c750 16-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Check if MCAP Instance is already released when a callbacks comes back.
dp_util.c
fb750fb7fd809f7c4f1c5705a251e0425d00db17 16-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fixes to echo
dp.c
0c17e368168f41c458424abda1b5267033ff1cf2 16-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Remove magic number to check ECHO MDEPs in HDP
dp.c
59d99d49674d950d3d44c39b7b596d193c29fbde 16-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Return proper response code if there is an error creating echo channel
dp.c
1242e834f339d35a4f94ddfac2db4e6ebcd92ba3 16-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Fix dereference to NULL pointers during data channels creation
dp.c
aabc01126b08e9fbd8af4335b4b74e2dbe10cca1 15-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Code refactorization in MCAP
cap.c
36fcf8eb2251aea11e09b65d055d83ce17ef1826 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove old reference to mcap session in the name of variables
cap.c
cap_internal.h
cap_lib.h
cap_sync.c
bcfaa65382edd9643018958acb7f0df6f3501a63 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add reference counter to mcap_mdl
dp.c
cap.c
cap_internal.h
cap_lib.h
0ddd53f98b454a2bf7f29c3e9367d5df792d4a5b 12-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fix message error
dp.c
f8a4a4cdb06d5db8cd13b5e0d2742d7a8cbbb14f 12-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Set reference counter for mcls to gint
cap_internal.h
5128b0a92d06387344cb92d2619312183f4bf10e 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add reference counter to mcap_instances
dp.c
cap.c
cap_internal.h
cap_lib.h
cd11da5416b30b7c2d1e752240cd645ac21051ef 12-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fix typos in mcap
cap.c
f85d90448308e61cccea7948ae0b8948b8865bdc 12-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Notify a channel deleted when remote side has already deleted it
dp.c
cap.c
f2aa76f9651cd5f82bfef4a4da6a982df88b6cd9 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add missed unrefs for hdp_tmp_dc_data
dp.c
b3a66533673be9c6ce2d17c7da07858793ce95e8 12-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove MCL's before removing the application

If you do in the other way you will find freed memory while
removing the mcl.
dp.c
f472779b770f9d3d738d7dae10c5d1050f48e8f3 11-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add reference counter to hdp_channel
dp.c
dp_types.h
8cc8784b8f353b8c5a86143cd21aec7d86e0baf9 11-Nov-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add reference counter to hdp_device
dp.c
dp_types.h
dp_util.c
dp_util.h
fda9a5a1bc6e81e70a6b139f94abbcf24d7e4e9c 11-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add reference counter to hdp_application
dp.c
dp_types.h
dp_util.c
dp_util.h
9079c27239c6f69da83292af29ff594e9e887069 10-Nov-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fix segfault in HDP during device re-creation
dp.c
917449e1cdfc00d917cdd3d924d8fb845774914a 10-Nov-2010 Elvis Pfützenreuter <epx@signove.com> Check HealthApplication path before trying to destroy it
dp.c
1532898319c4aba33353f5fe341d85586638634b 03-Nov-2010 Elvis Pfützenreuter <epx@signove.com> Add Application property to HealthChannel

This patch adds the Application property to HealthChannel, which
allows to unambiguously relate a channel to an application.

This property is useful when there are several processes interested
in accepting HealthChannels but device address is not sufficient
criteria to engage upon, or ignore, the ChannelConnected signal.
Having the application path allows to determine role and data type,
in the context of the process that has created that application.
dp.c
23de707dcaa1226f33bd9c361ace0d3ff87e1894 25-Oct-2010 Elvis Pfützenreuter <epx@signove.com> Fix coding style and comment
dp.c
cap_sync.c
780dd75fccf56437140d61744a7b70c5de914264 25-Oct-2010 Elvis Pfützenreuter <epx@signove.com> Fix fd comparison
dp.c
c1e72570fc792623f0b6e3b8f30851dd3e2ada6d 25-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Send a proper configuration when a source doesn't have a first reliable
dp.c
2200d976bd995e640a20cb3d4df1d4642f2de1d8 22-Oct-2010 Elvis Pfützenreuter <epx@signove.com> Fix small coding style issues

Based on http://lxr.linux.no/linux+v2.6.36/Documentation/CodingStyle#L171
dp_util.c
cap_lib.h
5ff302b070e42138a306318319bcd881aa423127 22-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix minor coding style issue with variable declarations
dp_util.c
230410365ef1fe0af1a79bae42f606f60447e346 19-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Check if the channel mode is correct when opening data channels
dp.c
b55676bd78c5ef8ffe91f93b4356d5ab0e0554f4 19-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Change data channel mode for incoming connections
dp.c
6732965eb18e9abd6be71d89b34d2fdde5e779ea 19-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Enable support to change mode for incoming data channels connections
cap.c
cap_lib.h
79a2209f6b7788ae0318e1a0329852cbb61c0e0d 18-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Delete data channels when their device is removed.
dp.c
f0e40f4c1db27d8a809dbe31749ced5b1eb1da01 18-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Close the data channel if remote side changes the configuration
dp.c
9c2b1e31ae1a420f17ca929b7e87412b929bcd00 18-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Check l2cap configuration when data channels are connected
dp.c
9d58e78220a47fe6b88ab8cda52a30ae21258049 14-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Fix segmentation fault freeing uninitialized pointers
dp_util.c
0d716b075176cd6df50992ba09bebadbeeaa155e 14-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Emit a valid path when main channel is deleted
dp.c
549bc07502d5aa82da73cf4d5caf5bc02aee5c4f 14-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Notify main channel when it is locally opened
dp.c
a0da5dee55a67b75c4825e027bf004f9ad223469 14-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove obsolete comment from MCAP
cap.c
8838517cbf7c0f52b3ae33847e2933296ddcdd68 15-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Receive an string instead of an integer for ChannelType
dp_util.c
2a555d5d35951c2867d8809d84f6b1fb172a7797 13-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove unnecessary function
dp.c
860f0951132e9272b4887233da85d359b438c81b 13-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove MDL when delete operation fails with INVALID_MDLID error

We can remove a data channel if error code Invalid MDLID is provided
in reply to a MD_DELETE_MDL_REQ. That error is provided only if the
MDL ID referenced is invalid. This shall be used when:
- A reserved or invalid value for MDL ID was used.
- The MDL ID referenced is not available (was never created, has
been deleted, or was otherwise lost),
- The MDL ID referenced in the Abort request is not the same value
that was used to initiate the PENDING state
cap.c
d44b6e979bd9e448a9a4ed5ffbcd0bd231f96197 13-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Abort echo channel if connection was not successful
dp.c
70558ff3fb9af40527662483385714904c5a59a2 13-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add initial support for deleting an echo channel
dp.c
214b368c74812f08093572cf8b1bd99886eddd40 13-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add timeout to wait for echo reply
dp.c
02b32c221643d153c022d319fe2a6d61e3bc6cd0 13-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Separate private echo data from data channels
dp.c
dp_types.h
b373573355d9f22828927b07375d4e83a5e628f6 13-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Notify channel deletion correctly
dp.c
e47d40a09a5c28d07722bb0c9f8b87596fbd737e 13-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Create a function for closing mcl correctly
dp.c
cb38c347a80e20951b5506cdf3623f26320c6636 12-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Check echo response
dp.c
35a14037758463d09758f97d0ed87fcb098935ee 12-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Set watcher to check echo response
dp.c
dp_types.h
e95a28a056933d09cc96fa9c9291c48b6420ee46 12-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Generate random echo packet
dp.c
e0d3d7581a3ff8d56f7ec1c38850f99ff0906cc8 12-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Initial steps to send echo data
dp.c
8dfeb1f0fef2df506717d6cdacff2ab259b33e37 12-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove unnecessary variable
dp.c
86b4526064b2060b8482b80d850bc0de1b4964e2 12-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Connect echo channel
dp.c
9dffe9e4a6f9f5a151c7c3a52bc6c4711843b088 11-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add support to initiate echo
dp.c
aab917fc2b65669098f96bd614d0e9586f4b2d14 13-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Some code cleanup in hdp
dp.c
dp_util.c
562c939a933b20918ecb201836181ea965335b28 11-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Check first reliable configuration during channel creation
dp.c
95fa316ecc5ca9fb2a3944164396078745090da7 11-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Delete all channels when the instance is removed

When an MCAP instance is removed, MCAP removes all the data channels,
but the D-Bus interfaces are already there, this commits removes
this interfaces so no future use of this channels will be possible
dp.c
96f7d6e04ee7196e67e31e85702c83140f53617d 11-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement callback for responding echo petitions
dp.c
dp_types.h
c3761e22e8e29d08fedce8c7787e70219085e589 11-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add extra checks for avoid notifiying incoming echo channels
dp.c
1ba926af2791bd85cc7433fdb1ef25f5c2258ad1 09-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Return MCAP_MDL_BUSY when health channel can't be created

This error code is more appropriated than MDEP_BUSY. MDEP_BUSY is
reserved for cases when no more data channels can be managed
simultaneously.
dp.c
eb2cee291cdbfb6aab07136049f841bab898ac45 09-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Fix multiple emission of main channel property signal.

Whenever a data channel was connected the signal property change was
emitted too.
dp.c
4ed615d0468f54c54d7de456f6e517c3919cffef 09-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Correctly notify the deletion of the reliable data channel
dp.c
3913704e8f6c2ad65060efed8e6588be34380013 09-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Incoming connection in control channel should be ERTM
cap.c
e88fdbd06398c68369d7ce9482157433a15ffc69 07-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Process request of of echo channels creation
dp.c
6d93423f1e9e03618d8382c572fdcc64236d52e2 07-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add a new function to create channels
dp.c
a68f5a6f8febb5d5731ae53d3229800e5f751459 07-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Remove unnecessary app parameter from hdp_establish_mcl
dp.c
dp_util.c
dp_util.h
f2024ff51e673fde9bc98b219391e1dfe1342e80 07-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Remove mdl_conn from struct hdp_channel

Istead of using this flag, the file descriptor can be used.
dp.c
dp_types.h
acf63e3fdb34657c48a9d532e7a6dfac8edd39ad 06-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix minor coding style issues in HDP code
dp.c
dp_util.c
b0115866e855c013c137316586138444b1c8e6e8 05-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove extra space in HDP code
dp_types.h
dp_util.h
bc85591222cf636b59b0aea230e6f5cb98e4b819 04-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add remote mdep when connect new data channels
dp.c
57b22cdd52f1b194d02b2dbb06c4cce564dd9c15 03-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Send a proper reply to Acquire petition once reconnection is done
dp.c
6b41ddfe00b4bb891cb998820943d9f086a388ff 03-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Reuse connect funcion for reconnections
dp.c
fba8a45ca330781dd852ca6e08a155488acad78c 03-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Set MDLs to disconnected state when an MCL is disconnected
dp.c
595752c369f36c8d3d3644f11cce0b34d82d335f 02-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Start getting remote dcpsm for reconnect a HealthChannel
dp.c
1541fa313e77b18ed98f597922d7949717a548c3 02-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Start reconnecton if needed in Acquire method
dp.c
ef0819a1bf8aa6a06a125e6d0334799705e73820 02-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Prepare callbacks for acquire data channel (mcl reconnection)
dp.c
516204b31c65ea1af19fa53afbe43640577fdfa1 02-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Append missed signal when channel is created
dp.c
7632f207178080311e10491a662e9e55392760bc 02-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Fix typo error in HDP
dp.c
494d89f244a363f3dfc4ebb04860fd6722ebeb38 01-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement GetProperties method for the HealthChannel object
dp.c
93faa8d7ff28a7bbfa46772d8461328e92696d81 01-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Implement Release function
dp.c
0a50d08af2f412d7e1bbd6dc7e19794c7684ba61 01-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Create a GetProperties function for HealthDevice
dp.c
a153666771e592b90ea41ace1ffb82e5115c6c7a 01-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Implement deleted callback
dp.c
655eec71471c5bde93d3e512523dfea1dd853b10 01-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Reconnect MDL in destroy channel if it is required
dp.c
637151299a0247d810f7d0256ce231635de1f4c6 01-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Initial support to destroy data channels
dp.c
77dc4f532a929d010d0f1d7c91c682f2f95e4352 01-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Check if the requested configuration is valid for the application role
dp.c
da079c7c639b77d90419c0963c5f583d438ca341 01-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Check the configuration of the negotiated data channel
dp.c
5c58732e4624ddd68b4fb11245d5334bfec21733 01-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement hdp_mcap_mdl_reconn_req_cb
dp.c
7de15fe110b4ec91feb7160b4afb014f54db532c 01-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement hdp_mcap_mdl_deleted_cb
dp.c
2e1bbce2b60c63bb5d1e24f417c79688f9200713 01-Oct-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement hdp_mcap_mdl_closed_cb
dp.c
a90dfa8a849900778b9a1aa1e87727548a71beb0 01-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Send abort request when error happens connecting a data channel
dp.c
c619bc6a30c6ccd2af87d5c373ba8994d28538ea 30-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement hdp_mcap_mdl_connected_cb
dp.c
df05348c0746b2364b721263efecbee47c879e51 30-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Implement hdp_mcap_mdl_aborted_cb
dp.c
9677a892e71c0d7ef2e8174b34cab927ef8de739 30-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Implement health_channel_destroy function
dp.c
d13ce239776e1b7c3695717f7e28d75688b65332 30-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Complete connection req. callback checking the configuration
dp.c
dp_types.h
dp_util.c
b15f410ebceefd31b75135e52f853cf17211e75e 30-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Implement hdp_mcap_mdl_conn_req_cb
dp.c
dp_types.h
d62b6a7324a11dcef22f0071b1265187f31d39b1 30-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Connect data channel
dp.c
10bb87731c9d175ae58c7ff29bd79f18f9476e7f 30-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Set the MCAP control channel mode to ERTM
cap.c
aa2eeb07ee7d7511fd8afc00378d8714860e24d9 30-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> mcap_connect_mcl receives the mode of the channel instead of the btiotype
cap.c
cap_lib.h
3218a9e698f60f6b02efd67ba5141dbf1e688f43 30-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Correctly deletion of hidden hdp_devices
dp.c
7369e445b2609a45e62bfff525ecd110885c35da 30-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Set mcl callbacks when it is connected or reconnected
dp.c
dp.h
dp_util.c
f72719cd3d3132d99826aaf425470463eb5c8d9a 30-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Register HealthChannel interface when create channel request is success
dp.c
dp_types.h
1c5538a22468fb29f6bcd59f679dee1e1fa96ad4 30-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add function to get the remote dcpsm
dp_util.c
dp_util.h
4ecfa42540f561d14d14f8579e409fea30299a8d 30-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add a reference counter to hdp_create_dc for callbacks
dp.c
dp_util.c
f3e8d0272c733e5abf9bfd331ad4edeaf943c9be 30-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Implementation of create_mcl_cb for connecting data channels
dp_util.c
1673fc33c0d571617c72e442155dabe287a71513 30-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add a reference counter to conn_mcl_data for callbacks
dp_util.c
402dcd1ba7e18bcd2e7cdaaf7d69407527178976 28-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Parse remote SDP record for getting control channel PSM
dp_util.c
eebe51ff43c532b72003a3e625e7346a7a86b44e 28-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Send request to create data channels
dp.c
bad39a61d7757dd063d831cb5bc73b756af13bcf 28-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Parse SDP record for find the matching MDEP
dp_util.c
fa207381f8e578daacf2078f9aa671d84e5ed9f4 28-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Reconnect MCL when create a new data channels if it is closed
dp.c
dp_util.c
dp_util.h
8c16454c7dbf67e37f60f9de28d0457e3b570a29 28-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Get MDEP to create a new data channel
dp.c
b571d6d32701493af6493f90cf0cd4b3870f6606 28-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> First steps for get the remote mdep
dp.c
dp_types.h
dp_util.c
dp_util.h
707359ef28b25c8b58f2fa6fba1b43e1bcd71524 28-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Initial support to create data channels
dp.c
c8c4f6445ba4a5f5f860de932cec61972d3e2990 01-Oct-2010 Santiago Carot-Nemesio <sancane@gmail.com> Fix MCAP bug when a new request is done in a callback
cap.c
0a39787183cf5a55ead2c975977f0eabefff7df2 24-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> 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.
cap.c
cap_lib.h
92f12fb6faff72552f93b44b0ed8870c75c65353 24-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> 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.
cap.c
cap_lib.h
62b35db235b82286faf177e1ac78511a768477e5 20-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Update device flag indicating that it was created by the driver
dp.c
66b906db683e83fa920127359ac53f4c6b17bc31 20-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Unref the device reference of the mcl when the mcap instance is closed
dp.c
87205486606cd2a1619e758fa7e1f5703c677562 20-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Implement callback when mcl is uncached
dp.c
798dd191900a598edae10290c528087737fc6d64 20-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement callback for mcl reconnections
dp.c
5d1c5168dbd10f5c751d8f7982424f9860b71d85 20-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement callback for mcl disconnection
dp.c
85ea1b8fac7f50c6662cc197a444e404ca59f566 20-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement callback for mcl connection
dp.c
dp_types.h
0ca6eacb9a6d32730bd1e3208c9d2300b4d86d6a 22-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove redundant parentheses
cap_sync.c
bab7bc682bf916b57ff3509858f6996080747cb2 22-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Remove magic numbers in MCAP CSP
cap_sync.c
d9c916ac6212679cb56051d93cf0268edf6ace4c 22-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Simplify logic to calculate the BT/system clock latency

This is only a cosmetic change. Using a while loop
we avoid direct manipulation of counter loop variable
when error happens reading the BT clock.
cap_sync.c
5500d6f8a88a471d47f5667bf183d70dd320b635 22-Sep-2010 Elvis Pfützenreuter <epx@signove.com> Use hciops functions instead of HCI raw sockets
cap_sync.c
ce86aba22dc3a2b346cfa8d93d3b343523dd4445 21-Sep-2010 Elvis Pfützenreuter <epx@signove.com> Fix potential lockup while finding latency

This patch fixes a potential infinite loop while finding the
BT/system clock read latency. If the adapter is removed exactly
at that moment, BT clock simply can't be read and it must quit.
This is handled as a temporary failure (if a new connection is
made, adapter is probably in place again).
cap_sync.c
2b34bb1e19510f751a3783ff9226f3a14394d7a9 21-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Code reorganization to avoid unnecessary forward declarations
cap_sync.c
1dee81c167f6d97030c7a5285684701e39b033cd 21-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Some code reordering in mcap_sync

Declaration, defines and struct definitions are moved to the begining
of the file. Just for make the code more readable.
cap_sync.c
7fec3cc78450b3262fa99a2369d6768eb396e693 20-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Fix potential NULL pointer access in MCAP CSP code

NULL pointer acces may hapen when an attemp to send a
synchronization command happens over a closed MCL.
cap_sync.c
f7d72451b4f273602b237c9bd30c5cb9b4a7ef63 20-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Fix minor coding style issues in MCAP CSP code
cap_sync.c
73d16df5fccdfbeee8564bb4a6d22cb7d8442220 17-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix minor coding style issues in HDP code
dp.c
dp_main.c
dp_util.c
2aceae7e351ea18421a97371d4a29d5d0865d2fd 16-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add watcher for client disconnection
dp.c
dp_types.h
022fe4409961a5883930294e2bbf71d8490a5a58 16-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Register and unregister interfaces for health devices
dp.c
dp_types.h
ced4231b0667ba0c2c2c8fe938060376869e5bef 15-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Register features in SDP record
dp.c
dp_types.h
dp_util.c
dp_util.h
bb0b2e841eef0b23febb719d92a41ec4a0d39156 15-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Manage adapters
dp.c
dp_types.h
bbbdb87fc68ec7a90eee4347fc6d13acca2aae3a 29-Jul-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Managing applications (create and destroy)
dp.c
dp_types.h
dp_util.c
dp_util.h
2792e639a9f6c5738ded6745a2077b8db0baf1fb 27-Jul-2010 Santiago Carot-Nemesio <sancane@gmail.com> Initial support for HDP plugin
dp.c
dp.h
dp_main.c
dp_manager.c
dp_manager.h
dp_types.h
0d1d9442813b73abb0946288f27f3dc46970b0f2 16-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Make read_btclock return value clearer
cap_sync.c
bfc9ce9a21459c7b29ca0519f8141b2ab4fba3df 16-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix memory leak
cap_sync.c
3ed7e640968f8607ec6b4a368d4fe4303d0714c5 16-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix coding style issues in MCAP CSP code
cap_sync.c
afceadebb7fbb3b233a204e97be1391eb109f6f1 15-Sep-2010 Elvis Pfützenreuter <epx@signove.com> Fixes several small issues found with PTS testing

1. BT clock reading is retried a few times upon failure. Temporary
failures seem to be common (at least in a VM environment) and
CSP needs to deal with it more gracefully.
2. Do not read local BT clock if ioctl() fails; fail and let the
higher-level function to retry. No clock is better than the wrong
one.
3. Add a field to SyncLeadTime in capabilities struct, since this
is checked by PTS and a better/clearer estimate is needed
throughout the code (see below).
4. Make sure every scheduling is delayed by SyncLeadTime. PTS does
not like to receive a message before this.
5. Added a more conservative (and bigger) estimate of SyncLeadTime
(PTS insists about receiving immediate responses within it).
6. Sync Indication is immediately sent in two ocasions: right after
a sync set, and right after sync set response (and every "n"
seconds after that, depending on required accuracy).
7. Timestamp resolution is set to 1 when operating system call
yields resolution = 0.
cap_sync.c
cf25fc1f49b754671f208d862f35d3e4e678bf9d 09-Jul-2010 Elvis Pfützenreuter <epx@signove.com> Added CSP enabling/disabling API; GError argument positioning

MCAP stack wakes up with CSP disabled. It must be enabled
explicitly. MCL connections created prior to CSP enabling
won't be CSP-capable; only new MCLs will.

GError pointer is by convention the last parameter in request functions.
cap.c
cap_internal.h
cap_lib.h
cap_sync.c
62fb66c51855ada1b7f7908f7083226368343b6c 01-Jul-2010 Elvis Pfützenreuter <epx@signove.com> Read native BT clock if connection has no handle

Loopback connections (between two processes in the same machine)
have no ACL handle. In this case, just use the native BT clock.
cap_sync.c
c1e45717d53136739aa6d546b6cda6ba8014884c 26-Jun-2010 Elvis Pfützenreuter <epx@signove.com> CSP-Master implementation
cap.c
cap_internal.h
cap_lib.h
cap_sync.c
1e6a00608a57e85588e4580cfdd586a0fe934feb 28-Jun-2010 Elvis Pfützenreuter <epx@signove.com> Internal CSP capabilities use signed int

Using plain, signed ints for the internal representation
of CSP capabilities makes it easier to do math on those
values, as well as avoiding casts.
cap_sync.c
9fd248f100c5267ccad9f14f9bf8986c4b2cc283 28-Jun-2010 Elvis Pfützenreuter <epx@signove.com> Make sure CSP-slave set phase2 is always 'late'

Also, if the phase2 callback arrives too early (unlikely),
makes sure that timestamp will not underflow, because it
is unsigned.
cap_sync.c
73397e56ec894f822d52de343e343d57693dca3b 26-Jun-2010 Elvis Pfützenreuter <epx@signove.com> CSP Slave: Implemented role switch detection
cap_sync.c
4f9819b1e3d34454034fd1b18c72771769faad9f 26-Jun-2010 Elvis Pfützenreuter <epx@signove.com> Added a TODO about btclock-based scheduling (is possible at all?)
cap_sync.c
83609c9b0f27a76405cc61426a08f9287697912b 26-Jun-2010 Elvis Pfützenreuter <epx@signove.com> CSP-Slave: info indication implementation
cap_sync.c
79fd3043496ff704593e6a23e7e4a40c61d41b65 26-Jun-2010 Elvis Pfützenreuter <epx@signove.com> CSP-Slave set request: implemented delayed response
cap_sync.c
3c01182f08743e2bfe9257fdb1d57c62c8aaef41 26-Jun-2010 Elvis Pfützenreuter <epx@signove.com> Added sync stop function for when MCL disconnects
cap.c
cap_internal.h
cap_sync.c
1073e95c1eff22d4dde00be90ed063aa9f955548 26-Jun-2010 Elvis Pfützenreuter <epx@signove.com> Put chosen system clock in evidence as a macro
cap_sync.c
bc0a9c66c9c10f52b2a201cecbeaf08f9ed7bcaa 25-Jun-2010 Elvis Pfützenreuter <epx@signove.com> Added BT clock validation function
cap_sync.c
ecf7610cbe5f0ab5e1a7634486302304ab38dfbf 25-Jun-2010 Elvis Pfützenreuter <epx@signove.com> Implementation of CSP-Slave capabilities
cap_internal.h
cap_sync.c
68a87ad1241285f382a154f61a7278344d358a15 25-Jun-2010 Elvis Pfützenreuter <epx@signove.com> Added member to MCL structure, CSP control struct initialization
cap.c
cap_internal.h
cap_sync.c
dd6f2eafe0fd3b9c611cbabfe21120abe8f6cfa7 25-Jun-2010 Elvis Pfützenreuter <epx@signove.com> Added basic CSP macros, fix in error response

CSP error responses must be of the same length as normal
responses, except that all parameters are set to zero.
cap.h
cap_sync.c
2c51f57c8125d0f717a85532ddc9d331824e795e 16-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Use mcap_rsp instead of uint8_t where it makes sense

Get rid of unnecessary uint8_t * variables where mcap_rsp can be
directly used.
cap.c
c640b57f56550aed3aeeab9bce2ff4aa9ff5bf8a 16-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Get rid of unnecessary mdl variables
cap.c
9031c47dde0c5b70fd9944064bc276dcd0ce8bf9 16-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Get rid of unnecessary type casts with mcap_send_data
cap.c
cap.h
cap_sync.c
028d168131cfe2417946298afc4d948eb8d1ecc9 16-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Make mcap_send_data accept void *

This makes it easier to pass the function data without having to do
explicit type casts.
cap.c
cap_internal.h
e32375e831e0d66d1b2e6e10f3d5e77581085374 15-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Change the way that connections are rejected

MCAP requires that connections are refused at L2CAP layer using a
connection response "Connection refused -no resources available".
By default, deferred connections in BlueZ are rejected using the
code "Connection refused - security block".

As in BlueZ is not possible to reject the defer connection with
this response code. This patch don't defer the connection and
close it immediately. This is also a valid behaviour for rejecting
connections in MCAP.
cap.c
5c90bde90b0895aab1e0af6f03dc51d2619dc393 15-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Remove GError only when there is an error
cap.c
d67dee724ef93275f6e3c2c18190ad96dd1d5905 15-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Supress glib warnings when a sources is removed with tag 0
cap.c
b2ae2f72209fa0fb028c3cdb93542b6dff28a0fb 15-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Avoid memory leak while connecting BTIO channels
cap.c
b6d761f8ed77ba845a98a7b4179d547f479bebd7 15-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Use reference counter to manage MCL references in MCAP
cap.c
f47ef246ff038ee8ec823bb7a0329135b32b9513 02-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix potential NULL pointer access in MCAP code
cap.c
5c10242bc4fabdef10b2653ab7df228535841bbf 02-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Simplify logic in close_mcl()
cap.c
4299e6f62d7716e42cefa9ce516bfff40edc762e 02-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix minor coding style issues in MCAP code
cap.c
4ed1e1c6083dfc1bcb27aadc8c065b08b8c3f396 01-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add initial support for synchronization protocol
cap.c
cap.h
cap_sync.c
d25f53fe9024363bca5f7199502b72ae04a79c43 27-Jul-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add version and supported procedures values
cap.h
e6a5eef667ed379b60bcf5fc7f39b79d230f4d7b 27-Jul-2010 Santiago Carot-Nemesio <sancane@gmail.com> Response with invalid operation when an invalid request is received
cap.c
31c058313a24cd2250ef1018703dda36e6d8cdb0 02-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Add functions for getting mdl properties
cap.c
cap_lib.h
0e64c1ad6ba34dcd5779ab00ee42ea7f22f2e73b 01-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Process MCAP process_md_delete_mdl request and response commands
cap.c
cap_lib.h
ca55acd8e394dc6b229ec96a326bddb28797eb8b 01-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Process MCAP process_md_reconnect_mdl request and response commands
cap.c
cap_lib.h
c93cc6ada5defd7f6a4166380d51cdff540d7e66 27-Jul-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Process MCAP process_md_abort_mdl request and response commands
cap.c
cap_lib.h
27e19763cc35014e5882ec49b5549a53441d8ccc 01-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Implement connection of MCAP data links (MDL's)
cap.c
cap_lib.h
7c7e5bea754afb55e3ce89e3fae7974c390abc01 01-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Process MCAP response mcap_md_create_mdl_rsp
cap.c
ca054e1ffbb4dc22649ff1521897ff300bc36fae 02-Sep-2010 Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Process MCAP request mcap_md_create_mdl_req
cap.c
cap.h
8344e058d6847cf78821b93f763e94aceab6e4e7 27-Jul-2010 Santiago Carot-Nemesio <sancane@gmail.com> Send MCAP request mcap_md_create_mdl_req
cap.c
cap.h
cap_internal.h
cap_lib.h
797c3425973b7580f46d9859c788b43e4b3f6ba5 01-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Prepare FSM functions for processing comands
cap.c
cap.h
cap_internal.h
b5577f29e9d29371716985812814110b3406dc0c 26-Jul-2010 Santiago Carot-Nemesio <sancane@gmail.com> Added function for MCAP control channel (MCL) management
cap.c
cap_lib.h
aff7c2c8e3e71f2d3ed1691c2481c095a56ca2b0 26-Jul-2010 Santiago Carot-Nemesio <sancane@gmail.com> Receive MCAP mcl connections from remote devices
cap.c
cap.h
cap_internal.h
cap_lib.h
49cbd0ac7bd9003ecd8eb21296fceb9e699bafbd 01-Sep-2010 Santiago Carot-Nemesio <sancane@gmail.com> Add MCAP instance management
cap.c
cap.h
cap_internal.h
cap_lib.h
f5d82ee8723f35799c7646a03ca4b997b62c23af 26-Jul-2010 Santiago Carot-Nemesio <sancane@gmail.com> Initial support for MCAP
cap.c
cap.h
cap_lib.h