Stops the monitoring of a specific link.
MON_STATUS MonStopLink ( 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, monitoring is stopped for all links. |
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. |
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 up to the application. To stop monitoring a specific link, call MonStopLink. To restart monitoring a link, use MonStartLink.