Commit Graph

40 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
Anderson Lizardo
69e73aeffe lib: Fix tab misuse 2012-05-10 16:42:39 -07:00
Vinicius Costa Gomes
f7a79ac1fc lib: Fix using old-style initializers 2012-02-14 14:27:46 +02:00
Bruna Moreira
cef8838500 Use HCI_MAX_EIR_LENGTH instead of hard-coded value 2011-04-27 16:25:02 -07:00
Marco Sinigaglia
39454251ef Adjust LE command timeout and API
The timeout value has been hardcoded on hci_send_req call and, instead,
it should be passed from above (for ex from hci_le_set_scan_enable).
This patch removes the hardcoded value from hci_send_req and it
increases the timeout to 1000ms.
2011-03-10 11:11:17 +02:00
Arun Kumar Singh
5292112420 hcitool: Add command to clear LE White List 2011-03-01 16:16:42 -03:00
Arun Kumar Singh
fc10b2c6f1 hcitool: Add command to read size of LE White List 2011-03-01 16:16:40 -03:00
Arun Kumar Singh
d68ff374da hcitool: Add command to remove a device from LE white list 2011-03-01 16:16:38 -03:00
Arun Kumar Singh
265059a149 hcitool: Add command to add a device to LE White List 2011-03-01 16:16:35 -03:00
Claudio Takahasi
5edfc482ca Add hci utility function to change LE connection parameters 2011-02-23 00:27:20 -03:00
Michal Labedzki
ed2c65ad9d Coding style fixes for lib and tools 2010-12-21 10:50:59 +02:00
Marcel Holtmann
9b8f96b565 Change controller type to be either BR/EDR or AMP 2010-08-09 17:47:25 -04:00
Vinicius Costa Gomes
71716c2a00 Add handle and timeout parameters to hci_le_create_conn
Now hci_le_create_conn is more consistent with hci_create_conn, both
have a handle out parameter and a timeout.
2010-07-12 20:11:43 -03:00
Vinicius Costa Gomes
6cd591344b Add the hci_le_create_conn command to libbluetooth
This is the first step in the direction of communicating with
a LE device. This creates a low level (Link Layer) connection
to a connectable device.
2010-07-08 21:05:36 -03:00
Vinicius Costa Gomes
0e20e20eeb Add support for LE Events to libbluetooth
Now we can receive and deal with LE Events, which are encoded inside
a LE Meta Event, using the low-level libbluetooth.
2010-07-08 21:05:36 -03:00
Marcel Holtmann
2b51300a68 Add proper LE_ prefix to some HCI constants 2010-07-08 11:49:01 -03:00
Marcel Holtmann
0d05a3c0e4 Fix some of the LE OGF and OCF constant names 2010-07-08 11:47:14 -03:00
Vinicius Costa Gomes
504876483a Add enough LE commands to start LE Scan
This adds commands to enable LE Scan and set its parameters.
2010-07-06 20:17:38 -03:00
Jose Antonio Santos Cadenas
078185a230 Remove extra spaces at end of line in lib dir 2010-05-07 01:47:54 +03:00
Marcel Holtmann
372a952dab Fix accidental hci_read_inquiry_transmit_power_level symbol breakage 2010-02-13 14:16:51 -08:00
Marcel Holtmann
4aa4bdb16a Add helper functions for controller type string conversion 2010-02-13 02:21:29 +01:00
Marcel Holtmann
c886503a79 Fix another fallout from Inquiry Response Transmit Power Level typo 2010-02-05 19:52:59 -08:00
Marcel Holtmann
ed9e3ff848 Fix my stupid typo with Read Inquiry Response Transmit Power Level 2010-02-05 10:31:50 -08:00
Marcel Holtmann
9184e2eeb7 Update copyright information 2010-01-01 17:08:17 -08:00
Marcel Holtmann
620892f621 Add command values from Bluetooth 4.0 specification 2009-12-17 22:08:16 -08:00
Marcel Holtmann
89b20242bc Add LMP features for Low Energy support 2009-12-17 21:52:23 -08:00
Marcel Holtmann
de2a487b40 Add version value for Bluetooth 4.0 2009-12-17 18:51:21 -08:00
Marcel Holtmann
36e9ad2dc5 Add missing command values from Bluetooth 3.0 specification 2009-10-07 20:57:41 +02:00
Marcel Holtmann
d1019ccb75 Add value for Read Encryption Key Size command constant 2009-10-07 20:49:22 +02:00
Marcel Holtmann
2e94a075f3 Add feature definition for Enhanced Power Control 2009-10-07 20:44:06 +02:00
Marcel Holtmann
a5b1e3d02c Switch to a full non-recursive build system 2009-08-23 00:40:59 -07:00
Marcel Holtmann
5c623a59d9 Add version value for Bluetooth 3.0 2009-04-21 14:03:06 +01:00
Marcel Holtmann
97b1491ba3 Fix signed/unsigned integer comparison 2009-01-29 17:23:53 +01:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Marcel Holtmann
e1d77b681e Use different variables for option and read buffer lengths 2008-12-23 03:46:04 +01:00
Marcel Holtmann
8772b6de43 Handle specific NULL pointer cases for features requests 2008-09-29 02:48:17 +02:00
Marcel Holtmann
e54f7d3c08 Remove unused HCI definitions 2008-08-06 04:33:14 +02:00
Marcel Holtmann
8bb2cf1165 Remove deprecated hci_local_name and hci_remote_name functions 2008-08-06 01:51:36 +02:00
Marcel Holtmann
b8e5fea8d3 Move library source to lib directory 2008-07-26 18:45:23 +02:00