| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This adds support to create objects that map to ISO sockets.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This adds BT_IO_MODE_EXT_FLOWCTL which directly maps to
BT_MODE_EXT_FLOWCTL.
|
|
|
|
|
| |
This adds BT_IO_PHY option which can be used to read the underline
packet types/PHY in use by the link layer.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Now that pairing is done through mgmt this support is no-longer needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
L2ERTM type uses L2CAP socket in SOCK_STREAM instead of SOCK_SEQPACKET
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
BT_IO_OPT_PRIORITY uses SO_PRIORITY to set the priority of the socket
|
|
|
|
|
|
| |
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 new option BT_IO_OPT_CID to allow listen and connect using a fixed
L2CAP channel for BTIO.
|
|
Seperate btio.[ch] from src directory to btio sub-folder.
|