summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/phone/nokia/dct4/dct4func.h
Unidiff
Diffstat (limited to 'gammu/emb/common/phone/nokia/dct4/dct4func.h') (more/less context) (show whitespace changes)
-rw-r--r--gammu/emb/common/phone/nokia/dct4/dct4func.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gammu/emb/common/phone/nokia/dct4/dct4func.h b/gammu/emb/common/phone/nokia/dct4/dct4func.h
new file mode 100644
index 0000000..ad802e8
--- a/dev/null
+++ b/gammu/emb/common/phone/nokia/dct4/dct4func.h
@@ -0,0 +1,30 @@
1/* (c) 2002-2003 by Marcin Wiacek */
2
3#ifndef dct4func_h
4#define dct4func_h
5
6#include "../ncommon.h"
7#include "../../../service/sms/gsmsms.h"
8
9typedef enum {
10 DCT4_MODE_NORMAL = 0x01,
11 DCT4_MODE_TEST = 0x04,
12 DCT4_MODE_LOCAL = 0x05
13} DCT4_PHONE_MODE;
14
15GSM_Error DCT4_ReplyGetPhoneMode (GSM_Protocol_Message msg, GSM_StateMachine *s);
16GSM_Error DCT4_ReplySetPhoneMode (GSM_Protocol_Message msg, GSM_StateMachine *s);
17 GSM_Error DCT4_ReplyGetIMEI (GSM_Protocol_Message msg, GSM_StateMachine *s);
18
19 GSM_Error DCT4_GetPhoneMode (GSM_StateMachine *s);
20 GSM_Error DCT4_SetPhoneMode (GSM_StateMachine *s, DCT4_PHONE_MODE mode);
21 GSM_Error DCT4_GetIMEI (GSM_StateMachine *s);
22 GSM_Error DCT4_GetHardware (GSM_StateMachine *s, char *value);
23 GSM_Error DCT4_GetProductCode (GSM_StateMachine *s, char *value);
24 GSM_Error DCT4_Reset (GSM_StateMachine *s, bool hard);
25
26#endif
27
28/* How should editor hadle tabs in this file? Add editor commands here.
29 * vim: noexpandtab sw=8 ts=8 sts=8:
30 */