Appendix A – Application Programming Interface (API)
HTTP Query Request using browser:
http://192.168.2.1:81/querycount?user=admin&passwd=admin
TCP Query Request:
/querycount?user=admin&passwd=admin
Successful responses for the query count are in the following format:
Count: Value
'Value' gives the number of unread messages.
Error responses for the above commands are in the following format:
Err: error code
Error Codes
Error Code
Error Description
601
Authentication Failed
602
Parse Error
604
Filtering with SMS Text whose message size is greater than
280 chars (70 * 4 for Unicode is the maximum possible size of
the SMS received by the MultiModem iSMS wireless modem)
605
Recipient Overflow
608
Server Busy
616
Invalid Time/Date Input
617
Invalid Count Input
618
Service Not Available
619
Invalid Addressee
Query for number of unread messages (querycount?)
Examples:
HTTP:
Get /querycount?user=admin&passwd=adminHTTP/1.1\r\n
HTTP Query Request using browser:
http://192.168.2.1:81/querycount?user=admin&passwd=admin
TCP:
/querycount?user=admin&passwd=admin\r\n
TCP Query Request:
/querycount?user=admin&passwd=admin
MultiModem® iSMS System Administrator's Guide
Response to
Send API, Query API, Receive
API
Send API, Query API, Receive
API
Receive API
Send API, Receive API
Send API, Receive API
Receive API
Receive API
Receive API
Receive API
108