Sodaq_AT_Device.cpp
bool Sodaq_AT_Device::isOn() const
{
    if (_onoff) {
        return _onoff->isOn();
    }

    // No onoff. Let's assume it is on.
    return true;
}
// Returns true if the modem is on.
Returns true if the modem is on.
Returns true if the modem is on .
bool Sodaq_AT_Device::isOn() const
{
    if (_onoff) {
        return _onoff->isOn();
    }
    return true;
}
bool Sodaq_AT_Device :: isOn ( ) const { if ( _onoff ) { return _onoff -> isOn ( ) ; } return true ; }
Returns true if the modem is on.
Returns true if the modem is on .
// No onoff. Let's assume it is on.