From 88b0d33b8b0b1f6ae320cfc863ca6a47fa8fec22 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 07 Aug 2004 17:24:40 +0000 Subject: Initial revision --- (limited to 'gammu/emb/common/phone/nokia/dct4/dct4func.h') 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 @@ +/* (c) 2002-2003 by Marcin Wiacek */ + +#ifndef dct4func_h +#define dct4func_h + +#include "../ncommon.h" +#include "../../../service/sms/gsmsms.h" + +typedef enum { + DCT4_MODE_NORMAL = 0x01, + DCT4_MODE_TEST = 0x04, + DCT4_MODE_LOCAL = 0x05 +} DCT4_PHONE_MODE; + +GSM_Error DCT4_ReplyGetPhoneMode (GSM_Protocol_Message msg, GSM_StateMachine *s); +GSM_Error DCT4_ReplySetPhoneMode (GSM_Protocol_Message msg, GSM_StateMachine *s); +GSM_Error DCT4_ReplyGetIMEI (GSM_Protocol_Message msg, GSM_StateMachine *s); + +GSM_Error DCT4_GetPhoneMode (GSM_StateMachine *s); +GSM_Error DCT4_SetPhoneMode (GSM_StateMachine *s, DCT4_PHONE_MODE mode); +GSM_Error DCT4_GetIMEI (GSM_StateMachine *s); +GSM_Error DCT4_GetHardware (GSM_StateMachine *s, char *value); +GSM_Error DCT4_GetProductCode (GSM_StateMachine *s, char *value); +GSM_Error DCT4_Reset (GSM_StateMachine *s, bool hard); + +#endif + +/* How should editor hadle tabs in this file? Add editor commands here. + * vim: noexpandtab sw=8 ts=8 sts=8: + */ -- cgit v0.9.0.2