6 #ifndef __GSMMODEM_IDL__     7 #define __GSMMODEM_IDL__    22         constant 
int SUCCESS                   = 0; 
    23         constant 
int ERR_INVALID_VALUE         = 1; 
    24         constant 
int ERR_WRONG_PIN             = 2; 
    25         constant 
int ERR_SMS_SEND_FAILED       = 3; 
    26         constant 
int ERR_COMMUNICATION_FAILURE = 4; 
    27         constant 
int ERR_SIM_LOCKED            = 5; 
    28         constant 
int ERR_WRONG_SIM_STATUS      = 6; 
    29         constant 
int ERR_WRONG_PUK             = 7; 
    30         constant 
int ERR_SIM_PROBLEM           = 8; 
    75         valueobject SimSecurityStatusChangedEvent extends 
idl.Event {
    82         valueobject SimPinUpdatedEvent extends 
idl.Event {
    91         Settings getSettings();
   101         int setSettings(in Settings settings);
   115         int sendSms(in 
string recipient, in 
string text);
   131         int sendTestSms(in 
string recipient, in Settings testSettings);
   143         int getInformation(out Information info);
   157         int getInformationWithPin(in 
string pin, out Information info);
   167         int getSimSecurityStatus(out SimSecurityStatus simStatus);
   181         int unlockSimCard(in 
string puk, in 
string newPin);
 PUK and new PIN must be entered to unlock the SIM card. 
Definition: GsmModem.idl:38
string pin
PIN of the SIM card. 
Definition: GsmModem.idl:47
Interface for communication with a GSM modem attached to a serial port. 
Definition: GsmModem.idl:18
SIM card is unlocked. 
Definition: GsmModem.idl:36
Serial Ports. 
Definition: AnalogModem.idl:12
PIN must be entered to unlock the SIM card. 
Definition: GsmModem.idl:37
Basic IDL definitions. 
Definition: Event.idl:10
Structure for holding settings of the GSM modem and its SIM card. 
Definition: GsmModem.idl:46
SimSecurityStatus
Possible security states the sim card can be in at a given time. 
Definition: GsmModem.idl:35
string smsc
Custom SMS center number (in ITU-T E.164 format), leave empty to use number stored on SIM card...
Definition: GsmModem.idl:48