Skip to content

Add IRQ timeout logic for SX1262 and LR1121 - #2977

Merged
ripplebiz merged 4 commits into
meshcore-dev:devfrom
oltaco:rx-irq-timeout
Jul 20, 2026
Merged

Add IRQ timeout logic for SX1262 and LR1121#2977
ripplebiz merged 4 commits into
meshcore-dev:devfrom
oltaco:rx-irq-timeout

Conversation

@oltaco

@oltaco oltaco commented Jul 17, 2026

Copy link
Copy Markdown
Member

This PR clears stale Rx IRQ bits when they have been active for too long without an RxDone happening, preventing transmissions needing to wait for the full 4 second timeout under certain conditions.

Comment thread src/helpers/radiolib/CustomLR1110.h Outdated
Comment thread src/helpers/radiolib/CustomSX1262.h Outdated
@oltaco

oltaco commented Jul 19, 2026

Copy link
Copy Markdown
Member Author

@ripplebiz spot on, fixed 👍

@ripplebiz
ripplebiz merged commit dc7dd51 into meshcore-dev:dev Jul 20, 2026
15 checks passed
hermes-gadget added a commit to gadgethd/MeshCore-MQTT that referenced this pull request Jul 20, 2026
Upstream dev: bcc8074..dc7dd51 (5 commits)
  dc7dd51 Merge pull request meshcore-dev#2977 from oltaco/rx-irq-timeout
  b28bf00 fix: setMaxPacketMillis() should return void
  0bd871c add IRQ timeout logic for LR11X0
  79ef74e add IRQ timeout logic for SX1262
  975a673 add calcMaxPacketMillis

Clean auto-merge (no conflicts). MQTT additions preserved.
dl9sau pushed a commit to dl9sau/MeshCore-fork-DL9SAU that referenced this pull request Aug 10, 2026
…er adoptiert)

Merge companion-v1.17.0 in den DL9SAU-Fork. Core-Protokoll 0-Diff (kein Wire-Bruch).

Config (Weg B -- binaer behalten, JSON meshcore-dev#2982 NICHT adoptiert):
- NodePrefs.h / DataStore.{cpp,h} / MyMesh.h savePrefs auf --ours (2-arg, unser
  feldweises Binaerformat). ConfigSerializer.* liegt ungenutzt (nur native-Test).
  Bestandsgeraete: null Migration (/new_prefs binaer weiter).
- MyMesh.cpp: unsere Logik (client_repeat statt isRepeatEn/setRepeatEn, memset+
  Sentinels, cad_enabled, 2-arg loadPrefs). Upstreams MCU-Temperatur-Telemetrie
  (onContactRequest + handleCmdFrame) BEHALTEN.

Adoptiert:
- interface_manager (MultiSerialInterface, multi-interface: USB-CLI + BLE-App
  gleichzeitig). main.cpp setup()/loop() rekonstruiert mit unseren Boot-Anpassungen
  (DIAG / earlyShutdownCheck / OTA-Skip / configureBatteryWake +
  applyShutdownPendingCheck NACH BLE = SoftDevice-up).
- esp32 SerialBLEInterface: FreeRTOS thread-safe recv-Queue (meshcore-dev#3007) + unsere
  Diagnostik/Overflow-Counter + FRAME_QUEUE_SIZE 16.
- USE_CC310_HW_CRYPTO (meshcore-dev#2824), listen-before-talk configSideDetectors (meshcore-dev#3036/meshcore-dev#2977).

Auto-Merge-Fixes (Upstream-Refactors trafen unsere Andock-Zeilen):
- AbstractUITask _serial -> _interfaceManager (ui-orig / ui-tiny).
- DisplayDriver enum Color -> UIColor-Klasse (meshcore-dev#3034): YELLOW -> warning_txt (ui-new).

CI: action.yml unsere -DL9SAU-Prefix-Strip + upstream dispatch-branch; build.sh
unser Build-Tracking (kein set -e) + upstream Matrix-get-*-firmwares-Commands.

FIRMWARE_VERSION -> v1.17.0-DL9SAU (dl9sau_version.py-Sync beim Release).

Builds gruen: t1000e_companion_radio_ble (nRF52), Heltec_v3_companion_radio_ble (esp32).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants