Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PModem::CanInitialise (  ) const

The modem is in a state that allows the initialise to start.

TRUE if the Initialise() function may proceeed.

Definition at line 227 of file modem.cxx.

References AwaitingResponse, Deinitialising, Dialling, HangingUp, Initialising, SendingUserCommand, and Unopened.

Referenced by Initialise().

  switch (status) {
    case Unopened :
    case Initialising :
    case Dialling :
    case AwaitingResponse :
    case HangingUp :
    case Deinitialising :
    case SendingUserCommand :
      return FALSE;

    default :
      return TRUE;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index