Comments (2)
The purpose of cEventLog
is to implement the actual debug printing in callback functions using RegisterListener().
This is not implemented entirely consistent; some Serial.print() function calls are still left in MCCI_Arduino_LoRaWAN_Library/src/lib/arduino_lorawan_cEventLog.cpp
.
This should be changed as follows:
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;
}
N.B.: With Arduino logging functions (such as log_i()
) a timestamp is included in the output per default.
from bresserweathersensorttn.
Implemented in 1fe5a65
from bresserweathersensorttn.
Related Issues (20)
- Wrong author in references HOT 2
- Request for testing Heltec Wireless Stick configuration HOT 5
- Request for testing Adafruit Feather ESP32-S2 with Adafruit LoRa Radio FeatherWing configuration HOT 1
- Request for testing Adafruit Feather ESP32 with Adafruit LoRa Radio FeatherWing configuration HOT 2
- Request for testing DFRobot FireBeetle ESP32 IoT Microcontroller with FireBeetle Cover LoRa Radio 868MHz HOT 1
- Add define for ePulse Feather VBAT Monitoring Voltage Divider HOT 2
- Thingpulse ePulse Feather & Adafruit LoRa Radio FeatherWing Battery Power Stability HOT 2
- Add support for Bresser Lightning Sensor HOT 1
- Integrate lightning sensor data post-processing
- Issues after updating libraries HOT 18
- Add support for arduino-pico / RP2040 - full features
- Firebeetle LoRa Cover HOT 8
- Add support for arduino-pico / RP2040 - initial
- request for adding heltec-wifi-lora-32-v3 as supported board HOT 1
- Inadvertent change of sleep duration HOT 1
- Potential mix of weather sensor data using 6-in-1 decoder HOT 1
- Add support for ESP32-S3 PowerFeather with Adafruit LoRa Radio FeatherWing
- Fix compiling errors with arduino-esp32 v3.0.X (ESP32AnalogRead)
- Update board configurations to changes in arduino-esp32 v3.0.0
- Update ADC related code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bresserweathersensorttn.