Add support for Meshnology W12 and LR2021 Wrapper - #3115
Merged
Conversation
hermes-gadget
added a commit
to gadgethd/MeshCore-MQTT
that referenced
this pull request
Aug 5, 2026
Upstream dev: 8b9bee3..84e3a67 (5 commits) - Merge pull request meshcore-dev#3115 from oltaco/meshnology_w12 - LR2021: auto-LDRO for side detectors - LR2021: fix for hardware cad and side detectors - LR2021 multi-SF support (side detectors) - add Meshnology W12 support and LR2021 wrapper Conflicts resolved: src/helpers/CommonCLI.cpp (upstream restructured static helpers and handleCommand; took upstream version) MQTT guard patterns preserved in MyMesh.cpp/h. MQTT additions intact.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for the Meshnology W12 board and a RadioLib wrapper for LR2021 with side-detector (multi-SF) support. Currently side detector config is not persisted to preferences.
The side detectors can be configured on repeater with
set extra.sf x,y,zwhere x y and z are the extra spreading factors. Note that there are restrictions on what extra spreading factors are allowed.From the LR2021 datasheet:
Note the
#ifdef (USE_LR2021)lines in RadioLibWrappers.cpp, these are necessary because if you call startReceive on LR2021 when it is already in receive mode then the radio throws -706 repeatedly in loop until the next TX happens. This is due to differences in what RadioLib does in when setting the radio to StageMode(RX).