683 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 9652199464 Merge upstream/dev (16 commits): UITask moved to src/helpers/ui
pub-release / release (push) Successful in 37m52s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:39:13 +01:00
tthandClaude Opus 5.5 b7249f449a Repeater, room server, sensor, companion: build flag LOCKED_NODE for a node that keeps its secrets from whoever holds it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:21:29 +01:00
tthandClaude Opus 5.5 769139999d Companion: the private key and the BLE PIN are again refused over USB, UART and WiFi -- only paired BLE gets them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:09:12 +01:00
Scott Powell 26ae484af8 * interface manager now injected via begin() 2026-11-18 23:31:08 +11:00
Scott Powell d05ed2122c * companion UI's moved/refactored to src/helpers/ui
* only select variants .ini config refactored so far (Heltec V3, MeshTracker V1, LilyGo T-Echo Card)
2026-11-18 22:00:04 +11:00
upstream-sync-bot 8c11154a3a Merge upstream/dev (6 commits) [upstream-sync]
pub-release / release (push) Successful in 36m41s
2026-11-15 17:06:10 +00:00
Liam Cottle 04afba03ba Merge pull request #3754 from netrunnereve/bluetooth-name
Allow the user to set a custom bluetooth name using the cli
2026-11-15 20:01:46 +13:00
Eve 7416193a76 change prefix as well 2026-11-14 15:17:32 -05:00
upstream-sync-bot fbefa417b9 Merge upstream/dev (16 commits) [upstream-sync]
pub-release / release (push) Successful in 37m31s
2026-11-14 05:06:06 +00:00
Eve de721bcb4b use ble.name 2026-11-13 20:35:32 -05:00
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
Eve 9e70d32f79 add cli option to set custom bluetooth name 2026-11-12 11:09:43 -05: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 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
liamcottle 8c06b34156 fix for mdns string not compiling due to ambiguous overload 2026-11-12 16:08:30 +13:00
Florent 5662e79a78 companion_radio: rewrite mdns part removing String class 2026-11-11 07:37:24 -04:00
fdlamotte 1c4b237d73 Merge pull request #3770 from lihardyextreme/feature-mdns
feat: mDNS ESP32 - enable local network discovery over mDNS
2026-11-10 12:07:18 -04:00
fdlamotte be36c02d5b Merge pull request #3724 from akalinin-softvelum/feature/eink-busy-hook-v2
companion: keep mesh/BLE running during e-ink refresh
2026-11-10 08:40:43 -04:00
fdlamotte 8b16d8eb5e Merge pull request #3785 from AlexandrTyshchenko/feature/companion-adc-multiplier
Companion: set/get adc.multiplier CLI command
2026-11-10 08:11:33 -04:00
fdlamotte 822bea7b7c Merge pull request #3753 from fdlamotte/gps_refactor
Big GPS refactor
2026-11-10 07:44:00 -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
upstream-sync-bot aa30e3734e Merge upstream/dev (6 commits) [upstream-sync]
pub-release / release (push) Successful in 23m16s
2026-11-08 17:06:05 +00:00
Olexandr Tyshchenko 3f23ba9b2d Companion: set/get adc.multiplier CLI command, persisted in prefs
Repeaters, room servers and sensors already let the battery ADC multiplier be tuned with 'set adc.multiplier' (CommonCLI). The companion firmware had no equivalent, so a board whose divider differs from the build default (common on DIY ProMicro / Faketec boards) always reported a wrong battery voltage.

Adds the same command to the companion CLI. The value is stored in the companion prefs (comp.adc_mult, 0 = board default) and applied at startup via MainBoard::setAdcMultiplier().
2026-11-08 18:07:58 +02:00
Florent b2e46335e5 ui_task: let user choose if enter in gps screen toggles or triggers gps 2026-11-08 08:47:35 -04:00
Florent 5303703750 gps: adapt ui-new and the sensor managers 2026-11-08 08:47:34 -04:00
Florent dea38936d7 gps: move the gps CLI to GpsPrefs and convert all targets 2026-11-08 08:47:34 -04:00
Florent 81afafcb35 gps: add GpsDriver, handle the hardware and software switches in the drivers 2026-11-08 08:47:34 -04:00
anders-dc 2f00b0e83a fix(companion): guard null _serial in contact overwrite and full callbacks 2026-11-08 11:01:05 +01:00
Li Hardy Extreme 1e135e0bd2 feat: mDNS ESP32 - enable local network discovery over mDNS 2026-11-06 00:10:59 +01:00
tthandClaude Opus 5.5 0676aeb201 Merge upstream/dev (11 commits) [upstream-sync]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:36:32 +01:00
Liam Cottle b09b12d4ef Merge pull request #3603 from A13xB0/companion-buzzer-cli
Add CLI command to toggle the buzzer for companions
2026-10-30 12:53:18 +13:00
akalinin-softvelum e184a81423 companion: enable e-ink refresh loop only with EINK_REFRESH_LOOP
Only builds that define EINK_REFRESH_LOOP install the busy hook; for now
the T-Echo companion BLE/USB envs.
2026-10-29 13:21:11 +00:00
akalinin-softvelum d8b5724c38 companion: keep mesh/BLE running during e-ink panel refresh
Use GxEPD2's busy callback to run the mesh, interface and sensor loops
(loopCore(), shared with loop()) while the panel refreshes, instead of
blocking the main loop. Covers the partial refresh in endFrame(), the
full wipe in startFrame(), and the sleep icon / blank refresh on turnOff().
2026-10-29 12:38:30 +00:00
Florent 1d88a709bd ui: add some parameters to the cli (mostly regarding eink behaviour) 2026-10-29 08:34:41 -04:00
tth 790cf23466 Merge remote-tracking branch 'origin/dev' 2026-10-28 20:29:38 +01:00
Liam Cottle d1e27f5b21 Merge pull request #3615 from radek-sixi/fix/common-radio-prefs-signed-tx-power
Fix unsigned conversion of negative TX power in CommonRadioPrefs
2026-10-27 22:44:04 +13:00
upstream-sync-bot d5ad9e38e9 Merge upstream/dev (7 commits) [upstream-sync] 2026-10-26 05:06:09 +00:00
ripplebiz 4d3178d82a Merge pull request #3617 from aXistem-dev/feat/tz-offset-quarter-hours
Show quarter-hour timezone offsets with two decimals
2026-10-26 12:27:10 +11:00
upstream-sync-bot ad6f6a92f2 Merge upstream/dev (10 commits) [upstream-sync] 2026-10-25 01:03:21 +00:00
fdlamotte d65a6b9667 Merge pull request #3659 from fdlamotte/elecrow_eink_refactor
Elecrow eink refactor
2026-10-24 19:50:03 -04:00
Florent e8be1ad6b2 UiTask: better cleaning of eink screens when hibernating 2026-10-24 10:16:56 -04:00
Marcel Verdult 97a6ff714c fix(chat): refuse a negative text length for a group message
CMD_SEND_CHANNEL_TXT_MSG reads txt_type, channel_idx and a 4 byte timestamp, so
the frame needs 7 bytes before the text starts, and the branch had no length
guard. For a shorter frame "len - i" is computed in size_t, wraps, and reaches
sendGroupMessage() as a negative int. The clamp there tests
"text_len + prefix_len > MAX_TEXT_LEN", which a negative value passes, and the
following memcpy() converts the length back to a size_t: a 3 byte frame asks for
4294967292 bytes into a 197 byte stack buffer.

Two guards, because there are two mistakes. The branch now states its minimum
like most other branches of handleCmdFrame do, so a frame below 7 bytes is
answered through the existing path instead of being parsed. And
sendGroupMessage() refuses a negative length the way sendGroupData() in the same
file already does, which protects every other caller.

A frame of exactly 7 bytes keeps working and sends an empty message, as before.

Evidence. On a T-Echo running dev c9fa617c, built with
FIRMWARE_BUILD_DATE "f1-dev" and confirmed by "ver => v1.18.0 (Build: f1-dev)":

  CH_TXT len=7    -> RESP_CODE_OK
  GET_STATS core  -> uptime=78s
  CH_TXT len=3    -> NO REPLY
  DEVICE_QUERY    -> NO REPLY  (three times over 8 s, node never came back)
2026-10-22 09:33:07 +00:00
Florent afbab2de16 DisplayDriver: fixing alignment issue in vtable for nrf52 and epd display 2026-10-21 17:13:27 -04:00
Florent d1d06b92ab refactoring eink devices behaviour 2026-10-21 14:08:56 -04:00
Confituurke 8c4769d1ed Use two decimals only for exact quarter-hour offsets 2026-10-21 11:24:34 +02:00
tthandClaude Opus 5.5 dcb67b9a5e companion: clkreboot srovná hodiny napřed (#5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:48:49 +02:00
R0ck edb94d3fdc Apply buzzer setting changes in the UI so no reboot needed. 2026-10-17 23:53:27 +01:00
R0ck b9fa77ed69 Move to companion firmware, remove from varient 2026-10-17 23:37:14 +01:00
Confituurke 5f967d818a Show quarter-hour timezone offsets with two decimals
'get tz.offset' printed one decimal, so a UTC+5:45 offset (5.75)
read back as 5.8. Print two decimals when the offset is on a quarter
hour (x.25 / x.75); everything else keeps one decimal.
2026-10-17 13:03:06 +02:00