summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/protocol/nokia/phonet.h
Unidiff
Diffstat (limited to 'gammu/emb/common/protocol/nokia/phonet.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/common/protocol/nokia/phonet.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/gammu/emb/common/protocol/nokia/phonet.h b/gammu/emb/common/protocol/nokia/phonet.h
new file mode 100644
index 0000000..2f6e836
--- a/dev/null
+++ b/gammu/emb/common/protocol/nokia/phonet.h
@@ -0,0 +1,35 @@
1/* (c) 2002-2003 by Marcin Wiacek */
2/* based on some work from Gnokii */
3
4#ifndef PHONET_h
5#define PHONET_h
6
7#include "../protocol.h"
8
9 #define PHONET_FRAME_ID 0x14
10 #define PHONET_BLUE_FRAME_ID0x19
11 #define PHONET_DEVICE_PHONE 0x00 /* Nokia mobile phone */
12 #define PHONET_DEVICE_PC 0x0c /* Our PC */
13#define PHONET_BLUE_DEVICE_PC 0x10 /* Our PC */
14
15typedef struct {
16 int MsgRXState;
17 GSM_Protocol_MessageMsg;
18} GSM_Protocol_PHONETData;
19
20#if defined(GSM_ENABLE_IRDAPHONET)
21# ifndef GSM_USED_IRDADEVICE
22# define GSM_USED_IRDADEVICE
23# endif
24#endif
25#if defined(GSM_ENABLE_BLUEPHONET)
26# ifndef GSM_USED_BLUETOOTHDEVICE
27# define GSM_USED_BLUETOOTHDEVICE
28# endif
29#endif
30
31#endif
32
33/* How should editor hadle tabs in this file? Add editor commands here.
34 * vim: noexpandtab sw=8 ts=8 sts=8:
35 */