3372 Commits
Author SHA1 Message Date
Liam CottleandGitHub 12998cba89 Merge pull request #3275 from liamcottle/gps/rak3401
Fix PA on RAK3401 when GPS missing
2026-08-24 19:52:10 +12:00
Huw DuddyandGitHub b2499907c2 Merge pull request #3290 from liamcottle/feature/ui-no-hibernate
add UI_NO_HIBERNATE build flag to disable hibernate screen
2026-08-24 13:40:47 +10:00
liamcottle 7dc2d54818 add UI_NO_HIBERNATE build flag to disable hibernate screen on wio tracker l1 2026-08-24 13:45:19 +12:00
liamcottle ab4c33826d don't toggle io pins on rak3401 when probing gps 2026-08-23 14:14:45 +12:00
ripplebizandGitHub 9d7cee6639 Merge pull request #3268 from liamcottle/rak/gps
Add support for RAK12500 and RAK12501 GPS on RAK3401
2026-08-22 14:35:21 +10:00
liamcottle 0b652b5629 add support for rak12500 and rak12501 gps on rak3401 2026-08-22 16:16:32 +12:00
ripplebizandGitHub e0031870f6 Merge pull request #3233 from entr0p1/fix/centralise-max-clients
Fix duplicate MAX_CLIENTS definition
2026-08-20 14:09:30 +10:00
ripplebizandGitHub c0f30d7304 Merge pull request #3234 from agessaman/fix/sensors-bosch-alt-i2c-address
Fix I2C address claiming and probe both BMP/BME addresses
2026-08-20 14:01:49 +10:00
ripplebizandGitHub a570911fe9 Merge pull request #3236 from DominikTyrala/fix/c3_partition_setup
Fix Seeed C3 radio BLE exceeding flash size
2026-08-20 13:38:26 +10:00
ripplebizandGitHub 40570956f0 Merge pull request #3249 from dl9sau/patch-1
Skip empty channel slots in searchChannelsByHash
2026-08-20 13:11:02 +10:00
ripplebizandGitHub 8d624b7af4 Merge pull request #3250 from hansimgamr/feat/t114-charging-indicator
Add charging indicator to companion_radio battery icon
2026-08-20 12:59:26 +10:00
hansimgamrandClaude Opus 4.8 41c60da575 Show plug at >=95% instead of exactly 100%
Boards without a charge-complete signal only infer "full" from voltage, and
a real pack rarely reads the full BATT_MAX_MILLIVOLTS (4.2V), so the plug icon
was effectively never shown. Treat "full" as a high band (>= 95%) so the plug
appears when the battery is charged rather than requiring an exact 100%.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-19 12:44:41 -04:00
hansimgamrandClaude Opus 4.8 3a440ac41a Add charging indicator to companion_radio battery icon
Show a small lightning-bolt icon to the left of the battery indicator on
the ui-new home screen while the device is externally powered, and a plug
icon once the battery reads full. The bolt/plug sits beside the battery so
the fill bar stays clean and uninterrupted. When a buzzer is present, the
mute icon shifts one slot further left so the two never overlap.

Charging state is derived from board.isExternalPowered(), so this works on
any board that reports external power (e.g. the nRF52 VBUS-detect path).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-19 12:44:41 -04:00
Thomas OsterriedandGitHub b762420433 Skip empty channel slots in searchChannelsByHash
An unconfigured slot has an all-zero secret, so it matches null-key group traffic (a sender with an unset PSK). The zero-key MAC validates against the empty slot and the foreign message is delivered as if it belonged to that channel — every node with a free slot is a null-key sink. Skip empty slots.
2026-08-19 09:35:25 +02:00
liamcottle 67d6d42a4c fix for 3-byte paths passed to CMD_SEND_RAW_DATA 2026-08-19 18:59:24 +12:00
Huw DuddyandGitHub dab6b63567 Merge pull request #3235 from meshcore-dev/send-raw-direct-fix
Fix for CMD_SEND_RAW_DATA and multi-byte paths
2026-08-19 11:32:34 +10:00
ripplebizandGitHub dd17105992 Merge pull request #3246 from liamcottle/update/toolchain
Update GCC toolchain for nRF52 boards to fix builds on Raspberry Pi
2026-08-19 11:30:08 +10:00
liamcottle 612b217b90 updated gcc toolchain for nrf52 boards 2026-08-19 12:07:29 +12:00
fdlamotteandGitHub 29b33467fb Merge pull request #3180 from fdlamotte/thinknode_m8
thinknode_m8: initial support

adds some functionalities to ui_task and epddisplay:

epd display, 
- supports screen off, and clear screen
- supports forcing full refresh every N partial refreshes (off by default, configured to 60 for M8)

ui_task
- UI_SHOW_CLOCK flag to display clock on first screen
- rotary button can act like joystick (with regards to Enter key), defaults to old config for existing nodes
- screen off on long press when using rotary button (very handy for the watch)
2026-08-18 09:33:42 -04:00
ripplebizandGitHub 808994d828 Merge pull request #3238 from recrof/meshadventurer-board-relocate
fix: move MeshadventurerBoard.h to variants/meshadventurer
2026-08-18 23:04:35 +10:00
ripplebizandGitHub 5a30456225 Merge pull request #3239 from recrof/default-loop-detect-minimal
repeater: set `loop.detect` to `minimal` as default for new installs
2026-08-18 23:03:10 +10:00
Rastislav Vysoky 2db4b40617 repeater: set loop.detect to minimal as default for new installs 2026-08-18 14:56:58 +02:00
Rastislav Vysoky d65da5a81a fix: move MeshadventurerBoard.h to correct location 2026-08-18 13:51:55 +02:00
Dominik Tyrala 38f10cd12b Fixes BLE exceeding flash size 2026-08-18 09:34:34 +02:00
Scott Powell 0cce9197a1 Fix for CMD_SEND_RAW_DATA and multi-byte paths 2026-08-18 13:11:15 +10:00
agessaman 2a6eabe120 fix(sensors): probe BMP/BME at both 0x76 and 0x77
Grove and other Bosch modules strap SDO high, so the 0x76-only table
never initialized them. Add an alternate-address entry per Bosch sensor;
the bus scan still gates every probe, and all four drivers verify a chip
ID before claiming an address.

Each sensor type has a single static driver instance, so skip an entry
whose query is already active: the alternate address is a fallback, not
a second device.
2026-08-17 14:59:59 -07:00
agessaman 2b0ed00004 fix(sensors): claim an I2C address after a successful init
Several table entries share an address and not every driver verifies a
chip ID: INA226::begin() only checks that the address ACKs, so an SHT4x
at 0x44 was also registered as an INA226 and reported junk current on a
second channel. Mark the address consumed once a driver initializes it
so later entries cannot re-claim the same device.
2026-08-17 14:58:49 -07:00
Florent 7f664f100d gxepd: do full refresh before screen off ... so wakes quicker ;) 2026-08-17 09:41:51 -04:00
Florent de0d5031de M8: preview messages up to 164 cars 2026-08-17 09:24:17 -04:00
Huw DuddyandGitHub 45c0c32354 Merge pull request #3218 from fkallay1/fix/lr2021-set-tx-power-rx-stall
Fix LR2021 occasionally stopping reception after a TX power change
2026-08-17 23:20:32 +10:00
Huw DuddyandGitHub 9387f55d7e trimmed comment 2026-08-17 23:16:01 +10:00
entr0p1 a8a6001576 Duplicate MAX_CLIENTS definition
MAX_CLIENTS is defined in both src/helpers/ClientACL.h and examples/simple_repeater/MyMesh.h. Appears it was centralised in the former header file some time ago. Both are included in some places and, depending on which order they're in, either value can win.

This change drops the duplicate entry from the repeater firmware and bumps the central limit up to 32 (per the original repeater firmware value).

Changes:
- Remove MAX_CLIENTS from repeater MyMesh.h
- Increase MAX_CLIENTS limit in ClientACL.h to 32
2026-08-17 23:01:52 +10:00
Florent 0a595ae79d gxepddisplay: better handling of full refresh (no faint partial afterwards !!!) 2026-08-16 11:40:13 -04:00
Fedor Kallay 114093ee0e fix(lr2021): setTxPower() could leave the receiver down until reboot
RadioLibWrapper::setTxPower() called setOutputPower() and nothing else. On
LR2021 that writes the PA config and TxParams, which are standby-only commands,
and it never re-arms the receiver.

This only affects LR2021 boards. recvRaw() has:

    #if defined(USE_LR2021)
      state = STATE_RX;    // LR2021 stays in Rx after readData
    #else
      state = STATE_IDLE;  // need another startReceive()
    #endif

so on SX126x the next recvRaw() re-arms Rx anyway and the write is harmless,
while on LR2021 startReceive() is never called again on its own. A 'set tx'
issued while the radio was listening could therefore stop reception until the
next reboot. Observed a few times on an LR2021 repeater; recovery required a
power cycle.

Dispatcher's stuck-radio check does not catch it: isInRecvMode() reports the
wrapper's own `state` flag rather than the chip's actual mode, so it still
believes the radio is in Rx, and it only raises ERR_EVENT_STARTRX_TIMEOUT
without attempting recovery.

Fix: on LR2021, drop to standby via idle() before writing the PA config and let
checkRecv() re-arm Rx - the same pattern resetAGC() and
applySideDetectorConfig() already use. Other radios are left untouched.

Affects meshtracker_x1 and meshnology_w12 (both USE_LR2021).

Tested on hardware with an LR2021 repeater: six consecutive 'set tx' changes
(15/18/21/14/19/14), after which the radio kept receiving and forwarding
traffic (rawrx/rxpkts increasing, no missed IRQs). Noise-floor sampling also
kept updating, which only happens while state == STATE_RX.
2026-08-15 02:31:19 +02:00
Scott Powell d929643524 * version 1.17.1 companion-v1.17.1 room-server-v1.17.1 repeater-v1.17.1 2026-08-14 22:19:19 +10:00
Huw DuddyandGitHub 24bdc24b39 Merge pull request #3206 from meshcore-dev/nrf-combine-rng-entropy
combine radio's entropy with CC310 RNG
2026-08-14 22:09:26 +10:00
Scott Powell fcb9bdf209 * combine radio's entropy with CC310 RNG 2026-08-14 17:46:43 +10:00
Huw DuddyandGitHub 50a51a6479 Merge pull request #3203 from meshcore-dev/companion-fem-pref-fix
commenting out the load/save of the fem_ properties
2026-08-14 16:44:59 +10:00
Scott Powell e78bff0041 * unit test no longer valid 2026-08-14 16:42:54 +10:00
Scott Powell 890a2e2cff * commenting out the load/save of the fem_ properties, until they can be set 2026-08-14 16:30:12 +10:00
ripplebizandGitHub b09cb27a1f Merge pull request #3106 from ViezeVingertjes/fix/scoped-reply-routing
Fix replies dropped when flood.max.unscoped is low
2026-08-13 15:00:37 +10:00
ripplebizandGitHub abd3546d75 Merge pull request #3189 from oltaco/nrf52-unused-pin-sweep
Fix unused pin definitions on some NRF52 boards
2026-08-13 13:48:59 +10:00
taco 7cd1d207af Fix LilyGo T-Echo Lite SPI pins 2026-08-13 00:53:58 +10:00
taco c2a4ef082f Fix Heltec MeshPocket SPI pins 2026-08-13 00:15:34 +10:00
taco 3ea541f1f2 Fix Heltec T1 pin definitions
SPI pins that are set to -1 cause OOB reads on NRF52. The unused Serial2 pin definitions were removed to avoid potential issues with the Uart framework.
2026-08-13 00:12:37 +10:00
ripplebizandGitHub e9edfc8e1a Merge pull request #3188 from oltaco/heltec-t096-pin-fix
Fix Heltec T096 Tx issue
2026-08-12 23:00:31 +10:00
taco 49d9f9a839 Heltec T096: fix PIN_SPI1_MISO
Setting SPI pins to values that are OOB of the g_ADigitalPinMap[] array causes OOB reads. This variant.h has pin 0 as 0xFF which passes through as NRFX_SPIM_PIN_NOT_USED.
2026-08-12 22:31:57 +10:00
taco f43e1cde89 Revert "t096 compiler layout workaround"
This reverts commit 9c60f9696e.
2026-08-12 22:28:36 +10:00
taco 264d778168 Revert "T096 PA_CTX pin direction workaround"
This reverts commit 82de18fb0e.
2026-08-12 22:28:05 +10:00
ripplebizandGitHub 956094b271 Merge pull request #3185 from oltaco/fix-techo-card-txco-voltage
Set T-Echo Card TCXO voltage to 3.0
2026-08-12 18:13:44 +10:00