Multitech SF100-G-EU Spécifications Page 87

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 126
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 86
Appendix A – Application Programming Interface (API)
87 MultiModem® iSMS System Administrator’s Guide
Sending an Action Trigger Message
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 is 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. 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 is 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. 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 are truncated.
Vue de la page 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 125 126

Commentaires sur ces manuels

Pas de commentaire