
#ifndef phone_common2_h
#define phone_common2_h

#include "../service/gsmsms.h"

extern GSM_SMSMessageLayout PHONE_SMSSubmit;
extern GSM_SMSMessageLayout PHONE_SMSDeliver;
extern GSM_SMSMessageLayout PHONE_SMSStatusReport;

GSM_Error PHONE_GetSMSFolders		(GSM_StateMachine *s, GSM_SMSFolders *folders);

void 	  GSM_CreateFirmwareNumber	(GSM_Phone_Data *Data);

GSM_Error PHONE_EncodeSMSFrame		(GSM_StateMachine *s, GSM_SMSMessage *SMS, unsigned char *buffer, GSM_SMSMessageLayout Layout, int *length, bool clear);

GSM_Error PHONE_Terminate		(GSM_StateMachine *s);

GSM_Error PHONE_RTTLPlayOneNote		(GSM_StateMachine *s, GSM_RingNote note, bool first);

GSM_Error PHONE_Beep			(GSM_StateMachine *s);

#endif
