GSM: GSM functions

Top  Previous  Next

The GSM / Cellular functions allow the program to interact with a cellular engine in the device.

 

 


gsmAnswer

Answers an incoming voice call.


gsmOffHook

Returns whether a voice session is active.


gsmHangup

Terminates an active voice call.


gsmIncomingCall

Checks for incoming voice calls.


gsmIncomingSMS

Checks for incoming SMS messages.


gsmConnected

Checks connection to the GSM network.


gsmSendSMS

Sends an SMS message.


gsmMakeCall

Makes a voice call.


gsmMakeCallX

Makes a voice call with extended capabilities.


gsmPower

Controls power to the GSM module.


gsmPowerLP

Controls low power to the GSM module.


gsmSetAntennaMode

Switches between internal and external antenna.


gsmGetAntennaMode

Returns which antenna is selected and which antenna is used.


gsmSignalLevel

Returns the signal level for the GSM connection.


gsmSendPDU

Sends an SMS message as a binary PDU message.


gsmIncomingPDU

Checks for incoming SMS binary PDU messages.


gsmSetListOfCallers

Sets the list of phone numbers allowed to establish a CSD session.


gsmGetListOfCallers

Gets the list of phone numbers allowed to establish a CSD session.


gsmGetIMEI

Gets the IMEI number of the GSM module.


gsmGetIMSI

Gets the IMSI number of the SIM card.


gsmGetICCID

Gets the ICCID number of the SIM card.


gsmSendDTMF

Sends a DTMF string.


gsmGetProviderList

Gets a list of GSM providers.


gsmSetProvider

Sets the GSM provider to use.


gsmSetPIN

Sets the pin code to use for the SIM card.


gsmSetSMSSCN

Sets SMS Service Center Address.


gsmHeadset

Enables a connected headset.


gsmHandsfree

Enables a connected speaker/microphone handsfree setup.


gsmHandsfreeVolume

Controls the volume of the handsfree setup.


gsmGetLAC

Gets the LAC number of the GSM module.


gsmGetCellID

Gets the Cell ID number of the GSM module.


gsmGetStatus

Returns the status for the GSM network connection.


gsmGetCurrentProvider

Gets the PLMN number of the current GSM provider.


gsmGetHomeProvider

Gets the PLMN number of the home GSM provider.


gsmGetNetworkType

Gets the type of the network (2G/3G)


gsmSetNetworkType

Sets the type of network to use.


gsmSIMPresent

Determines whether the SIM card is present.


gsmSIMLocked

Determines whether the SIM card is locked in place.


gsmModemMode

Enters dedicated modem mode where the device can be used as modem.


gsmSendFlashSMS

Sends a Flash SMS message


gsmSimSetPIN

Enables/disables the PIN code in the SIM card.


gsmSelectSIM

Selects the SIM card reader on devices with multiple SIM card readers.


gsmNetworkTime

Retrieves the current time from the GSM network.


gsmSetWakeup

Configure GSM module as wake-up source.