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

bool PCP::PCPPowerUp (  ) 

Powers the radio on.

Turns the radio's receiver on. By sending the command code PCRPWRON

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

Definition at line 131 of file pcp.cpp.

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

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


Generated by  Doxygen 1.6.0   Back to index