1 #ifndef __GSMMODEM_IDL__ 2 #define __GSMMODEM_IDL__ 17 constant
int SUCCESS = 0;
18 constant
int ERR_INVALID_VALUE = 1;
19 constant
int ERR_WRONG_PIN = 2;
20 constant
int ERR_SMS_SEND_FAILED = 3;
21 constant
int ERR_COMMUNICATION_FAILURE = 4;
22 constant
int ERR_SIM_LOCKED = 5;
23 constant
int ERR_WRONG_SIM_STATUS = 6;
24 constant
int ERR_WRONG_PUK = 7;
69 valueobject SimSecurityStatusChangedEvent extends
idl.Event {
76 valueobject SimPinUpdatedEvent extends
idl.Event {
95 int setSettings(in
Settings settings);
109 int sendSms(in
string recipient, in
string text);
125 int sendTestSms(in
string recipient, in
Settings testSettings);
151 int getInformationWithPin(in
string pin, out
Information info);
175 int unlockSimCard(in
string puk, in
string newPin);
PUK and new PIN must be entered to unlock the SIM card.
Definition: GsmModem.idl:32
Structure for holding settings of the GSM modem and its SIM card.
Definition: GsmModem.idl:40
Interface for communication with a GSM modem attached to a serial port.
Definition: GsmModem.idl:13
Serial Ports.
Definition: AnalogModem.idl:7
Basic IDL definitions.
Definition: Event.idl:6
string pin
PIN of the SIM card.
Definition: GsmModem.idl:41
SimSecurityStatus
Possible security states the sim card can be in at a given time.
Definition: GsmModem.idl:29
PIN must be entered to unlock the SIM card.
Definition: GsmModem.idl:31
string smsc
Custom SMS center number (in ITU-T E.164 format), leave empty to use number stored on SIM card...
Definition: GsmModem.idl:42
SIM card is unlocked.
Definition: GsmModem.idl:30