www.beck-ipc.com

GMLib - C API Documentation


These are the GM0x API functions, listed in several functionality groups.

Important notes:
  • All functions are in general not reentrant and threadsafe.


Status / Initialization

Functions needed for initialization, status information, or mode changes

gmInit
gmInitExt
gmDeInit
gmEnableDTR
gmWriteBaudRate
gmSendAT
gmGetATLineWithTimeout
gmGetATLine
gmSimpleAT
gmLogon
gmReadRevision
gmReadIMEI
gmResetState
gmLibVersion


PPP

Functions for PPP GSM and GPRS connections

gmPPPGPRSOpen
gmPPPGPRSOpenExt
gmPPPGPRSClose
gmPPPGSMOpen
gmPPPGSMOpenExt
gmPPPGSMClose
gmDCDstate
gmPPPGetIPConfiguration
gmPPPGetClientStatus


Clock

Functions for the internal clock of the GM0x

gmReadTime
gmWriteTime


Storage

Functions for handling the internal storage of GM0x and the SIM card

gmInitBlockStorage
gmSetPhonebookDelay
gmGetPhonebookDelay
gmBlockdelete
gmBlockwrite
gmBlockread


Network

Functions for retrieving network data

gmReadNetworkRSSI
gmReadNetworkRegistrationStatus
gmReadGPRSNetworkRegistration
gmReadPacketDataService
gmReadNetworkOperators
gmSetNetworkOperator


SIM PIN

Functions for SIM PIN and SIM PUK handling

gmReadPINStatus
gmWritePIN
gmWritePUK


SMS

Functions for handling SMS

gmGetNextMessage
gmGetNextMessageExt
gmSendSMSText
gmSendSMSTextExt
gmWriteTerminalCharacterSet
gmStartSMSTask


GPS

Functions for retrieving GPS data

gmSetGPSAntennaMode
gmGetGPSLocation


MUX

Functions for RS232 multiplexing

gmMuxOpen
gmMuxClose


Helping types

These enums contain possible values for different parameters in gmlib functions. For easy mapping of enum and corresponding parameter name the enum name has a "gm" before the parameter name and the first letter of the parameter name becomes a capital.
for example: enum gmTerminalCharacterSet contains possible values for parameter TerminalCharacterSet

gmTerminalCharacterSet
gmPPPAuthentication
gmPPPSetGateway
gmDCDConnection
gmStorageDestination


Return values, structs and prototypes

Symbolic links for the return values of the gmlib

gmInitParameters
SMSCallback


Return values


End of document