Serial Framework
ContentsIndexHome
PreviousUpNext
CwclSerialClient::GetModemStatus Method

Retrieves the modem control-register values.

Syntax
C++
int GetModemStatus(wclModemStatuses& Status);
Parameters 
Description 
wclModemStatuses& Status 
If the function completed with success the parameter contaisn the current state of the modem control-register values.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The GetModemStatus function is useful when you received the CTS, RLSD, DSR, or ring indicator signals(through OnEvent event.)  

The function fails if the hardware does not support the control-register values.  

 

Copyright (c) 2006-2018. All rights reserved.