Open matthias-bs opened 1 year ago
Workaround
Comment out Serial.print()
statements in arduino_lorawan_cEventLog.cpp
:
bool
Arduino_LoRaWAN::cEventLog::processSingleEvent()
{
if (this->m_head == this->m_tail)
{
return false;
}
auto const pEvent = &this->m_queue[this->m_head];
//Serial.print(osticks2ms(pEvent->time));
//Serial.print(" ms:");
pEvent->pCallBack(pEvent);
//Serial.println();
if (++m_head == sizeof(m_queue) / sizeof(m_queue[0]))
{
m_head = 0;
}
return true;
}
The debug output format for RPS information does not match other debug messages:
(Preceeding extra timestamp
41359ms:
, extra line-feed.)This is due to the fact that there are still
Serial.print()
calls in~/Arduino/libraries/MCCI_Arduino_LoRaWAN_Library/src/lib/arduino_lorawan_cEventLog.cpp
even if debug output is implemented in the sketch with themyEventLog.logEvent()
function. (seeArduino_LoRaWAN::cEventLog::processSingleEvent()
)arduino_lorawan_cEventLog.cpp#L88