MonStartLink

Starts the monitoring of a specific link.

Prototype

MON_STATUS MonStartLink ( U8 board, S16 linkNum )

Argument

Description

board

TX board number on which the desired monitor task resides.

linkNum

Link number for which this applies. If this parameter is set to MON_ALL_LINKS, all links are monitored, not just one specific link.


Return values

Return value

Description

MON_BOARD

Board number out of range.

MON_DRIVER

CPI driver returned an error.

MON_HANDLE

Board not previously initialized.

MON_LINKTYPE

Invalid link or switch type.

MON_PARAM

Invalid parameter.

MON_RESPONSE

Wrong response from board.

MON_SUCCESS

 

MON_TIMEOUT

No response from board.


Details

When an application binds to the monitor task, the task begins monitoring all links. The link is enabled and traffic received on it is passed to the application. To stop monitoring a specific link, call MonStopLink. To restart monitoring a link, use MonStartLink.