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.

Networking functionsSMS_EnquireLinkSMS_EnquireLink—Check link state and reset idletimerThis function is used to check the state of the link to the remote SMS gatewayand to reset the idle timer that trigger a timeout and ends the link in case ofinactivity.FORMAT SMS_EnquireLink UInt32 *ConnectIdRETURNSVMS Usage: cond_valuestype: entier longaccess: lecture seulemechanism: par valeurARGUMENTSConnectIdVMS Usage: pointertype: pointer to longwordaccess: read onlymechanism: by referenceUnique connection id, initialized by the function SMS_ConnectGateway.DESCRIPTIONThis function is used to check the state of the link to the remote SMSgateway and to reset the idle timer that trigger a timeout and ends thelink in case of inactivity.By default, after one minute of inactivity, the link between the clientand server is broken by the gateway. To avoid disconnection, if the clientsoftware wish to remain connected without performing SMS operations, itmust issue SMS_EnquireLink commands at regular intervals (less than 1mn).RETURNSTATUSSMSNormalSMSErrorSMSNoVideosmsSMSLinkLostthe link to MCTEL SMS Gateway is still up.an error occured.<strong>VideoSMS</strong> is not installed on this sytem.the link to the SMS Gateway has been lost.EXAMPLES4–8

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

Saved successfully!

Ooh no, something went wrong!