[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnokii/common device.c,1.32,1.33
From: |
BORBELY Zoltan <address@hidden> |
Subject: |
gnokii/common device.c,1.32,1.33 |
Date: |
Thu, 20 Nov 2003 21:10:36 +0000 |
Update of /cvsroot/gnokii/gnokii/common
In directory subversions:/tmp/cvs-serv11607/common
Modified Files:
device.c
Log Message:
Bluetooth support on Mac OSX
Index: device.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/common/device.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** device.c 28 Apr 2003 14:13:52 -0000 1.32
--- device.c 20 Nov 2003 21:10:33 -0000 1.33
***************
*** 52,59 ****
struct gn_statemachine *state)
{
- #ifdef HAVE_BLUETOOTH
- bdaddr_t bdaddr;
- #endif
-
state->device.type = device_type;
--- 52,55 ----
***************
*** 68,77 ****
state->device.fd = irda_open(state);
break;
- #ifdef HAVE_BLUETOOTH
case GN_CT_Bluetooth:
! str2ba(state->config.port_device, &bdaddr);
! state->device.fd = bluetooth_open(&bdaddr,
state->config.rfcomm_cn, state);
break;
- #endif
case GN_CT_Tekram:
state->device.fd = tekram_open(file, state);
--- 64,70 ----
state->device.fd = irda_open(state);
break;
case GN_CT_Bluetooth:
! state->device.fd = bluetooth_open(state->config.port_device,
state->config.rfcomm_cn, state);
break;
case GN_CT_Tekram:
state->device.fd = tekram_open(file, state);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnokii/common device.c,1.32,1.33,
BORBELY Zoltan <address@hidden> <=
- Prev by Date:
gnokii/common/devices bluetooth.c, NONE, 1.1 osxbluetooth.c, NONE, 1.1 Makefile, 1.10, 1.11 unixbluetooth.c, 1.9, 1.10
- Next by Date:
gnokii/include/devices osxbluetooth.h, NONE, 1.1 unixbluetooth.h, 1.5, 1.6
- Previous by thread:
gnokii/common/devices bluetooth.c, NONE, 1.1 osxbluetooth.c, NONE, 1.1 Makefile, 1.10, 1.11 unixbluetooth.c, 1.9, 1.10
- Next by thread:
gnokii/include/devices osxbluetooth.h, NONE, 1.1 unixbluetooth.h, 1.5, 1.6
- Index(es):