2N PRI Gateways - User Manual User Manual

Page 91

Advertising
background image

!! Preliminary version of user guide v1.8 !!

!! Preliminary version of user guide v1.8 !!

89

status confirmations saved on SIM card. Possible
answers:: *smserr (busy,list) or *smsinc (ix=1..255) for
each saved SMS or status SMS , end of list or empty SIM
card - *smsinc (ix=0).

AT^SR=ch,ix

…(sms read) request to read SMS message or SMS
status saved on SIM card. Possible answers: *smserr
(busy,read) or *smspdu

AT^SD=ch,ix

…(sms delete) request to delete SMS message (or SMS
status message). Possible answers: *smserr (busy,delete)
or *smsdel

AT^SM=ch,len,pdu,csu
m

…(sms to module) request to send message via GSM
module 0..31 or via any GSM module (ch=32). Possible
answers: *smserr (busy, write) or *smsout

AT^SG=grp,len,pdu,cs
um

…(sms to group) request to send SMS message via GSM
group 1..8. Possible answers: *smserr (busy, write) or
*smsout

Messages from PRIGW unit

*smsinc: ch,ix,sts

… SMS message was received and saved to SIM card:

Ch

…GSM module number 0..31

Ix

…index number of saved SMS messages 0..255

Sts

…status of SMS message

*smsrep: ch,ix

…SMS status confirmation was received and saved to SIM card (this
message is only for GSM modules TC35 and GM47)

*smsout: ch,ix,ref

…SMS message was sent and didn’t saved to SIM card:

Ref

…reference number of sent SMS 0..255 (will be used in SMS

status confirmation message)

*smspdu:
ch,ix,sts,len,pdu,csum

…content of SMS message from status confirmation:

Len

…length of SMS message (number of bytes in pdu)

Pdu

…content message in PDU format

Csum …Checksum of all PDU bytes (2 hexa digits)

calculated without carry

*smsdel: ch,ix

SMS message or status confirmation was deleted from position ix

*smserr: ch,ix,req,err

response to error command:

Req

…required GSM module or GSM group

Err

…error code (6=busy, 40=write, 41=read, 42=delete,
43=list)

Advertising