Commit Graph

17 Commits

Author SHA1 Message Date
Johan Hedberg
b8779d2202 Revert "Ensure config.h is included by using CPPFLAGS"
This reverts commit 8a03376544.

The patch needs to be split up and the gdbus/ changes were bogus
compared to the original commit message.

Conflicts:
	Makefile.am
	Makefile.obexd
	profiles/cyclingspeed/cyclingspeed.c
	profiles/heartrate/heartrate.c
	src/error.c
2012-12-07 12:46:04 +02:00
Lucas De Marchi
8a03376544 Ensure config.h is included by using CPPFLAGS
Instead of trying to include config.h in each file over the tree and
possibly forgetting to include it, give a "-include config.h" argument
to the compiler so it's guaranteed that a) it will be included for all
source files and b) it will be the first header included.

gdbus/ directory is left out, since it would break other projects using
it.
2012-12-05 17:18:07 +02:00
Johan Hovold
870fb2619d 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).
2012-05-10 16:39:57 -07:00
Anderson Lizardo
e40bc80bf5 csr_bcsp: Fix missing errno attribution
do_command() is supposed to set errno if returning -1.
2011-11-17 13:57:53 +02:00
Wade Brown
53095459ee Add a runtime option to set the BCSP communication rate 2010-11-23 10:01:58 +01:00
Marcel Holtmann
9184e2eeb7 Update copyright information 2010-01-01 17:08:17 -08:00
Marcel Holtmann
81352f7d2d Increase BCSP timeout for setup and transaction 2009-05-10 09:32:09 -07:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Marcel Holtmann
d048c324b3 Fix BCSP sent/receive handling 2008-07-11 06:45:36 +00:00
Marcel Holtmann
e823c15e43 Update copyright information 2008-02-02 03:37:05 +00:00
Marcel Holtmann
607695ed10 Update copyright information 2007-01-13 17:48:12 +00:00
Marcel Holtmann
b102348e98 Fix declared with attribute warn_unused_result errors 2006-07-26 13:32:44 +00:00
Marcel Holtmann
f2e48c44a7 Update copyright information 2006-01-03 13:28:56 +00:00
Marcel Holtmann
138621bf2d Add MicroBCSP implementation 2005-12-02 19:34:29 +00:00
Marcel Holtmann
9c4ddbfafa Add support for using the uBCSP implementation 2005-11-11 22:49:28 +00:00
Marcel Holtmann
d3d625a0e1 Add basic device initialization 2005-11-11 21:13:25 +00:00
Marcel Holtmann
016c7033f4 Add skeletons for BCSP and H4 transports 2005-11-10 21:05:14 +00:00