The SMS object corresponds to the Short Message Service system object.
The SMS object sends events presented in the table. Procedure is started when the corresponding event occurs.
Event | Event description | Comment |
RECEIVE | Message is received | If the event doesn't occur when a message is received on the modem, you must use the ProcessFromSim registry key (see Registry keys reference guide). The message<> message parameter contains the text of the sent message. The parameter phone<> contains the phone number from which the message was sent, in the +7XXXXXXXXXX format |
List of commands and parameters for the SMS object is presented in the table:
Command—command description | Parameters | Description of parameters |
"SETUP"—settings of short message service | device<> | SMS device |
flags<> | Flags | |
message<> | Message text | |
name<> | Object name | |
phone<> | Phone number |
Properties of the SMS object are shown in the table.
Properties of the SMS object | Description of properties |
ID<> | Object ID |
PARENT_ID<> | Parent object ID |