Commit Graph

10 Commits

Author SHA1 Message Date
Vinicius Costa Gomes 6549cb6346 btio: Fix the return value of bt_io functions
Some bt_io methods were ignoring the value stored in errno when
reporting the error to the caller.
2011-07-09 18:47:29 +02:00
Marcel Holtmann 9506b203e5 btio: Add workaround for not defined BT_FLUSHABLE 2011-05-27 10:21:47 -07:00
Johan Hedberg 7414d16a24 btio: Fix unused variable warning 2011-05-27 10:14:09 -07:00
Anderson Briglia ce861145f0 btio: Fix compilation warning
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
2011-05-27 10:13:53 -07:00
Johan Hedberg 478e0ec81a btio: Add BT_FLUSHABLE support to BtIO
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.
2011-05-27 10:13:32 -07:00
Luiz Augusto von Dentz 8a77254921 btio: Fix error message when getting SCO connection handle
Error message should indicate the transport correctly which is SCO
not RFCOMM.
2011-05-27 10:12:57 -07:00
Marcel Holtmann 3970e5c06b btio: Fix email address in copyright header 2011-01-30 10:56:37 +01:00
Santiago Carot-Nemesio a60d85d72c btio: Get mode option for L2CAP sockets 2011-01-30 10:55:16 +01:00
Claudio Takahasi 26de869580 btio: Add L2CAP fixed channels support
Add new option BT_IO_OPT_CID to allow listen and connect using a fixed
L2CAP channel for BTIO.
2011-01-30 10:54:41 +01:00
Zhenhua Zhang 2565d8aed6 bluetooth: Add Btio library for DUN
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].
2011-01-13 17:14:55 -06:00