Imported gammu 0.90.7
[gammu.git] / common / phone / nokia / dct4 / dct4func.h
bloba757ef28d122610294829d6d71071ed85b5c2453
2 #ifndef dct4func_h
3 #define dct4func_h
5 #include "../ncommon.h"
6 #include "../../../service/sms/gsmsms.h"
8 typedef enum {
9 DCT4_MODE_NORMAL = 0x01,
10 DCT4_MODE_TEST = 0x04,
11 DCT4_MODE_LOCAL = 0x05
12 } DCT4_PHONE_MODE;
14 GSM_Error DCT4_ReplyGetPhoneMode (GSM_Protocol_Message msg, GSM_StateMachine *s);
15 GSM_Error DCT4_ReplySetPhoneMode (GSM_Protocol_Message msg, GSM_StateMachine *s);
16 GSM_Error DCT4_ReplyGetIMEI (GSM_Protocol_Message msg, GSM_StateMachine *s);
18 GSM_Error DCT4_GetPhoneMode (GSM_StateMachine *s);
19 GSM_Error DCT4_SetPhoneMode (GSM_StateMachine *s, DCT4_PHONE_MODE mode);
20 GSM_Error DCT4_GetIMEI (GSM_StateMachine *s);
21 GSM_Error DCT4_GetHardware (GSM_StateMachine *s, char *value);
22 GSM_Error DCT4_GetProductCode (GSM_StateMachine *s, char *value);
23 GSM_Error DCT4_Reset (GSM_StateMachine *s, bool hard);
25 #endif
27 /* How should editor hadle tabs in this file? Add editor commands here.
28 * vim: noexpandtab sw=8 ts=8 sts=8: