NET_DVR_MatrixSetTranInfo_V30

Set parameters of transparent channel.

API Definition

BOOL NET_DVR_MatrixSetTranInfo_V30(
  LONG                                   lUserID,
  LPNET_DVR_MATRIX_TRAN_CHAN_CONFIG_V30  lpTranInfo
)

Parameters

lUserID

[IN] User ID, which is returned by NET_DVR_Login_V40.

lpTranInfo

[IN] Transparent channel parameters, see details in NET_DVR_MATRIX_TRAN_CHAN_CONFIG_V30.

Return Value

Return TRUE for success and FALSE for failure. If FALSE is returned, you can call NET_DVR_GetLastError to get the error code.

Remarks

So far up to 64 transparent channels are supported, including RS232 and RS485 channels. At most 1 RS232 and 1 RS485 full-duplex transparent channel can be supported and you can also choose not to set full-duplex transparent channel.