Multitech SF100-G-EU Specifications Page 85

  • Download
  • Add to my manuals
  • Print
  • Page
    / 126
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 84
Appendix A – Application Programming Interface (API)
85 MultiModem® iSMS System Administrator’s Guide
Sending a Broadcast Trigger Message
You can use the API to send a broadcast trigger message to the MultiModem iSMS.
HTTP API format is:
http://192.168.2.1[:portnumber]/sendmsg?user=user2&passwd=user2&cat=2[&
enc=0][&modem=5]&text=message
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user2&passwd=user2&cat=2
[&enc=2][&modem=5]&
text=message should be hexadecimal form
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user2&passwd=user2&cat=2[&enc=3][&modem=5]&text=message
should be decimal form
The parameters are:
Parameter Description
cat 2
enc Encoding type to send SMS(Optional field)
Range: 0 to 3
0 - SMS text should be in ASCII form
1 - SMS text should be in Extended ASCII form
2 - SMS text is in hexadecimal form. Each hexadecimal value length is maximum 4, and each
hexadecimal value is separated by a semi-colon. Example: 0645;41;646.
3 - SMS text is in decimal form. Each decimal Value length is maximum 5, and each decimal value is
separated by a semi-colon. Example: 1605;65;65300.
Note: Maximum decimal value allowed is 65535.
If enc is not specified in the send API request, default enc is configured to the settings of the SMS
settings page.
i.e. enc=2, if Unicode is enabled.
enc=1, if Extended ASCII is enabled.
enc=0, if both Extended ASCII and Unicode are disabled
modem Modem index to send broadcast message
Range : 1 to 4 for SF400
1 to 8 for SF800
0 for any modem (Broadcast API job is distributed using all the available modems)
If modem is not specified in the request, broadcast API job is distributed using all the available modems
If modem is specified, broadcast job is sent using the specified modem
text The trigger message text to be sent.
Enable Extended ASCII in the MultiModem iSMS to send both ASCII and extended ASCII characters.
By default, Extended ASCII is disabled, and the message can have only ASCII characters.
If Unicode is enabled (and if enc is not specified in request), SMS text is only in Hexadecimal form.
If Extended ASCII is disabled, a maximum of 160 characters can be sent.
If Extended ASCII is enabled, a maximum of 140 characters can be sent.
Page view 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 125 126

Comments to this Manuals

No comments