summaryrefslogtreecommitdiff
path: root/lib/hci.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: fix hci_strtolm crashYun-Hao Chung2022-02-151-1/+1
| | | | | | | |str| can be NULL in the case of reading lm value. Calling strcasestr could lead to a crash. Reviewed-by: Archie Pusaka <apusaka@chromium.org>
* lib: Inclusive language changesArchie Pusaka2021-09-211-12/+20
| | | | | | | | BT core spec 5.3 promotes the usage of inclusive languages. This CL replaces some terms with the more appropriate counterparts, such as "central", "peripheral", and "accept list". Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
* lib: Fix the unchecked return valueTedd Ho-Jeong An2020-11-241-2/+4
| | | | This patch fixes the unchecked return value.
* lib: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- GPL-2.0-or-later : 18 GPL-2.0-only : 1 License: GPL-2.0-or-later lib/sco.h lib/sdp.c lib/a2mp.h lib/uuid.h lib/bluetooth.h lib/hidp.h lib/rfcomm.h lib/hci.c lib/sdp.h lib/sdp_lib.h lib/bluetooth.c lib/mgmt.h lib/hci.h lib/uuid.c lib/l2cap.h lib/bnep.h lib/hci_lib.h lib/cmtp.h License: GPL-2.0-only lib/amp.h
* lib: Add identifier for VIRTIO devicesMarcel Holtmann2020-03-301-0/+2
|
* lib: Add version number for Bluetooth 5.2Marcel Holtmann2020-03-151-0/+1
|
* lib: Add version number for Bluetooth 5.1Johan Hedberg2019-01-291-0/+1
|
* build: Move declaration of _GNU_SOURCE back into individual source filesMarcel Holtmann2018-12-061-0/+1
|
* lib: Fix compiler warning from wrong array sizeMarcel Holtmann2018-05-231-1/+1
|
* lib: Add version number for Bluetooth 5.0Marcel Holtmann2017-01-291-0/+1
|
* lib: Add identifier for Qualcomm SMD busMarcel Holtmann2016-08-151-0/+2
|
* lib: Define HCI_PRIMARY and use it instead of HCI_BREDRMarcel Holtmann2016-07-041-5/+5
|
* lib: Add recently introduced SPI & I2C bus definesJohan Hedberg2016-04-221-0/+4
|
* lib: Add definitions and functions for handling LE resolving listMarcel Holtmann2014-12-171-0/+140
|
* lib: Use first HCI_UP adapter if non of them have a valid addressMarcel Holtmann2014-12-071-1/+8
|
* lib: Add check for valid device id to hci_open_devMarcel Holtmann2014-12-071-0/+6
|
* lib: Add version information for Bluetooth 4.2Marcel Holtmann2014-12-041-0/+1
|
* lib: Add function for reading remote LE featuresMarcel Holtmann2014-09-291-0/+32
|
* lib: Fix compilation error with muslSzymon Janc2014-09-241-1/+1
| | | | | | | | | | CC lib/hci.lo In file included from lib/hci.c:39:0: /usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror=cpp] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> ^ cc1: all warnings being treated as errors
* lib: Add version information for Bluetooth 4.1Marcel Holtmann2013-12-101-0/+1
|
* lib: Add special functions for PAL version mappingMarcel Holtmann2013-10-071-0/+15
|
* lib: Use SOCK_CLOEXEC where neededCristian Rodríguez2012-12-241-4/+4
| | | | | Calling programs might fork().. execve() and we will end up leaking fds.
* Revert "Ensure config.h is included by using CPPFLAGS"Johan Hedberg2012-12-071-0/+4
| | | | | | | | | | | | | | This reverts commit 8a03376544b046a84301847d1594f6c3674983ff. 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
* Ensure config.h is included by using CPPFLAGSLucas De Marchi2012-12-051-4/+0
| | | | | | | | | | 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.
* lib: Fix tab misuseAnderson Lizardo2012-05-101-1/+1
|
* lib: Fix using old-style initializersVinicius Costa Gomes2012-02-141-2/+2
|
* Use HCI_MAX_EIR_LENGTH instead of hard-coded valueBruna Moreira2011-04-271-2/+2
|
* Adjust LE command timeout and APIMarco Sinigaglia2011-03-101-6/+6
| | | | | | | 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.
* hcitool: Add command to clear LE White ListArun Kumar Singh2011-03-011-0/+22
|
* hcitool: Add command to read size of LE White ListArun Kumar Singh2011-03-011-0/+27
|
* hcitool: Add command to remove a device from LE white listArun Kumar Singh2011-03-011-0/+29
|
* hcitool: Add command to add a device to LE White ListArun Kumar Singh2011-03-011-0/+29
|
* Add hci utility function to change LE connection parametersClaudio Takahasi2011-02-231-0/+37
|
* Coding style fixes for lib and toolsMichal Labedzki2010-12-211-21/+44
|
* Change controller type to be either BR/EDR or AMPMarcel Holtmann2010-08-091-2/+2
|
* Add handle and timeout parameters to hci_le_create_connVinicius Costa Gomes2010-07-121-2/+6
| | | | | Now hci_le_create_conn is more consistent with hci_create_conn, both have a handle out parameter and a timeout.
* Add the hci_le_create_conn command to libbluetoothVinicius Costa Gomes2010-07-081-0/+45
| | | | | | 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.
* Add support for LE Events to libbluetoothVinicius Costa Gomes2010-07-081-0/+13
| | | | | Now we can receive and deal with LE Events, which are encoded inside a LE Meta Event, using the low-level libbluetooth.
* Add proper LE_ prefix to some HCI constantsMarcel Holtmann2010-07-081-3/+3
|
* Fix some of the LE OGF and OCF constant namesMarcel Holtmann2010-07-081-6/+6
|
* Add enough LE commands to start LE ScanVinicius Costa Gomes2010-07-061-0/+91
| | | | This adds commands to enable LE Scan and set its parameters.
* Remove extra spaces at end of line in lib dirJose Antonio Santos Cadenas2010-05-071-5/+5
|
* Fix accidental hci_read_inquiry_transmit_power_level symbol breakageMarcel Holtmann2010-02-131-0/+5
|
* Add helper functions for controller type string conversionMarcel Holtmann2010-02-131-2/+19
|
* Fix another fallout from Inquiry Response Transmit Power Level typoMarcel Holtmann2010-02-051-4/+4
|
* Fix my stupid typo with Read Inquiry Response Transmit Power LevelMarcel Holtmann2010-02-051-1/+1
|
* Update copyright informationMarcel Holtmann2010-01-011-1/+1
|
* Add command values from Bluetooth 4.0 specificationMarcel Holtmann2009-12-171-4/+40
|
* Add LMP features for Low Energy supportMarcel Holtmann2009-12-171-3/+3
|
* Add version value for Bluetooth 4.0Marcel Holtmann2009-12-171-0/+1
|