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.h | 35 |
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 @@ +/* (c) 2002-2003 by Marcin Wiacek */ +/* based on some work from Gnokii */ + +#ifndef PHONET_h +#define PHONET_h + +#include "../protocol.h" + +#define PHONET_FRAME_ID 0x14 +#define PHONET_BLUE_FRAME_ID 0x19 +#define PHONET_DEVICE_PHONE 0x00 /* Nokia mobile phone */ +#define PHONET_DEVICE_PC 0x0c /* Our PC */ +#define PHONET_BLUE_DEVICE_PC 0x10 /* Our PC */ + +typedef struct { + int MsgRXState; + GSM_Protocol_Message Msg; +} GSM_Protocol_PHONETData; + +#if defined(GSM_ENABLE_IRDAPHONET) +# ifndef GSM_USED_IRDADEVICE +# define GSM_USED_IRDADEVICE +# endif +#endif +#if defined(GSM_ENABLE_BLUEPHONET) +# ifndef GSM_USED_BLUETOOTHDEVICE +# define GSM_USED_BLUETOOTHDEVICE +# endif +#endif + +#endif + +/* How should editor hadle tabs in this file? Add editor commands here. + * vim: noexpandtab sw=8 ts=8 sts=8: + */ |