5 #ifdef GSM_ENABLE_NOKIA3320 10 #include "../../../gsmcomon.h" 11 #include "../../../misc/coding/coding.h" 12 #include "../../../service/gsmlogo.h" 14 #include "../nfuncold.h" 15 #include "../../pfunc.h" 20 smprintf(s,
"Phonebook entry received\n");
21 if (msg->
Buffer[6] == 0x0f)
31 0x00, 0x00, 0x00, 0x00,
45 smprintf(s,
"Getting phonebook entry\n");
53 smprintf(s,
"Memory status received\n");
55 if (msg->
Buffer[14]==0x10) {
72 0x55, 0x55, 0x55, 0x00};
79 smprintf(s,
"Getting memory status\n");
85 smprintf(s,
"Date & time received\n");
86 if (msg->
Buffer[4]==0x01) {
99 smprintf(s,
"Getting date & time\n");
141 {NULL,
"\x00",0x00,0x00,
ID_None }
181 N3320_GetMemoryStatus,
249 N3320_GetCalendarStatus,
251 N3320_GetNextCalendar,
GSM_Error DCT3DCT4_GetModel(GSM_StateMachine *s)
GSM_MemoryType MemoryType
#define N6110_FRAME_HEADER
GSM_MemoryType NOKIA_GetMemoryType(GSM_StateMachine *s, GSM_MemoryType memory_type, unsigned char *ID)
GSM_Error N71_65_GetCalendarInfo1(GSM_StateMachine *s, GSM_NOKIACalToDoLocations *LastCalendar)
GSM_Error GSM_DispatchMessage(GSM_StateMachine *s)
GSM_Error DCT3DCT4_GetFirmware(GSM_StateMachine *s)
struct GSM_Phone_Data::@2 Priv
GSM_Error N71_65_ReplyGetNextCalendar1(GSM_Protocol_Message *msg, GSM_StateMachine *s)
unsigned char N71_65_MEMORY_TYPES[]
GSM_Error GSM_WaitFor(GSM_StateMachine *s, unsigned const char *buffer, size_t length, int type, int timeout, GSM_Phone_RequestID request)
GSM_Error N71_65_GetNextCalendar1(GSM_StateMachine *s, GSM_CalendarEntry *Note, gboolean start, GSM_NOKIACalToDoLocations *LastCalendar, int *LastCalendarYear, int *LastCalendarPos)
GSM_Error N71_65_DecodePhonebook(GSM_StateMachine *s, GSM_MemoryEntry *entry, GSM_Bitmap *bitmap, GSM_SpeedDial *speed, unsigned char *MessageBuffer, int MessageLength, gboolean DayMonthReverse)
GSM_Error N71_65_ReplyGetCalendarInfo1(GSM_Protocol_Message *msg, GSM_StateMachine *s, GSM_NOKIACalToDoLocations *LastCalendar)
GSM_Error DCT3DCT4_ReplyGetModelFirmware(GSM_Protocol_Message *msg, GSM_StateMachine *s)
GSM_MemoryType MemoryType
GSM_Error N71_65_ReplyGetMemoryError(unsigned char error, GSM_StateMachine *s)
GSM_Error NOKIA_GetManufacturer(GSM_StateMachine *s)
GSM_MemoryStatus * MemoryStatus
void NOKIA_DecodeDateTime(GSM_StateMachine *s, unsigned char *buffer, GSM_DateTime *datetime, gboolean seconds, gboolean DayMonthReverse)
GSM_SpeedDial * SpeedDial
int smprintf(GSM_StateMachine *s, const char *format,...)