system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_ERROR,getName(),"[%s] SX1278 init failed, The supplied frequency value (%fMHz) is invalid for this module.",timeString().c_str(),freqMHz);
rxEnable=false;
txEnable=false;
break;
caseRADIOLIB_ERR_INVALID_BANDWIDTH:
system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_ERROR,getName(),"[%s] SX1278 init failed, The supplied bandwidth value (%fkHz) is invalid for this module. Should be 7800, 10400, 15600, 20800, 31250, 41700 ,62500, 125000, 250000, 500000.",timeString().c_str(),BWkHz);
rxEnable=false;
txEnable=false;
break;
caseRADIOLIB_ERR_INVALID_SPREADING_FACTOR:
system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_ERROR,getName(),"[%s] SX1278 init failed, The supplied spreading factor value (%d) is invalid for this module.",timeString().c_str(),config.spreadingFactor);
rxEnable=false;
txEnable=false;
break;
caseRADIOLIB_ERR_INVALID_CODING_RATE:
system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_ERROR,getName(),"[%s] SX1278 init failed, The supplied coding rate value (%d) is invalid for this module.",timeString().c_str(),config.codingRate4);
rxEnable=false;
txEnable=false;
break;
caseRADIOLIB_ERR_INVALID_OUTPUT_POWER:
system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_ERROR,getName(),"[%s] SX1278 init failed, The supplied output power value (%d) is invalid for this module.",timeString().c_str(),config.power);
txEnable=false;
break;
caseRADIOLIB_ERR_INVALID_PREAMBLE_LENGTH:
system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_ERROR,getName(),"[%s] SX1278 init failed, The supplied preamble length is invalid.",timeString().c_str());
txEnable=false;
break;
caseRADIOLIB_ERR_INVALID_GAIN:
system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_ERROR,getName(),"[%s] SX1278 init failed, The supplied gain value (%d) is invalid.",timeString().c_str(),config.gainRx);
system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_DEBUG,getName(),"[%s] Received packet '%s' with RSSI %.0fdBm, SNR %.2fdB and FreqErr %fHz",timeString().c_str(),msg->toString().c_str(),radio->getRSSI(),radio->getSNR(),-radio->getFrequencyError());