diff options
Diffstat (limited to 'common/glib-helper.h')
-rw-r--r-- | common/glib-helper.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/common/glib-helper.h b/common/glib-helper.h index 458d5c88..0919fe97 100644 --- a/common/glib-helper.h +++ b/common/glib-helper.h @@ -60,14 +60,15 @@ int bt_sco_connect(const bdaddr_t *src, const bdaddr_t *dst, typedef struct bt_io BtIO; typedef enum { - BT_L2CAP, - BT_RFCOMM, - BT_SCO + BT_IO_AUTO, + BT_IO_L2CAP, + BT_IO_RFCOMM, + BT_IO_SCO, } BtIOTransport; typedef enum { BT_IO_SUCCESS, - BT_IO_FAILED + BT_IO_FAILED, } BtIOError; typedef void (*BtIOFunc) (BtIO *io, BtIOError err, GIOChannel *chan, |