Commit Graph
104 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 6fe0c0f8e1 docs: power, budka sensor and BLE/LoRa coexistence notes under public paths
pub-release / release (push) Failing after 22s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 11:56:30 +01:00
tthandClaude Opus 5.5 3c7d947887 gps duty: sync once a day, retry a failed window after 6 h
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:49:46 +01:00
tthandClaude Opus 5.5 84e4136a84 docs: gps duty vs upstream gps period; advert.loc, not "set loc"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:27:26 +01:00
tthandClaude Opus 5.5 8d0b0dd164 Merge upstream/dev (80 commits) [upstream-sync]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:22:19 +01:00
Olexandr Tyshchenko ace5230ff0 GPS guard: drop leftovers of the alert telemetry channel
#3813 removed the telemetry channel for the GPS time alert. Remove the
docs sentence that still described it and the now unused
GpsGuard::getAlertOffset().
2026-11-11 16:18:58 +02:00
fdlamotte 0ed9ba5724 Merge pull request #3801 from AlexandrTyshchenko/feature/gps-guard-time-wait
GPS guard: show "time wait" instead of "rej nofix" between fixes
2026-11-11 10:13:11 -04:00
Florent 798b719caf CommonCLI: get/set loc to replace gps advert command 2026-11-11 09:52:03 -04:00
Florent cefd4c76cf Revert "Merge pull request #3784 from Maxwell456/feature/repeater-history"
This reverts commit 66d404eac8, reversing
changes made to 1c4b237d73.
2026-11-11 07:49:41 -04:00
Olexandr Tyshchenko e1a445b967 GPS guard: show "time wait" instead of "rej nofix" between fixes
When the last GPS time check passed but there is no current trusted fix
(e.g. the GPS is asleep between periodic fixes), gps guard showed
"time rej nofix", which reads like a rejection although the clock is fine.
Show "time wait" instead. A real rejection without a trusted fix (GPS time
arriving while fixes are rejected) still shows "rej nofix".
2026-11-11 01:48:12 +02:00
fdlamotte 66d404eac8 Merge pull request #3784 from Maxwell456/feature/repeater-history
Add min/max/avg history queries to repeaters
2026-11-10 12:42:53 -04:00
Olexandr Tyshchenko 3da13dd91a GPS guard: gps guard on/off, saved in the GPS prefs 2026-11-09 23:50:48 +02:00
Olexandr Tyshchenko 6291f9156a GPS guard: save gps fence in the GPS prefs 2026-11-09 23:16:29 +02:00
Olexandr Tyshchenko faabf34950 GpsGuard: let GPS correct a clock outside the plausible window 2026-11-09 22:54:18 +02:00
Olexandr Tyshchenko f5cbc18b83 GPS guard: drop time force, it goes to a separate PR 2026-11-09 22:30:24 +02:00
Olexandr Tyshchenko 6b3da8a2b1 GPS: optional anti-spoofing guard for position and time (GPS_GUARD)
A spoofed GPS signal can move a fixed node anywhere and set its clock to
any time; the clock only moves forward, so a time pushed into the future
breaks timestamps and replay protection until fixed by hand.

With GPS_GUARD, MicroNMEALocationProvider asks a GpsGuard before a fix is
stored as the last fix (satellites, HDOP, optional region box, fence
around the configured position, jump speed, N stable fixes) and before
GPS time is written to the clock (trusted fix current, not before the
build date, small steps once the clock is valid, drift-sized after the
first sync). Without a trusted fix no live position is reported.

CLI in CommonGpsPrefs: 'gps guard', 'gps guard accept', 'gps fence',
'gps ref'; CommonCLI keeps the reference on set lat/lon and gps setloc,
resets the time anchor on manual clock sets and adds 'time force'.

Ported from #3736 onto the GpsDriver/LocationProvider refactor.
2026-11-09 20:43:09 +02:00
Maxwell 64f75005b5 Add min/max/avg history queries to repeaters
Move TimeSeriesData from simple_sensor into src/helpers and drive it with
monotonic uptime, so RTC changes cannot stall recording or break queries.
Keep the old RTCClock* overloads as deprecated for custom sensor sketches.

Record 24h of battery, noise floor, TX/RX airtime % and MCU temperature on
repeaters and answer the existing 0x04 min/max/avg request using the same
format as sensor nodes. No packets are sent by this feature.
REPEATER_HISTORY_SLOTS=0 removes it; default off on STM32/RP2040.

Add native tests for TimeSeriesData and document the request and channels.
2026-11-08 16:34:54 +02:00
Florent 6b34ae96df gps: Rework the CLI
- more consistency with other cli commands
- new format for gps fix
- gps format accepts postfix (s/m/d/h)
- documentation
2026-11-08 08:47:35 -04:00
Florent 47959b8960 gps: fix_stats command 2026-11-08 08:47:34 -04:00
Florent e58be9ab11 gps: cache the last fix in LocationProvider (isValid vs hasValidFix), fix and status commands 2026-11-08 08:47:34 -04:00
tthandClaude Opus 5.5 a8f0c3dca6 simple_room_server: dfu, radio silence watchdog and get boot via NodeMaintenance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 01:25:27 +01:00
tthandClaude Opus 5.5 7159a00f05 simple_sensor: dfu, radio silence watchdog and get boot via shared NodeMaintenance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 00:21:54 +01:00
tthandClaude Opus 5.5 278c1b8c8a simple_repeater: radio silence watchdog -- re-arm RX, then reboot a deaf receiver (#6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 20:03:01 +01:00
tthandClaude Opus 5.5 107b37b5f4 Merge remote-tracking branch 'origin/dev' into main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:35:35 +02:00
tthandClaude Opus 5 871f75d246 feat(advert): osm úrovní baterie místo dvou stavů, blesk na externím napájení
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 20:26:51 +02:00
tthandClaude Opus 5 793c309a4b feat(advert): stav baterie jako ikonka na konci advertovaného jména
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 19:13:38 +02:00
Blake Latchford e1877c015b Constrain agc.reset.interval and allow intervals > 255s 2026-09-21 12:26:36 -04:00
Robert Ekl f163c49339 docs: correct stale CLI default values
Five "Default:" values in cli_commands.md no longer matched the firmware:

- radio / freq: the default preset moved to EU/UK (Narrow) in e80c91eb,
  changing LORA_FREQ/BW/SF from 869.525/250/11 to 869.618/62.5/8
  (platformio.ini:29-31). No variant overrides these, and LORA_CR is 5
  on every path, so the full preset is 869.618,62.5,8,5.
- flood.advert.interval: raised to 47 hours in 3e0b9da4 for both repeater
  and room server; sensor leaves it disabled.
- advert.interval: prefs store minutes/2 and the getter doubles on read, so a
  factory-fresh node reports 2, not 0. But savePrefs() zeroes any interval
  below the 60 minute minimum (CommonCLI.cpp:162-165), and it is called from
  every `set` handler -- so the value becomes 0 as soon as the node is
  configured. Documented both states, since neither alone is the whole story.
- direct.txdelay: repeater defaults to 0.3, room server and sensor to 0.2.

Sources: platformio.ini:29-31, simple_repeater/MyMesh.cpp:893,903-904,
simple_room_server/MyMesh.cpp:650,661-662, simple_sensor/SensorMesh.cpp:716,
726-727, CommonCLI.cpp:162-165,680-681.
2026-09-02 11:31:24 -05:00
tthandClaude Opus 5 f73da0492d Merge upstream v1.17.1 (origin/main)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 14:13:50 +02:00
tthandClaude Opus 5 774676248b Merge upstream v1.17.0 (origin/main) into the analyzer/BLE fork
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-09 22:44:07 +02:00
tthandClaude Opus 5 bbd4fbc358 feat(clock): a node with no GPS starts at its build epoch, not in 2024
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-09 22:24:59 +02:00
Scott Powell 49319023e5 Merge branch 'dev'
# Conflicts:
#	docs/payloads.md
2026-08-09 14:36:53 -04:00
Adam Gessaman 5704db9f74 fix(station-g3): apply FEM PA level at TX start
PA PL1 re-targets the PA's DC-DC supply rail rather than selecting a
logic-level gain, and the serial CLI is serviced on every main-loop pass
regardless of whether a transmit is in flight. A `set radio.fem.txgain`
write could therefore move the rail mid-transmit, while the SX1262 was
still driving the PA at full input power.

Record the requested level in setPAGainEnable() and drive the pin from
setTxModeEnable(), which runs from onBeforeTransmit() ahead of
startTransmit(). The level only matters while transmitting, so deferring
costs nothing.

Document that the pref is saved immediately but applied at the next
transmit, so `get radio.fem.txgain` can lead the hardware until then.
2026-08-08 14:53:57 -07:00
agessaman 2eb7feffe0 fix(station-g3): expose FEM gain preferences 2026-08-06 15:29:14 -07:00
tthandClaude Opus 5 5486cc5439 feat(gps): duty-cycle the receiver, for nodes that run GPS only for the clock
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 10:05:26 +02:00
Alexander Hoffer c5f09f2490 fix: preserve UTF-8 advert names 2026-07-20 15:47:03 +01:00
liamcottle 22b2de711c Merge remote-tracking branch 'official/main' into dev 2026-07-20 20:42:09 +12:00
Ryan Gregg 7f1ecc2045 Merge remote-tracking branch 'upstream/dev' into rak-ethernet
# Conflicts:
#	docs/faq.md
#	examples/companion_radio/main.cpp
2026-06-20 14:39:03 -07:00
Wessel Nieboer e77b6b101f Have CAD be a separate toggle (set cad on/off) 2026-06-14 15:20:58 +02:00
formtapez 5ae8c26772 fix formatting 2026-06-12 12:14:46 +02:00
formtapez b21b12ec7f added some missing CLI commands 2026-06-12 12:11:12 +02:00
Quency-D 606f8f1cc3 Merge branch 'dev' into cli-lna-command 2026-06-10 11:30:04 +08:00
Scott Powell f7f8a331cd Merge branch 'dev'
# Conflicts:
#	docs/faq.md
2026-06-06 21:12:43 +10:00
IoTThinks f74c1ab368 Change default power saving setting to 'off' 2026-06-06 11:04:36 +07:00
ripplebiz fb517b2164 Merge pull request #2661 from mrzarquon/mrz/flood_max_unscoped
Implement flood.max.unscoped to allow selective repeating of unscoped messages
2026-06-02 14:00:33 +10:00
Liam Cottle 7feea5981a Merge pull request #2635 from sefinek/docs/fix-typos-and-grammar
docs: fix typos, grammar issues and standardise Wi-Fi spelling
2026-06-02 12:41:30 +12:00
Chris Barker f430d9f990 Updates Docs to reflect flood.max.unscoped behavior. 2026-06-01 21:30:31 +01:00
Sefinek c99fe41b1e docs: remove duplicate radio.rxgain entry and fix hardware note 2026-05-28 14:52:00 +02:00
Sefinek a3a52e58fa docs: fix typos, grammar and Wi-Fi capitalisation across docs 2026-05-28 14:23:31 +02:00
agessaman c9b44367d6 Refactor region def with helpers, refine docs
Extract the inline cursor-walk in handleRegionCmd into file-local
helpers (skipSpaces, rtrimSpaces, takeToken, splitNameJump,
processRegionDefSegment), grouped immediately above the consumer.
Behavior is identical; addresses PR #2540 review feedback on
readability.

Tighten the region def docs: collapse five Note callouts into three
grouped paragraphs (Behavior / Existing regions / Limits), add a
case-sensitivity caveat plus an error example, note the cursor reset
between split commands, and use generic placeholder names.
2026-05-21 19:25:01 -07:00
Ryan Gregg 4761d49449 Merge remote-tracking branch 'upstream/dev' into rak-ethernet
# Conflicts:
#	examples/companion_radio/main.cpp
2026-05-18 20:57:28 +00:00