MgslEvent Constants


The MgslEvent constants are bit flags that are used with the MgslWaitEvent function for the EventMask and ReturnedEvents. These bits identify the events to wait for in the EventMask argument of the MgslWaitEvent call. The bits return in ReturnedEvents identify the serial signal states at the time an event in the EventMask occurs.

MgslEvent_DsrActive DSR is active
MgslEvent_DsrInactive DSR is inactive
MgslEvent_Dsr Combination of above two flags
MgslEvent_CtsActive CTS is active
MgslEvent_CtsInactive CTS is inactive
MgslEvent_Cts Combination of above two flags
MgslEvent_DcdActive DCD is active
MgslEvent_DcdInactive DCD is inactive
MgslEvent_Dcd Combination of above two flags
MgslEvent_RiActive Ring Indicator is active
MgslEvent_RiInactive Ring Indicator is inactive
MgslEvent_Ri Combination of above two flags
MgslEvent_ExitHuntMode Received flag detected
MgslEvent_IdleReceived Received idle detected


Previous Contents Next