Commit Graph
3224 Commits
Author SHA1 Message Date
Josiah VanderZee e56c1b3d58 Do not perform redundant reset on ST7789 displays
The `::init` method in the Adafruit ST7789 library is responsible to
initialize the device. This includes performing a reset, which can be
found in the Adafruit source for `Adafruit_SPITFT`.

Before this change, MeshCore performed its own ST7789 display reset
sequence, which consisted of three steps.

* Pull reset low
* Wait 10ms
* Pull reset high

Importantly, there was no fixed delay after pulling reset high. The
ST7789 driver requires a delay (T<sub>RT</sub>) of 5ms in Sleep In Mode
and 120ms in Sleep Out Mode before it will properly receive commands.
When `Adafruit_SPITFT` resets the device after MeshCore has already
reset it, the mandatory time may not have elapsed, leading to strange
behavior. In the author's case, this issue caused the initial
`fillScreen` to fail, such that the display showed an uninitialized
framebuffer.

This removes the MeshCore delay, leaving the responsibility of reset to
`Adafruit_SPITFT`, where they have the correct delays in place with
extra safety margin. The change was briefly tested by Josiah VanderZee
and Ben Zignego on a custom hardware build using an nRF52840 Dongle and
an Adafruit 4311 TFT display. The user button seemed to behave
strangely, but the display looked correct.
2026-05-04 17:01:39 -05:00
Valentin V. Bartenev 58258aa673 Adjust tag name for triggering repeater builds 2026-05-04 04:35:47 +03:00
Valentin V. Bartenev ccd5a588a2 Adjust firmware GitHub building actions 2026-05-04 02:08:02 +03:00
Valentin V. Bartenev dd90afba1d NetworkService: keep hasTimeSync() true for 24h after WiFi drops
_have_time_sync is reset to false whenever WiFi disconnects, even
though the ESP32 RTC continues to hold accurate time after a
successful SNTP sync. This caused hasTimeSync() to return false
during transient WiFi outages, unnecessarily tearing down MQTT
broker connections and suppressing packet publishing.

Introduce _last_time_sync to record the wall-clock time of the
most recent confirmed sync. Move hasTimeSync() out of the header
into NetworkService.cpp and extend its logic: in addition to the
existing _have_time_sync flag, return true if the system clock is
still sane (>= kMinSaneEpoch) and no more than kMaxOutOfSync (24h)
has elapsed since the last confirmed sync.

This makes the MQTT uplink resilient to brief WiFi dropouts without
requiring any changes to callers of hasTimeSync().

Also bump kMinSaneEpoch from 2025-01-01 to 2026-01-01.
2026-05-03 22:10:32 +03:00
Valentin V. Bartenev 80851b9c25 Use Russian NTP servers 2026-05-03 20:09:57 +03:00
Valentin V. Bartenev c2074fc996 Docs: reorder items in userguide list 2026-05-02 21:46:35 +03:00
Valentin V. Bartenev 12a9d3b8dc Docs: translate title 2026-05-02 21:43:36 +03:00
Valentin V. Bartenev 85ad6a2852 Docs: fix building due to missing quotes around string with colon in yaml 2026-05-02 21:41:52 +03:00
Valentin V. Bartenev 2d47eef756 Docs: switch theme language and localize the rest 2026-05-02 21:39:52 +03:00
Valentin V. Bartenev 9bdca82e48 Docs: shorter menu title for firmware building 2026-05-02 21:32:54 +03:00
Valentin V. Bartenev fdd6ef7b0b Docs: fixes and menu translation 2026-05-02 21:31:14 +03:00
Valentin V. BartenevandGitHub 0b6501f874 Heading for features lists in README.md 2026-05-02 20:48:45 +03:00
Valentin V. BartenevandGitHub 194e004186 Add info about fan control feature to README.md 2026-05-02 20:13:36 +03:00
Valentin V. BartenevandGitHub 3b017b42f0 Even shorter heading README.md 2026-05-02 20:12:19 +03:00
Valentin V. BartenevandGitHub fa2f1fc1b5 Shorter heading in README.md 2026-05-02 20:11:05 +03:00
Valentin V. BartenevandGitHub dedffa6dc2 Update README.md 2026-05-02 20:08:45 +03:00
Valentin V. Bartenev 5cc794ce1b Slightly refresh docs index 2026-05-02 19:53:12 +03:00
Valentin V. Bartenev 28d43e964d Adopt and translate documentation 2026-05-02 19:47:10 +03:00
Valentin V. BartenevandGitHub fda92915d4 Reorganize web-panel feature list in README.md 2026-05-02 18:54:58 +03:00
Valentin V. Bartenev a6a6b4f43f Slightly crop web-panel app screenshot
To make it equally sized with the stats one, which gives better look
when they are side-by-side on the README page.
2026-05-02 17:19:56 +03:00
Valentin V. BartenevandGitHub 80c83423fa Adjust web-panel features and screenshots in README.md 2026-05-02 17:02:17 +03:00
Valentin V. Bartenev 9e964d3b23 Update web-panel screenshots to MeshCoreTel variant
Format is changed to WebP for better compression and reduced loading time.
2026-05-02 16:50:58 +03:00
Liam CottleandGitHub e727fd543b Merge pull request #2462 from meshcore-dev/target-dup-cleanup
Refactor: removed duplicated target code
2026-05-02 17:21:51 +12:00
Nick Le Mouton c4137e78d0 Add stddef.h 2026-05-02 17:12:03 +12:00
Valentin V. BartenevandGitHub d129846acd Add screenshots of web-panel to README.md 2026-05-02 04:22:36 +03:00
Valentin V. Bartenev c4e7a43639 Adjust GitHub-pages site logo 2026-05-02 01:34:02 +03:00
Valentin V. Bartenev 18a0db8d42 Adjust GitHub-pages site configuration for MeshCoreTel-firmware 2026-05-02 01:30:25 +03:00
Valentin V. Bartenev 4c95fb11d4 Remove migaration docs page
It's about migration from older EastMesh firmware:

 - https://github.com/xJARiD/MeshCore

and  not relevant to MeshCoreTel at all.
2026-05-02 01:13:54 +03:00
Valentin V. Bartenev ea3f676a3a Replaced EastMesh to MeshCoreTel across all the docs 2026-05-01 20:45:40 +03:00
Valentin V. BartenevandGitHub 3ae2aab8ed Fix EastMesh firmware URI in README.md 2026-05-01 20:30:13 +03:00
Valentin V. BartenevandGitHub ef65791d72 Additional correction in README.md 2026-05-01 20:23:13 +03:00
Valentin V. BartenevandGitHub b0ead9e695 Fix README.md 2026-05-01 20:21:07 +03:00
Valentin V. BartenevandGitHub 729f5c45e4 Adjust heading in README.md 2026-05-01 20:00:14 +03:00
Valentin V. BartenevandGitHub d0b9c82464 Update README.md 2026-05-01 19:59:14 +03:00
Valentin V. BartenevandGitHub fe8e0556df Translated README.md 2026-05-01 19:51:18 +03:00
Liam CottleandGitHub 679fb9c0ab Merge pull request #2460 from liamcottle/ui/startup-mute
Don't play startup tune if buzzer pref disabled
2026-05-02 02:24:37 +12:00
liamcottle 5a509752a7 don't play startup tune if buzzer pref disabled 2026-05-02 01:47:35 +12:00
Valentin V. Bartenev 89aec17b68 Remove Station G2 repeater build with logging
There's no known reason why additional firmware build of this board
with serial logging enabled was needed.

So, removing it for now to optimize building process and cleanup
firmware list.
2026-05-01 15:34:23 +03:00
Valentin V. Bartenev d74d99c7f1 Add DIY ESP32S3 N16R8 E22 Back2back board support
This closes #1.
2026-05-01 15:29:56 +03:00
jirogit f224a325e6 fix: enable radio.rxgain CLI command for LR1110 (T1000-E)
USE_LR1110 was missing from the preprocessor guard in CommonCLI.cpp,
causing both get and set to fail silently on T1000-E:

- get radio.rxgain returned the full radio config string (fell through
  to the memcmp("radio", 5) branch)
- set radio.rxgain returned "unknown config" (no branch matched)

Fix: add -D USE_LR1110 to variants/t1000-e/platformio.ini and include
USE_LR1110 in the #if guard on both get and set branches.

CustomLR1110Wrapper already implements setRxBoostedGainMode() and
getRxBoostedGainMode() via the RadioLibWrapper virtual interface,
so no radio-layer changes are required.

Tested on T1000-E: get/set/persist all confirmed working.
2026-05-01 00:31:31 -07:00
Scott Powell 0a8a0a4904 * Refactor: removed duplicated radio_rng_seed(), radio_set_params(), radio_set_tx_power() 2026-05-01 14:47:07 +10:00
Liam CottleandGitHub ccda0a99d8 Merge pull request #925 from mtlynch/unit-tests
Add unit tests for Utils::toHex
2026-05-01 14:49:45 +12:00
Liam CottleandGitHub 9b1ca6b10b Merge pull request #2456 from Avi0n/docs/fix-typos
fix typos in docs
2026-05-01 14:16:51 +12:00
Avi0n 0be082b5f9 fix typos 2026-04-30 14:21:26 -07:00
Liam CottleandGitHub c7c400ed5d Merge pull request #2428 from recrof/minewsemi-refactor
minewsemi: refactor platformio.ini
2026-05-01 00:56:32 +12:00
Rastislav VysokyandGitHub d7e3a9ddba Merge branch 'dev' into minewsemi-refactor 2026-04-30 14:48:49 +02:00
Liam CottleandGitHub ffbf73dc5c Merge pull request #2432 from recrof/kiss-radio-everywhere
kiss radio: added stm32 support + envs in platformio.ini
2026-05-01 00:36:46 +12:00
Liam CottleandGitHub 5c651b35a0 Merge pull request #1954 from OverkillFPV/lora-longer-preamble
Lora longer preamble
2026-04-30 22:12:04 +12:00
Liam CottleandGitHub bd90475d72 Merge pull request #2448 from weebl2000/bump-sensor-version
bump simple_sensor version to v1.15.0
2026-04-30 21:43:06 +12:00
Liam CottleandGitHub 9ce6b49cd3 Merge pull request #2430 from oltaco/use-forked-adafruit-nrf52
Use internal fork of Adafruit nRF52 Arduino
2026-04-30 21:42:24 +12:00