Browse Source
Add files via upload
Updated CHANGES.md about NRF24L01+ radio send channel evaluation
pull/1080/head
oberfritze
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
542 additions and
539 deletions
-
src/CHANGES.md
-
src/app.cpp
|
@ -1,10 +1,11 @@ |
|
|
Changelog for ahoy-all-in-one compared to 0.6.9 of the main project |
|
|
Changelog for ahoy-all-in-one compared to 0.6.9 of the main project |
|
|
|
|
|
|
|
|
- read SML/OBIS from UART (stream parser with min resources needed); Connections 9600,8,n,1, GND-GND, VCC-3V3, TX-TX, RX-RX |
|
|
- configurable read SML/OBIS from UART (stream parser with min resources needed); Connections 9600,8,n,1, GND-GND, VCC-3V3, TX-TX, RX-RX |
|
|
- prepared to show chart of grid power and total solar ac power for current days daylight period (6 a.m. to 8 p.m.) |
|
|
- prepared to show chart of grid power and total solar ac power for current days daylight period (6 a.m. to 8 p.m.) |
|
|
- show current grid power |
|
|
- show current grid power |
|
|
- show max solar ac/dc power |
|
|
- show max solar ac/dc power |
|
|
- improved radio retransmit (complete retransmit if nothing was received, but only when inverter ought to be active) for the hm series |
|
|
- improved radio retransmit (complete retransmit if nothing was received, but only when inverter ought to be active) for the hm series) |
|
|
|
|
|
- Heuristic for choosing the best send channel (of 5 possible) helps reducing retransmits |
|
|
- shortcut radio traces a little bit |
|
|
- shortcut radio traces a little bit |
|
|
|
|
|
|
|
|
DRAWBACKS: |
|
|
DRAWBACKS: |
|
|
|
@ -121,15 +121,16 @@ void app::loopStandard(void) { |
|
|
packet_t *p = &mSys.Radio.mBufCtrl.front(); |
|
|
packet_t *p = &mSys.Radio.mBufCtrl.front(); |
|
|
|
|
|
|
|
|
if (mConfig->serial.debug) { |
|
|
if (mConfig->serial.debug) { |
|
|
|
|
|
#ifdef undef |
|
|
DPRINT(DBG_INFO, F("RX ")); |
|
|
DPRINT(DBG_INFO, F("RX ")); |
|
|
DBGPRINT(String(p->len)); |
|
|
DBGPRINT(String(p->len)); |
|
|
#ifdef undef |
|
|
|
|
|
DBGPRINT(F("B Ch")); |
|
|
DBGPRINT(F("B Ch")); |
|
|
DBGPRINT(String(p->ch)); |
|
|
DBGPRINT(String(p->ch)); |
|
|
DBGPRINT(F(" | ")); |
|
|
DBGPRINT(F(" | ")); |
|
|
mSys.Radio.dumpBuf(p->packet, p->len); |
|
|
mSys.Radio.dumpBuf(p->packet, p->len); |
|
|
#else |
|
|
#else |
|
|
DBGPRINTLN(" Bytes"); |
|
|
DPRINTLN(DBG_INFO, "RX (Ch " + String (p->ch) + "), " + |
|
|
|
|
|
String (p->len) + " Bytes"); |
|
|
#endif |
|
|
#endif |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -366,6 +367,7 @@ void app::tickMidnight(void) { |
|
|
mMqtt.tickerMidnight(); |
|
|
mMqtt.tickerMidnight(); |
|
|
#endif |
|
|
#endif |
|
|
} |
|
|
} |
|
|
|
|
|
mSys.Radio.resetSendChannelQuality(); |
|
|
mSys.cleanup_history(); |
|
|
mSys.cleanup_history(); |
|
|
#ifdef AHOY_SML_OBIS_SUPPORT |
|
|
#ifdef AHOY_SML_OBIS_SUPPORT |
|
|
// design: allways try to clean up
|
|
|
// design: allways try to clean up
|
|
|