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;
25 constant
int ERR_SIM_PROBLEM = 8;
70 valueobject SimSecurityStatusChangedEvent extends
idl.Event {
77 valueobject SimPinUpdatedEvent extends
idl.Event {
96 int setSettings(in
Settings settings);
110 int sendSms(in
string recipient, in
string text);
126 int sendTestSms(in
string recipient, in
Settings testSettings);
152 int getInformationWithPin(in
string pin, out
Information info);
176 int unlockSimCard(in
string puk, in
string newPin);
PUK and new PIN must be entered to unlock the SIM card.
Definition: GsmModem.idl:33
string pin
PIN of the SIM card.
Definition: GsmModem.idl:42
Interface for communication with a GSM modem attached to a serial port.
Definition: GsmModem.idl:13
SIM card is unlocked.
Definition: GsmModem.idl:31
Serial Ports.
Definition: AnalogModem.idl:7
PIN must be entered to unlock the SIM card.
Definition: GsmModem.idl:32
Basic IDL definitions.
Definition: Event.idl:6
Structure for holding settings of the GSM modem and its SIM card.
Definition: GsmModem.idl:41
SimSecurityStatus
Possible security states the sim card can be in at a given time.
Definition: GsmModem.idl:30
string smsc
Custom SMS center number (in ITU-T E.164 format), leave empty to use number stored on SIM card...
Definition: GsmModem.idl:43