
Dialogic
®
System Release 6.1 CompactPCI for Windows
®
Release Update 80
ipm_ResetChannel( )
reset an IP Media channel
Description
The ipm_ResetChannel( ) function resets an IP Media channel.
The ipm_ResetChannel( ) function supports both synchronous and asynchronous operation
modes:
• In synchronous mode, successful completion of the ipm_ResetChannel( ) function is
indicated by a return value of 0. Operation failure is indicated by a return value of -1.
• In asynchronous mode, the ipm_ResetChannel( ) function returns 0 to indicate that the
operation was initiated successfully. This is supplemented by the delivery of an
IPMEV_RESET event on successful completion of the operation. Failure to initiate the reset
operation initiation is indicated when the ipm_ResetChannel( ) function returns -1. If the
Name: int ipm_ResetChannel(nDeviceHandle, eResetMode, usMode)
Inputs: int nDeviceHandle
• IP Media device handle
eIPM_RESET_MODE eResetMode
• reset mode
unsigned short usMode
• async or sync mode setting
Returns: 0 on success
-1 on failure
Includes: srllib.h
ipmlib.h
Category: System Control
Mode: asynchronous or synchronous
Platform: DM/IP
Parameter Description
nDeviceHandle handle of the IP media device
eResetMode specifies the reset mode
Note: Only one value can be set at a time.
The eIPM_RESET_MODE data type is an enumeration that defines the
following values:
• RESET_CHANNEL_ALL - Reset IP Media channel to its initial state
after download. This includes resetting IP Media channel parameters
to their values after download.
• RESET_CHANNEL_STATE - Reset IP Media channel state to
IDLE. IP Media channel parameter values will be unaffected when
this reset mode is specified.
usMode operation mode
Set to EV_ASYNC for asynchronous execution or to EV_SYNC for
synchronous execution.
Comentarios a estos manuales