author | zautrix <zautrix> | 2004-08-07 17:24:40 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-07 17:24:40 (UTC) |
commit | 88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22 (patch) (unidiff) | |
tree | 6331418973714243beb674abc87692277b83869d /gammu/emb/common/protocol/nokia/mbus2.h | |
parent | ef8a09ce74ad3f0a51484d03fdf009bd5b3677bf (diff) | |
download | kdepimpi-88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22.zip kdepimpi-88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22.tar.gz kdepimpi-88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22.tar.bz2 |
Initial revision
Diffstat (limited to 'gammu/emb/common/protocol/nokia/mbus2.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | gammu/emb/common/protocol/nokia/mbus2.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gammu/emb/common/protocol/nokia/mbus2.h b/gammu/emb/common/protocol/nokia/mbus2.h new file mode 100644 index 0000000..86fcab6 --- a/dev/null +++ b/gammu/emb/common/protocol/nokia/mbus2.h | |||
@@ -0,0 +1,28 @@ | |||
1 | /* (c) 2001-2003 by Marcin Wiacek */ | ||
2 | /* based on some work from MyGnokii */ | ||
3 | |||
4 | #ifndef mbus2_h | ||
5 | #define mbus2_h | ||
6 | |||
7 | #include "../protocol.h" | ||
8 | |||
9 | #define MBUS2_FRAME_ID 0x1f | ||
10 | #define MBUS2_DEVICE_PHONE 0x00 /* Nokia mobile phone */ | ||
11 | #define MBUS2_DEVICE_PC 0x10 /* Our PC (MBUS) */ | ||
12 | #define MBUS2_ACK_BYTE 0x7f /* Acknowledge of the received frame */ | ||
13 | |||
14 | typedef struct { | ||
15 | int MsgSequenceNumber; | ||
16 | int MsgRXState; | ||
17 | GSM_Protocol_MessageMsg; | ||
18 | } GSM_Protocol_MBUS2Data; | ||
19 | |||
20 | #ifndef GSM_USED_SERIALDEVICE | ||
21 | # define GSM_USED_SERIALDEVICE | ||
22 | #endif | ||
23 | |||
24 | #endif | ||
25 | |||
26 | /* How should editor hadle tabs in this file? Add editor commands here. | ||
27 | * vim: noexpandtab sw=8 ts=8 sts=8: | ||
28 | */ | ||