238 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 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
Eve 7416193a76 change prefix as well 2026-11-14 15:17:32 -05:00
Eve de721bcb4b use ble.name 2026-11-13 20:35:32 -05: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
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
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 dea38936d7 gps: move the gps CLI to GpsPrefs and convert all targets 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
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
Florent 1d88a709bd ui: add some parameters to the cli (mostly regarding eink behaviour) 2026-10-29 08:34:41 -04: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
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
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 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
upstream-sync-bot 3cc3dd49a9 Merge upstream/dev (6 commits) [upstream-sync] 2026-10-17 05:05:28 +00:00
liamcottle a763fd4c91 timezone offset is now stored as float to allow half hour offsets 2026-10-17 15:16:38 +13:00
tth 0335245362 Merge remote-tracking branch 'origin/dev' 2026-09-27 19:40:39 +02:00
Scott Powell 5c8ee09635 * changed onUnhandledResponse() to return true if handled/consumed
* unhandled responses (eg. push telemetry) now sent to app as PUSH_CODE_BINARY_RESPONSE frames
2026-09-24 13:49:57 +10: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
ripplebiz d1f1af18e9 Merge pull request #3431 from meshcore-dev/abstract-ui-overhaul
Abstract UI overhaul
2026-09-20 18:08:29 +10:00
liamcottle 66f2d49db6 allow fetching configured wifi password via companion cli 2026-09-20 14:22:13 +12:00
Scott Powell 9456aac555 * misc 2026-09-19 20:13:18 +10:00
liamcottle 6d2dcafdd0 added reboot, shutdown and poweroff to companion cli commands 2026-09-18 18:17:52 +12:00
Scott Powell 8e21a7cf3b * more MyMesh::Listener interface hooks 2026-09-17 17:33:36 +10:00
Scott Powell 083c2d6277 * MyMesh::begin() refactor, removing last display concepts 2026-09-17 14:25:41 +10:00
Scott Powell e72c9c3759 * refactored the UI_DISCOVER_* feature 2026-09-17 13:45:33 +10:00
Scott Powell ab3cb11a18 * refactor: removed UITask dependency from MyMesh. New MyMesh::Listener interface
* UITask's are now a MyMesh task Listener
2026-09-16 21:03:44 +10:00
Scott Powell e27c46342b Merge branch 'dev' into wio-tracker-L1-1W 2026-09-15 18:24:52 +10:00
ripplebiz d52dd3214d Merge pull request #3395 from jbrazio/fix/serial-command-clamp
[HIGH] Ensure command buffers stay NUL-terminated to prevent overflow
2026-09-11 14:09:24 +10:00
tekk d5b4315672 fix(companion): gate CMD_SEND_CHANNEL_DATA payload on MAX_GROUP_DATA_LENGTH
Payloads of 166 or 167 bytes previously passed the frame-sized bound
(MAX_CHANNEL_DATA_LENGTH = 167) but were rejected by sendGroupData
against MAX_GROUP_DATA_LENGTH (165), causing ERR_CODE_TABLE_FULL (retry
later) to be returned instead of ERR_CODE_ILLEGAL_ARG.

Fixes #3345
2026-09-09 22:10:41 +02:00
Liam Cottle 9350f1dced Merge pull request #3357 from skandragon/feat/picow-wifi-ble
Add WiFi to RPI PicoW (and perhaps others)
2026-09-09 21:55:22 +12:00
liamcottle bc333d89fa add new ENABLE_WIFI_INTERFACE build flag for companions without providing ssid and pwd 2026-09-08 22:54:50 +12:00
liamcottle 5be7b3c4ba simplify and remove 2 as a wifi enabled state 2026-09-08 21:30:17 +12:00
liamcottle 24b2e5e03d allow remote management of wifi as user has cli permission 2026-09-08 18:33:37 +12:00
liamcottle 7eb95d62b1 simplify response message 2026-09-08 18:30:00 +12:00
liamcottle 170491b34c allow toggling wifi enabled regardless of stored ssid 2026-09-08 18:25:34 +12:00