# Monitoring status changes

Applications can register to automatically receive events whenever the board status changes. To register an application to receive board status change events, start cdiStartStatusMonitoring on one context per board. While you can monitor more than one context for a board, monitoring one context is sufficient and conserves system resources. Open this context on a non-DSP port such as local:0:0.

If cdiStartStatusMonitoring is successfully invoked, it returns SUCCESS. Any board status change generates CDIEVN_BOARD_STATUS_CHANGE. The application can then invoke cdiGetBoardStatus to determine what has changed.

To unregister an application from receiving status change events, invoke cdiStopStatusMonitoring.