Skip to content

Commit

Permalink
BugFix: ACK
Browse files Browse the repository at this point in the history
Die Funktion startWrite() der RF24 Bibliothek ist ungeeignet für den Empfang von ACKs, da der Verstärker während des Sendens statt in den RX-Modus Ausgeschaltet wird.
  • Loading branch information
tictrick authored Feb 8, 2024
1 parent 7c532ca commit d4a4f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hm/hmRadio.h
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ class HmRadio : public Radio {
}
mNrf24->setChannel(mRfChLst[mTxChIdx]);
mNrf24->openWritingPipe(reinterpret_cast<uint8_t*>(&iv->radioId.u64));
mNrf24->startWrite(mTxBuf.data(), len, false); // false = request ACK response
mNrf24->startFastWrite(mTxBuf.data(), len, false); // false = request ACK response
mMillis = millis();

mLastIv = iv;
Expand Down

0 comments on commit d4a4f9c

Please sign in to comment.