Gammu internals  1.38.0
OBEX phones communication
Collaboration diagram for OBEX phones communication:

Data Structures

struct  IRMC_Capability
 
struct  GSM_Phone_OBEXGENData
 

Macros

#define GSM_USED_IRDAOBEX
 
#define GSM_USED_BLUEOBEX
 

Enumerations

enum  OBEX_Service { OBEX_None = 1, OBEX_IRMC, OBEX_BrowsingFolders, OBEX_m_OBEX }
 

Functions

GSM_Error OBEXGEN_GetBinaryFile (GSM_StateMachine *s, const char *FileName, unsigned char **Buffer, size_t *len)
 
GSM_Error OBEXGEN_GetTextFile (GSM_StateMachine *s, const char *FileName, char **Buffer)
 
GSM_Error OBEXGEN_SetFile (GSM_StateMachine *s, const char *FileName, const unsigned char *Buffer, size_t Length, gboolean HardDelete)
 

Detailed Description

Generic OBEX access to phones, made addording to OBEX specification version 1.3 and IrMC specification version 1.1 as available from IrDA http://www.irda.org.

Author
Michal Cihar
Marcin Wiacek

Macro Definition Documentation

§ GSM_USED_BLUEOBEX

#define GSM_USED_BLUEOBEX

Definition at line 24 of file obexgen.h.

§ GSM_USED_IRDAOBEX

#define GSM_USED_IRDAOBEX

Definition at line 21 of file obexgen.h.

Enumeration Type Documentation

§ OBEX_Service

Service type we want to use on OBEX.

Enumerator
OBEX_None 

No specific service requested.

OBEX_IRMC 

IrMC synchronisation service.

OBEX_BrowsingFolders 

Browsing for folders.

OBEX_m_OBEX 

m-obex service for Samsung phones.

Definition at line 30 of file obexgen.h.

30  {
34  OBEX_None = 1,
38  OBEX_IRMC,
47 } OBEX_Service;
OBEX_Service
Definition: obexgen.h:30

Function Documentation

§ OBEXGEN_GetBinaryFile()

GSM_Error OBEXGEN_GetBinaryFile ( GSM_StateMachine s,
const char *  FileName,
unsigned char **  Buffer,
size_t *  len 
)

§ OBEXGEN_GetTextFile()

GSM_Error OBEXGEN_GetTextFile ( GSM_StateMachine s,
const char *  FileName,
char **  Buffer 
)

§ OBEXGEN_SetFile()

GSM_Error OBEXGEN_SetFile ( GSM_StateMachine s,
const char *  FileName,
const unsigned char *  Buffer,
size_t  Length,
gboolean  HardDelete 
)