...
Code Block | ||||
---|---|---|---|---|
| ||||
<gsm imei="123456" state="normal" pin="1111" status="registered, home network" signal="54%" operator="Aqua3" allowed="+65214567788 +32154897744" smsc="59537322611" >
<sms_list>
<sms id="2545109407" to="+65214567788" text="test message 1" status="failed" date="1563176384" />
<sms id="3784153937" to="+98521141100" text="test message A" status="pending" date="1563176803" />
<sms id="1598774555" to="+98521563322" text="test message 3" status="sent" date="1563177201" />
</sms_list>
</gsm> |
...
- gsm - SGM modem settings and status;
- imei - IMEI unique code;
- state - state of modem (alarm, normal, not connected);
- pin - SIM's PIN code;
- allowed - list of numbers from which SMS commands are allowed, separator - space (example: +72224443434, +72224443435);
- smsc - the number of the SMS center, this field is empty if the number is determined automatically;
- status - network registration status string;
- signal - signal strength in the network string;
- operator - current operator name.
- imei - IMEI unique code;
- sms_list - queue of sent SMS;
- sms - SMS in the queue:
- id - identifier of SMS in the queue;
- status - SMS status:
- pending - added to the queue, waiting for sending;
- failed - could not be sent;
- send - sent.
- to - phone number of the SMS's recipient;
- text - SMS text;
- date - the time when added to the queue in UTS.
- id - identifier of SMS in the queue;
- sms - SMS in the queue:
...