4079 Commits
Author SHA1 Message Date
Olexandr Tyshchenko 407cb9abac GPS: first fix timeout as a saved setting (gps firstfix), 1 h by default
A cold start can take up to ~30 min with a weak sky view, so the default
limit before the first fix since boot goes from 15 min to 1 h.

The limit is now a GPS preference, set with `gps firstfix <duration>`
(0 = no limit, at most 1 day) and saved with the other GPS settings, so
repeaters and companions can use different values without a rebuild.
GPS_FIRST_FIX_TIMEOUT_MS stays as the build default.
2026-11-13 14:29:02 +02:00
tth a029863d66 FwUpdate binary: the chunk crc covers sid, offset and length too 2026-11-13 02:11:00 +01:00
tth 227edb9c63 FwUpdate: transfer counters in the ready status too 2026-11-13 02:05:31 +01:00
tth b8ce87c6ff FwUpdate binary: crc16 per chunk; a mangled chunk is dropped and asked for again 2026-11-13 02:03:16 +01:00
tth 0c06994d1f FwUpdate: diagnosis counters in 'failed' status (binary/dropped/text chunks, last manifest writer) 2026-11-13 01:57:56 +01:00
tth b4d2601c8f FwUpdate: transfer session id; binary chunks of another session are dropped 2026-11-13 01:49:55 +01:00
tth 3a7140fd51 FwUpdate: wrong base error names both sha prefixes 2026-11-13 01:33:28 +01:00
tth 232c2bb791 FwUpdate: fw bin -- the binary mesh protocol over the USB console (bench) 2026-11-13 01:30:14 +01:00
tth dc13c5b286 FwUpdate: check the manifest from a RAM copy; flag a flash readback mismatch 2026-11-13 01:26:10 +01:00
tth d1e893f692 FwUpdate binary: explicit chunk length (the node sees the payload padded to 16 B) 2026-11-13 01:18:27 +01:00
tth 4813340a69 FwUpdate binary: cap the missing-units reply at 150 B (companion frame limit); ota_mesh_push --text 2026-11-13 01:06:06 +01:00
tth 637b0d78b7 FwUpdate: binary firmware chunks over the mesh (REQ_TYPE_FW_OTA 0xF0) 2026-11-13 00:55:06 +01:00
tth 5f8788c4b4 FwUpdate: fw base prints the full sha256 of the running image (cache vs fresh) 2026-11-13 00:37:12 +01:00
tth 228e7a129b FwUpdate: manifest check and verify run in loop(), not in the command handler 2026-11-13 00:23:05 +01:00
tth aaca10958e FwUpdate: format 2 delta packages (FwPatch in RAM), base checked with the manifest 2026-11-12 23:52:14 +01:00
tth 8d3e554ca3 FwPatch: in-place delta update (detools 0.53.0 vendored), dry run predicts the real run 2026-11-12 23:23:40 +01:00
tth 3cb3a458ce FwUpdate: battery gate skipped on USB power (VBUS) 2026-11-12 22:29:21 +01:00
tth b7b397b9b1 README: nRF52 boot undervoltage lock is off, waiting for upstream #2088 2026-11-12 22:08:33 +01:00
tthandClaude Opus 5.5 e6a3184423 pub-release, README: formatted flashing notes, release names, dutycycle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 19:16:42 +01:00
tthandClaude Opus 5.5 a2dacb805d pub-release: changelog unfolds merges of our own branches
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 17:47:25 +01:00
tthandClaude Opus 5.5 d4afea1eb3 pub-release: tag v1.18.0+tth.<date>, dated title and asset names
pub-release / release (push) Successful in 21m58s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 17:31:24 +01:00
Eve 9e70d32f79 add cli option to set custom bluetooth name 2026-11-12 11:09:43 -05:00
tthandClaude Opus 5.5 8ec702e9b6 Merge feat/rxps: optional SX1262 RX duty cycle (EasySkyMesh PowerSaving v18)
pub-release / release (push) Successful in 21m59s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 16:53:44 +01:00
tthandClaude Opus 5.5 0d3cb6051d rxps: measured on the bench, documented, built into the public releases
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 16:53:44 +01:00
tthandClaude Opus 5.5 03d06d5176 ci: fall back to the image's python3 when setup-python's build cannot run
pub-release / release (push) Successful in 24m45s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 16:26:23 +01:00
tthandClaude Opus 5.5 e3200086c4 pub-release: changelog since the previous release in the release body
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 16:24:57 +01:00
tthandClaude Opus 5.5 b06fd957b9 radio: RX duty cycle (RXPS) from EasySkyMesh PowerSaving v18, opt-in
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 14:57:16 +01:00
tth daaf0c2267 FwUpdate: admin-pushed OTA without a bootloader change (bench stage) 2026-11-12 14:24:24 +01:00
tthandClaude Opus 5.5 507842cea2 sensors: INA shunt set at runtime -- sensor set ina.shunt <mOhm>, kept in prefs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:58:39 +01:00
tthandClaude Opus 5.5 ad4f53016c sensors: every continuously converting chip sleeps between reads; INA chips identified
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:38:13 +01:00
tthandClaude Opus 5.5 b1e4e65c52 sensors: INA219 sleeps between telemetry reads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 12:51:40 +01:00
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 d1d04f98ef README: our part in Czech first, English below
pub-release / release (push) Successful in 26m11s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 11:45:57 +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
Olexandr Tyshchenko be9d278a96 Limit the first periodic GPS acquisition after boot
Before the first fix since boot, a periodic acquisition had no timeout. If no
fix is accepted (no sky view, no antenna, or a guard rejecting spoofed fixes),
the receiver then stayed on until a fix was accepted.

Give that window its own limit, GPS_FIRST_FIX_TIMEOUT_MS (15 min by default,
enough for a full almanac; 0 keeps the old behaviour). It counts as a miss and
the next acquisition starts after the configured period.
2026-11-12 10:48:10 +02: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
tth 40b6ccc0f2 Merge upstream/main (7 commits) [upstream-sync] 2026-11-12 09:16:19 +01:00
Quency-D 7762588e58 Fix RC52 unused SPI1 MISO pin mapping
Use pin index 0, which maps to NRFX_SPIM_PIN_NOT_USED, to avoid the nRF52 SPI constructor indexing g_ADigitalPinMap[255]. Remove the absent MISO shutdown reset so the sentinel cannot reset physical P0.00. Follows the variant-side fixes in #3188 and #3189.

Validated heltec_rc52_repeater and heltec_rc52_companion_radio_ble builds. ELF disassembly confirms the MISO lookup uses map[0]=0xFF instead of the +1020-byte read and shutdown has no P0.00 reset. No hardware testing performed.
2026-11-12 15:54:21 +08:00
Quency-D bf0ccfe2eb Fix RC52 companion radio builds 2026-11-12 14:20:08 +08:00
Quency-D 6ff32a57da Merge pull request #20 from meshcore-dev/dev
merge Dev
2026-11-12 14:03:11 +08:00
Liam Cottle 75737f548e Merge pull request #3822 from liamcottle/fix/3811
fix for mdns string not compiling due to ambiguous overload
2026-11-12 16:10:48 +13:00
liamcottle 8c06b34156 fix for mdns string not compiling due to ambiguous overload 2026-11-12 16:08:30 +13:00
Olexandr Tyshchenko 87679ba526 GPS guard: reject a fix the receiver reports as 2D (GSA)
The guard checked satellites and HDOP but not the fix type. When the
receiver sends GSA, a fix it reports as 2D or no-fix is now rejected
(`rej 2d`). Receivers without GSA are unchanged (fix mode unknown).
GPS_GUARD_REQUIRE_3D=0 turns the check off. `gps diag` shows the fix
mode as `fm`.
2026-11-12 00:34:05 +02:00
fdlamotte cb09798408 Merge pull request #3819 from nullrouten0/fix/gps-nmea-buffer-tail
GPS: stop MicroNMEA reading past the NMEA buffer
2026-11-11 18:29:30 -04:00
nullrouten0andClaude Sonnet 5.5 d1be1cbef0 GPS: stop MicroNMEA reading past the NMEA buffer
Add a 16-byte zeroed tail behind the 100-byte NMEA buffer. MicroNMEA's
fixed-width field skips can read a few bytes past the end of a malformed
sentence; with the tail those reads land on NUL bytes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:58:36 +00:00
fdlamotte 8c88340e82 Merge pull request #3817 from AlexandrTyshchenko/docs/gps-guard-alert-telemetry
GPS guard: drop leftovers of the alert telemetry channel
2026-11-11 10:39:49 -04: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
fdlamotte 65eca34c5a Merge pull request #3815 from fdlamotte/advert_loc_pref
CommonCLI: get/set loc to replace gps advert command
2026-11-11 10:11:49 -04:00