Commit Graph
116 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 f79ea79a13 Merge remote-tracking branch 'origin/dev'
Konflikty:
- ESP32Board.h: upstream obnovuje čas z RTC backupu přes všechny resety;
  záchytná hodnota je teď novější z FIRMWARE_BUILD_EPOCH (náš stamping)
  a RTC_TIME_MIN.
- t1000-e: upstream sloučil sleep_gps() do stop_gps() (drží VRTC + Airoha
  RTC backup sleep) ⇒ gps duty používá stop_gps(), sleep_gps() zrušen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 16:28:45 +02:00
Scott Powell 49d0dd3141 increased MAX_SEARCH_RESULTS to 24. (was 8)
Closes #3243
2026-09-24 13:35:27 +10:00
tthandClaude Opus 5.5 ab27c590fc Merge remote-tracking branch 'origin/dev' into main
77 upstream commitů (8.–23. 9. 2026): MyMesh::Listener místo UITask,
Board::handleCommand + board.loop() hook, agc.reset.interval, validace
`set af`, CMD_SEND_CHANNEL_DATA gate, DC-DC na LR1110/LR1121, nové desky.

Konflikty:
- simple_repeater/main.cpp: náš BLE vstup konzole + upstream oprava
  plného bufferu (\r na size-2, NUL na konci)
- platformio.ini: zůstává ${nrf52_fw.pkg} (pin je shodný s upstreamem)
- TxtDataHelpers.cpp: upstream verze (ltoa + include api/itoa.h) místo
  našeho sprintf — řeší totéž STM32 selhání
- EnvironmentSensorManager.h: obě metody

Postaveno: SenseCap_Solar_repeater_ble, SenseCap_hreb_rpt,
SenseCap_ples_rpt, Xiao_x1_rpt, Xiao_x2_cmp, T1000E_cmp_cz. Neflashováno.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:35:35 +02:00
ripplebiz deaacca580 Merge pull request #3131 from liekmarflow/feature/board-api-hooks
Add board loop hook for periodic work
2026-09-22 16:43:18 +10:00
Wolfram Keil ba345d486c Add board loop hook for periodic work 2026-09-22 08:01:48 +02:00
ripplebiz 191e5ee2f7 Merge pull request #3402 from meshcore-dev/sensor-improvements
Sensor improvements
2026-09-21 19:03:18 +10:00
Scott Powell f189c7450c * subscribe response now returns expiry_secs (not timestamp) 2026-09-15 17:17:48 +10:00
Scott Powell 1c43df5cad * fix for telemHasChanged() 2026-09-14 20:23:10 +10:00
Scott Powell b86ae06288 * min_deltas now mandatory 2026-09-13 11:05:38 +10:00
Scott Powell 074ec3fff1 * telemHasChanged() mod, so that only _specified_ min_delta values are considered. 2026-09-12 16:53:45 +10:00
Scott Powell a3ba885753 * refactor: LPP helpers moved to LPPData class 2026-09-08 17:55:02 +10:00
Scott Powell d0f96becb1 * CLI: removed "sub" and "unsub" (cannot support via command line)
* _SUBSCRIBE: binary req/resp payload changes (now keeps supplied 'push_tag')
* Sensor: added MCU temperature support in telemetry
2026-09-07 13:56:47 +10:00
Scott Powell 96866be339 * added region load/save support
* SUBSCRIBE now with timeout param (default 30 mins, max ~18 hours)
2026-09-05 15:59:29 +10:00
João Brázio dbb2aeee00 Ensure command buffers stay NUL-terminated to prevent overflow
The serial command buffers must stay NUL-terminated within their
bounds: if they ever aren't, strlen() can return >= sizeof(command)
and the read loop would index past the buffer. Additionally, a full
buffer now becomes a completed line (end-of-line marker placed
inside the buffer, NUL terminator kept) instead of overwriting the
terminator and silently corrupting the buffer for the next pass.

Applies to the serial CLI readers of the repeater, room server,
sensor and secure chat examples, and to the CLI rescue reader of
the companion example.
2026-09-04 20:01:39 +01:00
Scott Powell 595bf44beb * sensor: CLI "sub" and "unsub" commands 2026-09-04 22:02:49 +10:00
Scott Powell fa0c7b8a5a * new: REQ_TYPE_SUBSCRIBE and REQ_TYPE_UNSUBSCRIBE 2026-09-04 15:13:17 +10:00
Scott Powell 90c6be0cbf * default and reply scopes now applied 2026-09-03 14:09:15 +10:00
tthandClaude Opus 5 82a74318c4 Merge remote-tracking branch 'origin/dev' into main
58 commitů upstreamu nad v1.17.1. Šest konfliktů, všechny ručně:

- `src/helpers/radiolib/RadioLibWrappers.cpp` — OBOJE. Upstream `aa229245`
  přidává `idle()` před `setOutputPower()` na LR2021 (tam jsou to standby-only
  příkazy a přijímač se sám nevrátí do Rx); naše část si dál drží návratový
  status, aby „rádio to odmítlo" a „rádio to změnilo" nevypadaly z konzole
  stejně. Nezávislé věci, obě zůstávají.
- `src/helpers/CommonCLI.cpp` — VERZE UPSTREAMU. Celý blok `radio`,
  `radio.rxgain` a `radio.fem.*` byl čistě upstreamový kód (diff proti merge
  base v té oblasti je prázdný) a upstream ho přestěhoval do nového
  `CommonRadioPrefs`; FEM příkazy zrušil ve prospěch per-variant klíčů
  `fem_rxgain`/`fem_txgain`.
- `examples/simple_repeater/MyMesh.h` — NAŠE + úklid. `static_assert` na
  64bajtový wire formát `RepeaterStats` zůstává, `MAX_CLIENTS` odsud mizí:
  `1a8d860d` ho centralizoval do `helpers/ClientACL.h`, který je tu už
  includovaný.
- `examples/simple_repeater/MyMesh.cpp` — NAŠE. Konflikt byl falešný (upstream
  ten řádek nemění), jde o naše dva countery `tx_start_fail`/`tx_timeout`.
- `examples/companion_radio/ui-new/UITask.cpp` — OBOJE. Upstream přidal větve
  pro `UI_SHOW_CLOCK`, my podmínku `_task->isBluetoothEnabled()`, aby displej
  nenabízel PIN k párování, které není jak navázat.
- `platformio.ini` — OBOJE. Vedle našeho symlinku na lokální nRF52 framework
  přibyl upstreamový `toolchain-gccarmnoneeabi@^1.140201.0`.

Navíc: `[env:native_asan]` musel dostat `DynamicConfigSerializer.cpp` do
`build_src_filter`. Merge ho přidal jen do `[env:native]` a ASAN env pak padal
na undefined reference — což vypadá jako nález sanitizeru a je to jen chybějící
překladová jednotka. Ty dva envy musí zůstat v zákrytu.

Ověřeno: `pio test -e native` i `-e native_asan` 53/53, a čtyři envy, které
skutečně flashujeme, se přeloží (Xiao repeater / companion_radio_usb /
kiss_modem, t1000e_companion_radio_ble).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 02:19:04 +02:00
Scott Powell 5a7bc507d1 * new DynamicConfigSerializer
* board/variant KeyValueStore now can write to 'custom' object in Json prefs
2026-08-24 17:12:56 +10:00
Scott Powell 8c73c948b4 * T096, and Station G3: refactoring the 'FEM' prefs to variant-specific code
* CommonCLI: 'FEM' commands removed
* introduced static no-op attachDynamicPrefs() for all boards
2026-08-24 01:50:22 +10:00
Scott Powell 644e68d0ff * new TXT_TYPE_CLI_COMMAND (3) 2026-08-23 22:04:05 +10:00
tthandClaude Opus 5 acd235656f fix(mesh): šířku path hashe bere každá TX cesta z prefs uzlu, ne z konstanty
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-22 18:13:02 +02:00
Scott Powell cad602e416 * version 1.17.1 2026-08-14 22:19:19 +10:00
ripplebiz d5949f93d8 Merge pull request #3137 from agessaman/feat/station-g3-fem-prefs
Station G3: Expose, persist, and apply FEM gain preferences
2026-08-12 16:11:23 +10:00
Scott Powell 68dedd3e96 * version 1.17.0 2026-08-09 15:14:46 +10:00
agessaman 2eb7feffe0 fix(station-g3): expose FEM gain preferences 2026-08-06 15:29:14 -07:00
ripplebiz 86cf57b4e7 Merge pull request #2982 from meshcore-dev/config-serializer
Config serializer
2026-07-27 17:58:03 +10:00
Scott Powell 365332205e * refactor of Color mapping in UITasks / DisplayDrivers
* color displays now with a new light theme
2026-07-22 16:03:33 +10:00
Scott Powell a4e7cdf4f3 * first draft of new ConfigSerializer. (simple embedded JSON prefs) 2026-07-15 01:23:57 +10:00
Quency-D 1a1239844c Merge branch 'dev' into solar-watchdog 2026-07-04 16:47:37 +08:00
Wessel Nieboer e77b6b101f Have CAD be a separate toggle (set cad on/off) 2026-06-14 15:20:58 +02:00
Wessel Nieboer 720cd75167 Use hardware channel activity detection for checking interference 2026-06-14 15:19:18 +02:00
Quency-D 606f8f1cc3 Merge branch 'dev' into cli-lna-command 2026-06-10 11:30:04 +08:00
Scott Powell f4d0485dd6 * version 1.16.0 2026-06-06 21:09:38 +10:00
Quency-D 747845cfc2 Merge branch 'dev' into cli-lna-command 2026-05-09 18:19:31 +08:00
Quency-D 1b2faf07fc Merge branch 'dev' into solar-watchdog 2026-05-09 18:08:32 +08:00
Scott Powell 8903b907d1 * Refactor: removed duplicated radio_rng_seed(), radio_set_params(), radio_set_tx_power() 2026-05-01 14:47:07 +10:00
Wessel Nieboer 308fded6ab bump simple_sensor version to v1.15.0 2026-04-30 11:12:31 +02:00
liamcottle 5177ca76a2 added website to sensor splash screen 2026-04-28 20:40:13 +12:00
Quency-D ef83591306 Merge pull request #10 from meshcore-dev/dev
merge Dev
2026-04-27 14:48:26 +08:00
Quency-D 9641f7b2a2 Merge branch 'dev' into cli-lna-command 2026-04-25 15:28:07 +08:00
Scott Powell 4f40ffb305 Merge branch 'default-scope' into dev 2026-04-17 16:30:19 +10:00
Scott Powell 03fca12415 * repeater: refactored 'region' CLI commands -> CommonCLI
* room server: added RegionMap, and new CommonCLI wiring, default_scope handling
* sensor: only minimal RegionMap wiring. Still needs work to handle default-scope
2026-04-15 13:32:49 +10:00
Wessel Nieboer f7fec7cfd9 Default button polarity to active-LOW across all firmware types
Nearly all LoRa boards use a boot button that pulls to ground when
pressed.
2026-04-04 13:19:13 +02:00
Quency-D 50fd11227a Fix the memory leak issue in the strdup function. 2026-03-24 13:57:11 +08:00
Quency-D 1cc1b7fa58 Add v4 FEM LNA CLI control commands. 2026-03-24 10:48:15 +08:00
Scott Powell 03c44fb125 * version 1.14.1 2026-03-20 12:32:41 +11:00
ripplebiz 71e1e63dfd Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucket
Implement token bucket duty cycle enforcement
2026-03-08 23:54:32 +11:00
Scott Powell bece76210e * ver 1.14.0 2026-03-06 12:20:04 +11:00
Wessel Nieboer d7b406eb9a Address review comments 2026-03-04 03:13:53 +01:00