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.

SMS structuresThe units value is positive when the account if credited, negative when itis charged.The remaining_units may be filled in or left to 0.3.5 SMSReportSMSReport structure store the data relative to SMS transmissionacknowledgements (successful transmission, error, and so on.)Example 3–5SMSReport structuretypedef struct{UInt32 report_type;UInt32 msg_reference_number;Char called_number[20];Char messageID[50];SmsDateTimeType timeStamp;} SMSReport3.6 SMSUserLocation structureThis structure allows to the user location positionning information.Example 3–6 SMSUserLocation structuretypedef struct{SmsDateTimeType age; /* age of location estimate */Uint32 type; /* location type */Uint32 shape; /* location shape */Uint32 cellid; /* Global Cell Identifier the user is attached to */char latitude[8]; /* latitude */char longitude[9); /* longitude */Uint32 privacycheck; /* LCS Privacy check */Uint32 Qos; /* requested quality of service */Uint32 priority; /* priority of the request */Char NA-ESRD; /* NA Emergency Services Routing Digits (USA) */Char NA-ESRK; /* NA Emergency Services Routing Key (USA) */} SMSUserLocationThe type variable may take the following values:• 0: not applicable (the user location positioning has not beenperformed).• 1: current position.• 2: current position or last known location;3–5

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

Saved successfully!

Ooh no, something went wrong!