Unsolicited status events

To register for unsolicited status events, the application calls ctaOpenServices. This call creates a connection to the Health Management Interface service and returns a Natural Access handle that can be used to wait for incoming messages (ctaWaitEvent). When ctaWaitEvent returns or completes, the application has received an event on which to possibly take action. To disconnect from HMI (such as when the application shuts down), the application calls ctaCloseServices to free up the connection slot for other applications.

HMI reports the current run state of the boards for which an application registers. For example, if a board is in the primary state, the HMI_EVN_PRIMARY event is generated to the registering application.