Skip to content

Lora led rx#10674

Merged
jp-bennett merged 6 commits into
masterfrom
lora-led-rx
Jun 13, 2026
Merged

Lora led rx#10674
jp-bennett merged 6 commits into
masterfrom
lora-led-rx

Conversation

@jp-bennett

Copy link
Copy Markdown
Collaborator

Tested on the Elecrow M7, works as expected so far.

@github-actions github-actions Bot added needs-review Needs human review hardware-support Hardware related: new devices or modules, problems specific to hardware labels Jun 10, 2026
@jp-bennett jp-bennett added the enhancement New feature or request label Jun 10, 2026
@thebentern thebentern requested a review from Copilot June 10, 2026 10:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds an LED_LORA activity indicator path intended to flash an LED on LoRa packet reception (and currently also toggles it on TX) for the Elecrow ThinkNode M7, by plumbing a receive observable from the radio driver into StatusLEDModule.

Changes:

  • Initialize LED_LORA GPIO in the Elecrow ThinkNode M7 variant init.
  • Add a RadioInterface::loraRxPacketObservable and notify it on successful LoRa RX in RadioLibInterface.
  • Add StatusLEDModule handling to flash LED_LORA briefly on each RX.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
variants/esp32s3/ELECROW-ThinkNode-M7/variant.cpp Initializes the new LED_LORA output pin at boot.
src/modules/StatusLEDModule.h Adds optional (LED_LORA-gated) observer + state for RX LED flash timing.
src/modules/StatusLEDModule.cpp Subscribes to radio RX observable and implements timed RX flash logic.
src/mesh/RadioLibInterface.cpp Notifies RX observable on packet receive and also toggles LED_LORA during TX.
src/mesh/RadioInterface.h Declares a new static observable for LoRa RX events.
src/mesh/RadioInterface.cpp Defines the new static observable instance.

Comment thread variants/esp32s3/ELECROW-ThinkNode-M7/variant.cpp
Comment thread src/mesh/RadioLibInterface.cpp
Comment thread src/mesh/RadioLibInterface.cpp
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

⚡ Try this PR in the Web Flasher

Flash this PR in the Web Flasher

firmware commit boards expires

Warning

This is an automated, unreviewed CI test build. Back up your device configuration
before flashing, and only flash devices you are able to recover.

Supported boards built by this PR (22)
Device Board Platform
Crowpanel Adv 3.5 TFT elecrow-adv-35-tft esp32-s3
Heltec HT62 heltec-ht62-esp32c3-sx1262 esp32-c3
Heltec Mesh Node 096 heltec-mesh-node-t096 nrf52840
Heltec Mesh Node T1 heltec-mesh-node-t1 nrf52840
Heltec Mesh Node T114 heltec-mesh-node-t114 nrf52840
Heltec V3 heltec-v3 esp32-s3
Raspberry Pi Pico pico rp2040
Raspberry Pi Pico W picow rp2040
RAK WisBlock 11200 rak11200 esp32
RAK WisBlock 11310 rak11310 rp2040
RAK3312 rak3312 esp32-s3
RAK WisBlock 4631 rak4631 nrf52840
Seeed Xiao NRF52840 Kit seeed_xiao_nrf52840_kit nrf52840
Seeed SenseCAP Indicator seeed-sensecap-indicator-tft esp32-s3
Seeed Xiao ESP32-S3 seeed-xiao-s3 esp32-s3
Station G2 station-g2 esp32-s3
Station G3 station-g3 esp32-s3
LILYGO T-Deck t-deck-tft esp32-s3
LILYGO T-Echo t-echo nrf52840
LILYGO T-Echo Plus t-echo-plus nrf52840
LILYGO T-Impulse Plus t-impulse-plus nrf52840
Seeed SenseCAP T1000-E tracker-t1000-e nrf52840

Build artifacts expire on 2026-07-13. Updated for d44cf18.

@jp-bennett jp-bennett merged commit 9972feb into master Jun 13, 2026
5 of 20 checks passed
jp-bennett added a commit that referenced this pull request Jun 13, 2026
* add optional LED_LORA to indicate LoRa TX

* Briefly flash LED_LORA on packet RX

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
oscgonfer pushed a commit that referenced this pull request Jun 14, 2026
* add optional LED_LORA to indicate LoRa TX

* Briefly flash LED_LORA on packet RX

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
raghumad pushed a commit to raghumad/mezulla-firmware that referenced this pull request Jun 25, 2026
* add optional LED_LORA to indicate LoRa TX

* Briefly flash LED_LORA on packet RX

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request hardware-support Hardware related: new devices or modules, problems specific to hardware needs-review Needs human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants