h324RoundTripDelay

Sends a round trip delay message to the remote terminal.

Prototype

DWORD h324RoundTripDelay ( MSPHD msphd)

Argument

Description

msphd

MSPP handle associated with the MUX endpoint.

Return values

Return value

Description

SUCCESS

 

CTAERR_NOT_FOUND

msphd was not found. Neither h324Start nor h324Delete were called.

H324ERR_INTERNAL_ERROR

Internal error in the 3G-324M Middleware.

H324ERR_MUTEX_LOCK_FAILED

Internal error trying to lock mutex.

H324ERR_NOT_INITIALIZED

h324Initialize was not called first.

Events

Event

Description

H324EVN_ROUND_TRIP_DELAY

Remote terminal responded to the round trip delay message.

H324EVN_ROUND_TRIP_TIMEOUT

Remote terminal did not respond.

Example

ret = h324RoundTripDelay( GwConfig[0].MuxEp.hd );
if ( ret != SUCCESS)
{
    printf("h324RoundTripDelay. Return code is %x\n", ret);
    return ret;
}