Gammu internals  1.38.0
fbus2.h
Go to the documentation of this file.
1 /* (c) 2002-2003 by Marcin Wiacek */
2 /* based on some work from MyGnokii (www.mwiacek.com) */
3 /* Based on some work from Gnokii (www.gnokii.org)
4  * (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot
5  * GNU GPL version 2 or later
6  */
7 /* Due to a problem in the source code management, the names of some of
8  * the authors have unfortunately been lost. We do not mean to belittle
9  * their efforts and hope they will contact us to see their names
10  * properly added to the Copyright notice above.
11  * Having published their contributions under the terms of the GNU
12  * General Public License (GPL) [version 2], the Copyright of these
13  * authors will remain respected by adhering to the license they chose
14  * to publish their code under.
15  */
16 
17 #ifndef fbus2_h
18 #define fbus2_h
19 
20 #include "../protocol.h"
21 
22 #define FBUS2_IRDA_FRAME_ID 0x1c
23 #define FBUS2_FRAME_ID 0x1e
24 #define FBUS2_DEVICE_PHONE 0x00 /* Nokia mobile phone */
25 #define FBUS2_DEVICE_PC 0x0c /* Our PC */
26 #define FBUS2_ACK_BYTE 0x7f /* Acknowledge of the received frame */
27 
28 #define FBUS2_MAX_TRANSMIT_LENGTH 120
29 
30 typedef struct {
37 
38 #ifndef GSM_USED_SERIALDEVICE
39 # define GSM_USED_SERIALDEVICE
40 #endif
41 #if defined(GSM_ENABLE_BLUEFBUS2)
42 # ifndef GSM_USED_BLUETOOTHDEVICE
43 # define GSM_USED_BLUETOOTHDEVICE
44 # endif
45 #endif
46 
47 #endif
48 
49 /* How should editor hadle tabs in this file? Add editor commands here.
50  * vim: noexpandtab sw=8 ts=8 sts=8:
51  */
GSM_Protocol_Message Msg
Definition: fbus2.h:35
GSM_Protocol_Message MultiMsg
Definition: fbus2.h:34