summaryrefslogtreecommitdiff
path: root/btio
Commit message (Collapse)AuthorAgeFilesLines
* btio: Add BtIOMode enum to be used with BT_IO_OPT_MODELuiz Augusto von Dentz2012-02-101-0/+8
|
* btio: Add L2ERTM typeLuiz Augusto von Dentz2012-02-102-0/+18
| | | | L2ERTM type uses L2CAP socket in SOCK_STREAM instead of SOCK_SEQPACKET
* btio: Remove the default security level from btioVinicius Costa Gomes2012-01-251-1/+0
| | | | | | | The default value of sec_level when setting *any* option using bt_io_set() was BT_SECURITY_MEDIUM. This was causing the security procedure being started in some situations that it should not.
* btio: Add support for getting the Encryption Key Size via btioVinicius Costa Gomes2012-01-252-0/+20
| | | | | | 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: Remove support for hciX source addressesMarcel Holtmann2012-01-171-6/+1
|
* btio: Fix byte order conversion when getting L2CAP CIDSantiago Carot-Nemesio2012-01-171-1/+1
| | | | | | The L2CAP CID is passed and received in little endian byte order through the socket interface so a conversion is in place before passing it onwards.
* btio: Fix byte order conversion when getting L2CAP PSMSantiago Carot-Nemesio2012-01-171-1/+1
| | | | | | The L2CAP PSM is passed and received in little endian byte order through the socket interface so a conversion is in place before passing it onwards.
* btio: Fix errno handling conventionAnderson Lizardo2012-01-171-6/+8
| | | | | | Variables which are assigned to the errno variable (usually called "err") should be negative, and "-err" should be used where a positive value is needed.
* btio: add BT_IO_OPT_PRIORITY optionLuiz Augusto von Dentz2012-01-172-4/+44
| | | | BT_IO_OPT_PRIORITY uses SO_PRIORITY to set the priority of the socket
* btio: Fix the return value of bt_io functionsVinicius Costa Gomes2011-07-091-6/+9
| | | | | Some bt_io methods were ignoring the value stored in errno when reporting the error to the caller.
* btio: Add workaround for not defined BT_FLUSHABLEMarcel Holtmann2011-05-271-0/+4
|
* btio: Fix unused variable warningJohan Hedberg2011-05-271-2/+4
|
* btio: Fix compilation warningAnderson Briglia2011-05-271-1/+1
| | | | | | | | | | | This patch fixes a compilation warning regarding btio/btio.c. Actually this warning seems a false positive by Ubuntu Natty GCC version. A new bug on Ubuntu bug system was opened but if you do not want to wait until it is analyzed, just apply this minor fix. btio/btio.c: In function 'bt_io_get': btio/btio.c:803:11: warning: 'flushable' may be used uninitialized in this function
* btio: Add BT_FLUSHABLE support to BtIOJohan Hedberg2011-05-272-5/+54
| | | | | | 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.
* btio: Fix error message when getting SCO connection handleLuiz Augusto von Dentz2011-05-271-2/+2
| | | | | Error message should indicate the transport correctly which is SCO not RFCOMM.
* btio: Fix email address in copyright headerMarcel Holtmann2011-01-302-2/+2
|
* btio: Get mode option for L2CAP socketsSantiago Carot-Nemesio2011-01-301-0/+3
|
* btio: Add L2CAP fixed channels supportClaudio Takahasi2011-01-302-10/+28
| | | | | Add new option BT_IO_OPT_CID to allow listen and connect using a fixed L2CAP channel for BTIO.
* bluetooth: Add Btio library for DUNZhenhua Zhang2011-01-132-0/+1396
Btio library is the low level socket API for BT RFCOMM connection. We share the same library among BlueZ, Obex and oFono. So make sure you synchronize to other two projects when you make changes to btio.[ch].