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

bool PCP::PCPPowerDown (  ) 

Powers the radio down.

Turns the radio's receiver off. By sending the command code PCRPWROFF

Returns:
true or false ( based on PCPCheckResponse )
See also:
PCPPowerUp PCPCheckResponse PCPStatus PCRPWROFF pcrdef.h

Definition at line 152 of file pcp.cpp.

References PCPCheckResponse(), PCPComm, PCPStatus, and PComm::PCTell().

{
    PCPComm->PCTell(PCRPWROFF);
    // if (PCPCheckResponse()) {
      PCPCheckResponse();
      PCPStatus=false;
      return true;
    // } 
    // return false;
}


Generated by  Doxygen 1.6.0   Back to index