EasyManua.ls Logo

Multitech MultiModem iSMS SF 100-G - Page 85

Multitech MultiModem iSMS SF 100-G
118 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A Application Programming Interface (API)
Multi-Tech Systems, Inc. MultiModem® iSMS User Guide for Administrators 85
Sending an Action Trigger Message
We could use this API to perform a predefined action.
HTTP API format is:
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=user1&cat=3
[&enc=0]&text=message
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=user1&cat=3
[&enc=2]&text=message should be hexadecimal form
Example: Configured action trigger for adding preconfigured SMS as 41;42;43 (with enc=2).
Preconfigured SMS to add is 645;646;647;648 (in hexadecimal form).
In an API request, the text field should be in the format:
Configured action trigger;Preconfigured SMS
text=41;42;43;;645;646;647;648 (not correct)
text=41;42;43;3a;645;646;647;648 (correct format)
Here 3a is equivalent hexadecimal value for a semi-colon. We should use equivalent
hexadecimal value for either semi-colon or colon.
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=user1&
cat=3[&enc=3]&text=message should be decimal form.
Example: Configured action trigger for adding preconfigured SMS as 41;42;43(with enc=3).
Preconfigured SMS to add is 645;646;647;648 (in decimal form).
In an API request, the text field should be in the format:
Configured action trigger;Preconfigured SMS
text=41;42;43;;645;646;647;648 (not correct)
text=41;42;43;58;645;646;647;648 (correct format)
Here 58 is decimal equivalent value for a semi-colon. We should use equivalent decimal value
for either semi-colon or colon.
Irrespective of the spanned SMS value set, the maximum number of characters allowed in the
text field is:
160 for ASCII
140 for Extended ASCII
70 for Unicode
Any characters entered beyond the allowed limit will be chopped off.
Downloaded from Elcodis.com electronic components distributor

Table of Contents

Related product manuals