Gammu internals  1.38.0
phonet.h
Go to the documentation of this file.
1 /* (c) 2002-2003 by Marcin Wiacek */
2 /* Based on some work from Gnokii (www.gnokii.org)
3  * (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot
4  * GNU GPL version 2 or later
5  */
6 /* Due to a problem in the source code management, the names of some of
7  * the authors have unfortunately been lost. We do not mean to belittle
8  * their efforts and hope they will contact us to see their names
9  * properly added to the Copyright notice above.
10  * Having published their contributions under the terms of the GNU
11  * General Public License (GPL) [version 2], the Copyright of these
12  * authors will remain respected by adhering to the license they chose
13  * to publish their code under.
14  */
15 
16 #ifndef PHONET_h
17 #define PHONET_h
18 
19 #include "../protocol.h"
20 
21 #define PHONET_FRAME_ID 0x14
22 #define PHONET_BLUE_FRAME_ID 0x19
23 #define PHONET_DKU2_FRAME_ID 0x1b
24 #define PHONET_DEVICE_PHONE 0x00 /* Nokia mobile phone */
25 #define PHONET_DEVICE_PC 0x0c /* Our PC */
26 #define PHONET_BLUE_DEVICE_PC 0x10 /* Our PC */
27 
28 typedef struct {
31  unsigned char frame_id, device_pc, device_phone;
33 
34 #if defined(GSM_ENABLE_IRDAPHONET)
35 # ifndef GSM_USED_IRDADEVICE
36 # define GSM_USED_IRDADEVICE
37 # endif
38 #endif
39 #ifndef GSM_USED_USBDEVICE
40 # define GSM_USED_USBDEVICE
41 #endif
42 #if defined(GSM_ENABLE_BLUEPHONET)
43 # ifndef GSM_USED_BLUETOOTHDEVICE
44 # define GSM_USED_BLUETOOTHDEVICE
45 # endif
46 #endif
47 
48 #endif
49 
50 /* How should editor hadle tabs in this file? Add editor commands here.
51  * vim: noexpandtab sw=8 ts=8 sts=8:
52  */
GSM_Protocol_Message Msg
Definition: phonet.h:30
unsigned char frame_id
Definition: phonet.h:31