Gammu internals  1.38.0
m-obex phones communication
Collaboration diagram for m-obex phones communication:

Functions

GSM_Error MOBEX_GetStatus (GSM_StateMachine *s, const char *path, unsigned char type, int *free_records, int *used)
 
GSM_Error MOBEX_CreateEntry (GSM_StateMachine *s, const char *path, unsigned char type, int *location, const char *data)
 
GSM_Error MOBEX_UpdateEntry (GSM_StateMachine *s, const char *path, const int location, unsigned char type, const char *data)
 
GSM_Error MOBEX_GetMemory (GSM_StateMachine *s, GSM_MemoryEntry *Entry)
 
GSM_Error MOBEX_GetNextMemory (GSM_StateMachine *s, GSM_MemoryEntry *Entry, gboolean start)
 
GSM_Error MOBEX_GetCalendar (GSM_StateMachine *s, GSM_CalendarEntry *Entry)
 
GSM_Error MOBEX_GetTodo (GSM_StateMachine *s, GSM_ToDoEntry *Entry)
 
GSM_Error MOBEX_GetNextCalendar (GSM_StateMachine *s, GSM_CalendarEntry *Entry, gboolean start)
 
GSM_Error MOBEX_GetNextTodo (GSM_StateMachine *s, GSM_ToDoEntry *Entry, gboolean start)
 

Detailed Description

Implementation of m-obex protocol used by Samsung phones.

Author
Michal Cihar

Function Documentation

§ MOBEX_CreateEntry()

GSM_Error MOBEX_CreateEntry ( GSM_StateMachine s,
const char *  path,
unsigned char  type,
int *  location,
const char *  data 
)

Creates an entry.

§ MOBEX_GetCalendar()

GSM_Error MOBEX_GetCalendar ( GSM_StateMachine s,
GSM_CalendarEntry Entry 
)

Reads calendar entry using m-obex.

§ MOBEX_GetMemory()

GSM_Error MOBEX_GetMemory ( GSM_StateMachine s,
GSM_MemoryEntry Entry 
)

Reads memory entry using m-obex.

§ MOBEX_GetNextCalendar()

GSM_Error MOBEX_GetNextCalendar ( GSM_StateMachine s,
GSM_CalendarEntry Entry,
gboolean  start 
)

Reads next calendar entry using m-obex.

§ MOBEX_GetNextMemory()

GSM_Error MOBEX_GetNextMemory ( GSM_StateMachine s,
GSM_MemoryEntry Entry,
gboolean  start 
)

Reads next memory entry using m-obex.

§ MOBEX_GetNextTodo()

GSM_Error MOBEX_GetNextTodo ( GSM_StateMachine s,
GSM_ToDoEntry Entry,
gboolean  start 
)

Reads next todo entry using m-obex.

§ MOBEX_GetStatus()

GSM_Error MOBEX_GetStatus ( GSM_StateMachine s,
const char *  path,
unsigned char  type,
int *  free_records,
int *  used 
)

Returns status of given memory.

§ MOBEX_GetTodo()

GSM_Error MOBEX_GetTodo ( GSM_StateMachine s,
GSM_ToDoEntry Entry 
)

Reads todo entry using m-obex.

§ MOBEX_UpdateEntry()

GSM_Error MOBEX_UpdateEntry ( GSM_StateMachine s,
const char *  path,
const int  location,
unsigned char  type,
const char *  data 
)

Updates an entry.