Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The SMS object sends events presented in the table. Procedure is started when the corresponding event appearsoccurs.

EventDescription

Event description

Comment

RECEIVE

Message is receivedUse

If the ProcessFromSim registry key if event is not received while message receiving (see event doesn't occur when a message is received on the modem, you must use the ProcessFromSim registry key (see Registry keys reference guide).

Text of sent message is in the message <> parameter.

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 formatThe telephone number in the +7XXXXXXXXXX  format from which message was sent is in the phone<> parameter.

List of commands and parameters for the SMS object is presented in the following 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<>

Telephone 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

...