Commit Graph
6310 Commits
Author SHA1 Message Date
mikecarper 7d2f69e34f Retain GPS in RAK nRF52 OTA repeaters 2026-08-22 13:27:01 -07:00
Kevin Le 3d830a9c7a Disabled debug log for MKE-S3 2026-08-22 11:43:12 +07:00
ripplebiz 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
Kevin Le 96397639fe Rearranged pins for MKE-S3 2026-08-22 09:56:38 +07:00
Florent 52f0362c09 ui: repeater discover screen 2026-08-21 18:24:46 -04:00
mikecarper f11e160b73 Harden signed SD and bootloader OTA 2026-08-21 12:15:54 -07:00
entr0p1 e749010bbc 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-21 15:11:57 -04:00
Kevin Le 3077fa2d0b Added T-Echo Lite and MKE 2026-08-22 00:41:12 +07:00
mikecarper 30989a0133 Add MeshTower SD bootloader updates over LoRa 2026-08-21 09:55:15 -07:00
Kevin Le a4fb9d29e8 Fixed GPIOs for MKE-S3 2026-08-21 20:12:55 +07:00
Kevin Le f024668a3e Added board MKE-S3N16 2026-08-21 19:33:52 +07:00
Scott Powell afb969ccca * initial wiring/routing of CLI commands to companion (either via app/serial interface, or remotely via txt message) 2026-08-21 20:55:57 +10:00
mikecarper c7bc7a0740 Compact flood filter persistence 2026-08-21 00:55:05 -07:00
mikecarper 3de5fddf47 Add shared-slot nRF52 bootloader updates 2026-08-21 00:55:01 -07:00
mikecarper b7c9e37d09 Add signed XIAO bootloader updates over LoRa 2026-08-20 22:05:11 -07:00
agessaman 82074edfb3 Add Heltec V4 R8 FEM LNA controls 2026-08-20 21:48:47 -07:00
agessaman e45e977fb1 fix(examples): add MQTT teardown delay before OTA allocation 2026-08-20 21:13:58 -07:00
Adam Gessaman 648f5f1976 feat(mqtt): add Heltec V4 R8 configurations for MQTT observer and room server 2026-08-20 20:50:22 -07:00
mikecarper eb45e9d4f8 Preserve nRF52 OTA boot result diagnostics 2026-08-20 20:32:20 -07:00
agessaman 822020b339 test(alert): add WiFi fault policy host tests 2026-08-20 19:46:58 -07:00
agessaman e3ecae8a94 fix(mqtt): preserve WiFi outage state for alerts 2026-08-20 19:46:44 -07:00
mikecarper fb78e0f55a Wake QSPI flash before controller activation 2026-08-20 19:17:10 -07:00
mikecarper 32a83464b3 Correct QSPI CLI availability matrix 2026-08-20 18:49:45 -07:00
mikecarper 8eef42c937 Wait for QSPI flash operations to complete 2026-08-20 18:48:03 -07:00
mikecarper d29099666e Fix QSPI wake race during OTA staging 2026-08-20 18:12:09 -07:00
mikecarper e287a1ffa2 Add external QSPI staging for nRF52 OTA 2026-08-20 17:51:52 -07:00
mikecarper c98dfb6fe1 Optimize constrained ESP32 build profiles 2026-08-20 00:16:43 -07:00
ripplebiz e0031870f6 Merge pull request #3233 from entr0p1/fix/centralise-max-clients
Fix duplicate MAX_CLIENTS definition
2026-08-20 14:09:30 +10:00
ripplebiz 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
ripplebiz 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
ripplebiz 40570956f0 Merge pull request #3249 from dl9sau/patch-1
Skip empty channel slots in searchChannelsByHash
2026-08-20 13:11:02 +10:00
ripplebiz 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
mikecarper 8ffa815600 Fix T1000-E temperature and M3 full builds 2026-08-19 18:27:17 -07:00
mikecarper b13eac47a5 Correct Seeed nRF52 firmware size limits 2026-08-19 17:32:57 -07:00
mikecarper 671dd30769 Expand companion offline queues 2026-08-19 17:32:05 -07:00
mikecarper f5bb22cb94 Skip KISS targets by default 2026-08-19 16:22:53 -07:00
mikecarper 3c6fee3277 Ensure full repeater packet logging 2026-08-19 16:20:24 -07:00
mikecarper 4ebbdc3d9b Merge remote-tracking branch 'review/observer-firmware' into keymindCascade
# Conflicts:
#	MQTT_IMPLEMENTATION.md
#	examples/simple_repeater/MyMesh.cpp
#	examples/simple_room_server/MyMesh.cpp
#	examples/simple_sensor/SensorMesh.cpp
#	src/helpers/CommonCLI.h
#	src/helpers/MQTTPresets.h
#	src/helpers/bridges/MQTTBridge.cpp
#	src/helpers/bridges/MQTTBridge.h
#	src/helpers/radiolib/CustomLLCC68Wrapper.h
#	src/helpers/ui/SH1106Display.cpp
2026-08-19 13:45:47 -07:00
mikecarper a192c1ea69 Merge remote-tracking branch 'iotthinks/PowerSaving-v17' into keymindCascade
# Conflicts:
#	examples/companion_radio/main.cpp
#	variants/heltec_v4/platformio.ini
2026-08-19 13:31:42 -07:00
mikecarper 5f0452412d Merge remote-tracking branch 'upstream/dev' into keymindCascade 2026-08-19 13:30:32 -07:00
mikecarper a39bbbd467 Add normalradio to common CLI 2026-08-19 12:44:49 -07:00
mikecarper 5ba511cfb7 Restore OTA deployment tuning 2026-08-19 12:37:23 -07:00
mikecarper e797c8aa46 Document legacy OTA airtime tuning 2026-08-19 11:54:19 -07:00
mikecarper 610eef7529 Avoid legacy OTA proof collisions 2026-08-19 11:43:25 -07:00
mikecarper dc4a8808c0 Harden and qualify compact RAK3401 OTA updates 2026-08-19 11:17:22 -07: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
agessaman 539ae72bca fix(mqtt): stop a wedged client before deleting it on the dirty-stop path
The stop timeout bounded only the cooperative attempt. Its fallback tears down
clients from the calling task, and both helpers skipped the stop entirely when
the client reported not-connected — then deleted it anyway. That is the exact
shape of the dangerous case: a client whose DISCONNECTED callback has already
cleared its connected flag while it sits inside esp_mqtt_client_stop() reports
not-connected, so the stop was skipped precisely when it mattered and the
object was freed from under a live ESP-MQTT task.

Both helpers take a force flag, and only the dirty branch passes it. force is
deliberately not gated on connected(), and routes through the existing
forceStop() rather than disconnect(), whose wait for the DISCONNECTED event is
unbounded. Every other caller — the non-ESP32 release path, the Core-0
cooperative teardown, reconfigure, and the slot-cap path — keeps its current
behaviour byte for byte.

This does not make the path bounded. esp_mqtt_client_stop() waits on the
client's STOPPED_BIT with portMAX_DELAY on the pinned framework, so a client
wedged inside mbedTLS can still block the caller. The change trades a
free-under-a-live-task for a wait, which is the safer of the two failure modes.
Bounding it properly, and the surrounding destroy-while-still-stopping hazard,
need the ownership handoff reworked; that is tracked separately.
2026-08-19 08:38:00 -07:00
agessaman bd91ff80ea fix(mqtt): clear a slot that preferences say is disabled on bridge start
The preset-application loop in begin() only had a positive branch, so when
preferences named no preset the slot kept whatever the previous begin() left in
RAM. Nothing else resets it: teardownSlot() deliberately preserves enabled and
preset so a reconfigure can reuse the mbedTLS context, and the constructor
clears them exactly once. A bridge restart could therefore resurrect a broker
the operator had disabled and reconnect to it with the old credentials.

Config fields only. The client belongs to destroySlotClients() and the token
buffer to releaseSlotAuthToken(); clearing either here would strand a pointer
esp-mqtt still holds in its config.

Note the positive branch re-enabling a slot is correct and unchanged: a slot
capped off at startup is disabled in RAM only, with preferences still naming a
real preset, and the cap decision has to be re-made on each start.

Reachable via WebConfig, where a pending full restart discards the per-slot
restart mask, so a batch that disables a slot can end in a restart that never
applied the disable. A plain CLI set cannot reach it: restartBridgeSlot()
applies the change to the live bridge immediately, keeping RAM and preferences
in agreement. Verified on hardware as a non-regression check for that reason —
disable, restart, slot stays down; restore, restart, all slots return.
2026-08-19 08:38:00 -07:00