summaryrefslogtreecommitdiff
path: root/btio/btio.h
Commit message (Collapse)AuthorAgeFilesLines
* btio: Add support for ISO socketsLuiz Augusto von Dentz2022-07-221-1/+3
| | | | This adds support to create objects that map to ISO sockets.
* btio: Inclusive language changesArchie Pusaka2021-09-211-1/+1
| | | | | | | BT core spec 5.3 promotes the usage of inclusive languages. This CL uses "central" as it is deemed to be more appropriate. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
* btio: 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 : 2 License: GPL-2.0-or-later btio/btio.h btio/btio.c
* btio: Add mode to for Enhanced Credit ModeLuiz Augusto von Dentz2020-03-301-3/+3
| | | | | This adds BT_IO_MODE_EXT_FLOWCTL which directly maps to BT_MODE_EXT_FLOWCTL.
* btio: Add BT_IO_PHY optionLuiz Augusto von Dentz2020-02-191-0/+1
| | | | | This adds BT_IO_PHY option which can be used to read the underline packet types/PHY in use by the link layer.
* btio: Add option for SCO voice settingFrédéric Dalleau2013-08-011-0/+1
|
* btio: Add BT_IO_OPT_SOURCE_TYPE option for source bdaddr typeJohan Hedberg2013-05-171-0/+1
|
* btio: Make BtIOType privateJohan Hedberg2012-08-281-17/+7
| | | | | | Since the socket type can be inferred from the socket itself or from the PSM/Channel/CID/etc parameters provided to listen() and connect() it doesn't make sense to expose this in the BtIO API.
* btio: Remove unneeded L2CAP raw socket supportJohan Hedberg2012-08-281-1/+0
| | | | Now that pairing is done through mgmt this support is no-longer needed.
* btio: Rescue lost errorneous numbersPaulo Alcantara2012-07-241-7/+0
| | | | | | | | | | | | | | The BT_IO_ERROR_* flags are not used for anything else and we just loosing errorneous numbers set in the sockets that might be more useful for handling specific errors. A use case would be disconnect errors that should not allow BlueZ to enable auto connections since the connection would never be possible in some cases. This patch removes BT_IO_ERROR_* flags and use the errors set in the sockets instead. Now, the errors passed in connect/disconnect callbacks should contain proper error numbers passed to them.
* btio: Add address type in bt_io_connectClaudio Takahasi2012-04-251-0/+1
| | | | | | This patch adds a new BtIO option to allow setting the remote Bluetooth address type for BLE connections. Allowed values for BT_IO_OPT_DEST_TYPE option are: BDADDR_BREDR, BDADDR_LE_PUBLIC, and BDADDR_LE_RANDOM.
* btio: Add BtIOMode enum to be used with BT_IO_OPT_MODELuiz Augusto von Dentz2012-02-021-0/+8
|
* btio: Add L2ERTM typeLuiz Augusto von Dentz2012-01-311-0/+1
| | | | L2ERTM type uses L2CAP socket in SOCK_STREAM instead of SOCK_SEQPACKET
* btio: Add support for getting the Encryption Key Size via btioVinicius Costa Gomes2012-01-241-0/+1
| | | | | | Some profiles specify some restriction depending on the length of the key used to encrypt the link, this adds an way to retrieve that value from the kernel.
* btio: add BT_IO_OPT_PRIORITY optionLuiz Augusto von Dentz2011-11-041-0/+1
| | | | BT_IO_OPT_PRIORITY uses SO_PRIORITY to set the priority of the socket
* Add BT_FLUSHABLE support to BtIOJohan Hedberg2011-04-211-0/+1
| | | | | | This patch adds support for the BT_FLUSHABLE L2CAP socket option through BtIO. This can be used to mark data from specific L2CAP sockets to have the flushable flag set in their corresponding ACL packets.
* Add L2CAP fixed channels support for BTIOClaudio Takahasi2010-09-301-0/+1
| | | | | Add new option BT_IO_OPT_CID to allow listen and connect using a fixed L2CAP channel for BTIO.
* btio: Seperate btio.[ch] into btio directoryZhenhua Zhang2010-09-131-0/+97
Seperate btio.[ch] from src directory to btio sub-folder.