09.07.2015 Views

VideoSMS/Client Application Programming Interface ... - MCTel

VideoSMS/Client Application Programming Interface ... - MCTel

VideoSMS/Client Application Programming Interface ... - MCTel

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3SMS structures3.1 SMSMessageThe SMSMessage structure store the data relative to sent or receivedSMS.Example 3–1Structure SMSMessagetypedef struct{UInt32 messagetype;Char msg_reference_number[60];Char called_number[20];Char caller_number[20];Char alternate_number[20];UInt16 destPort;UInt16 srcPort;UInt32 msg_length;Uint32 msg_format;UInt32 msg_class;UInt32 msg_encoding;Uint32 msg_action;Uint32 msg_gsmflags;Uint32 msg_options;Uint32 country;Uint32 carrier;Uint32 sms_state;Uint32 sms_error;Uint32 credit_cost;SMSDateTime posted_date;char transmitted_date[18];SMSDateTime deferred_date;SMSDateTime expiration_date;Char sender_address[50];Char msg_data[500];} SMSMessage3.2 SMSSessionThe SMSSession store Premium SMS session data for interactive PremiumSMS applications. It is not used for simpler push-SMS applications.3–1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!