Appendix A – Application Programming Interface (API)
Command responses (continued)
Recvmsg?
Successful responses to the recvmsg? command are in the following format:
Packet_end_flag
Unread_available
Msg_Count
Msg_index_1
Number
Date
Time
Encode type
Message
Msg_index_2
Number
Date
Time
Encode type
Message
Msg_index_N
Number
Notes:
●
Packet_end_flag: 0 – More packets to continue; 1 – End of the packets.
●
Unread_available: 1 – Unread Messages available; 0 – No Unread Messages available for the request.
●
Msg_Count – Total number of messages sent in a packet.
●
N – Maximum number of messages per packet.
●
If the time is not specified in the query, default range of 24 hrs from 00:00:00 to 23:59:00 is considered.
●
If the date is not specified in the query, all unread messages are retrieved, using the time filter.
●
Encode type can be ASCII or Extended ASCII or Unicode
●
If requested number of messages is not found, the available unread messages are provided.
Error responses for the read queries are in the following format:
Err: error code [See Error Code tables in this chapter]
MultiModem® iSMS System Administrator's Guide
110
Need help?
Do you have a question about the MultiModem iSMS SF100-G and is the answer not in the manual?
Questions and answers