Commit Graph

2476 Commits

Author SHA1 Message Date
Wessel Nieboer
e3afbf975e Prevent auto-restarting BLE when disabling it on nRF52
If client is still connected, client would automatically reconnect
immediately thus keeping BLE on

fixes #1933
2026-03-10 14:31:58 +01:00
Liam Cottle
b47b85773d Merge pull request #1980 from MGJ520/dev
Add support for the GAT562 Mesh Tracker Pro device
2026-03-09 19:40:29 +13:00
MGJ
011c5ba102 Add support for the GAT562 Mesh Tracker Pro device 2026-03-09 14:25:24 +08:00
MGJ
dc48126baf Add support for the GAT562 Mesh Tracker Pro device 2026-03-09 13:13:41 +08:00
Scott Powell
2715d3a113 * Dispatcher::next_tx_time init fix 2026-03-08 23:58:28 +11:00
ripplebiz
cf0cc851d4 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
Liam Cottle
c8e003f88d Merge pull request #1960 from jbrazio/2026/devcontainer
Update devcontainer config
2026-03-08 01:54:26 +13:00
João Brázio
88f2e35faa devcontainer: add bun feature and update postCreateCommand 2026-03-07 12:49:25 +00:00
Liam Cottle
5ac8ab2a62 Merge pull request #1689 from aXistem-dev/feature/sensecap-led-fix
sensecap_solar: Fixing LED definitions
2026-03-07 23:55:09 +13:00
Confi
5188221584 sensecap_solar: fix LED definitions (white=11, blue=12) 2026-03-07 09:59:30 +01:00
Liam Cottle
76524c703f Merge pull request #1589 from marnick-hartgers/gps_sencecap_solar_p1
Added gps support for Sensecap p1 solar
2026-03-07 21:31:38 +13:00
ripplebiz
29be7e293c Merge pull request #1877 from DanielNovak/fix-countbefore-sentinel-regression
Fix countBefore regression: replace sentinel with getOutboundTotal()
2026-03-07 18:48:02 +11:00
Liam Cottle
aad56bb334 Merge pull request #1936 from Quency-D/dev-heltec-tracker-v2
Update Heltec Tracker v2 to version KCT8103L.
2026-03-07 17:59:19 +13:00
Liam Cottle
5dddb8a3a1 Merge pull request #1350 from weebl2000/sync-gps-time-30min
Sync gps time every 30min
2026-03-07 17:11:07 +13:00
Liam Cottle
2a6325d8f8 Merge pull request #1915 from weebl2000/fix-incorrect-ram-flash-maximums
Fix incorrect ram flash maximums (supersedes #765)
2026-03-07 16:52:39 +13:00
Liam Cottle
bd47d8d86b Merge pull request #1391 from R6DJO/fix_t1000-e_temp
T1000-E: Negative temperature values incorrectly displayed due to char signedness
2026-03-07 16:49:54 +13:00
Liam Cottle
ca476488bb Merge pull request #1364 from weebl2000/pass-rtc_clock-to-locationprovider
Pass rtc_clock to MicroNMEALocationProvider in all variants
2026-03-07 16:41:29 +13:00
Quency-D
7a8370fa69 Fixed a bug in the LORA_TX_POWER comment. 2026-03-06 16:04:47 +08:00
Quency-D
cdca79540f Update Heltec Tracker v2 to version KCT8103L. 2026-03-06 14:19:07 +08:00
Quency-D
14db7d43cc Merge pull request #7 from meshcore-dev/dev
merge Dev
2026-03-06 11:27:47 +08:00
Scott Powell
9f1a3eafcc Merge branch 'dev'
# Conflicts:
#	docs/cli_commands.md
room-server-v1.14.0 companion-v1.14.0 repeater-v1.14.0
2026-03-06 12:21:52 +11:00
Scott Powell
3fe2dd7f48 * ver 1.14.0 2026-03-06 12:20:04 +11:00
Scott Powell
5684b4f1b8 * LOOP_DETECT_MODERATE bug fix 2026-03-05 17:38:51 +11:00
Scott Powell
e233346bf0 * repeater: new "get/set loop.detect {off | minimal | moderate | strict }" 2026-03-05 16:26:09 +11:00
Liam Cottle
3031deb980 Merge pull request #1811 from robekl/docs_update_cli_commands
docs: correct CLI command forms and targeted typos
2026-03-05 15:31:32 +13:00
Liam Cottle
dc9e7abacc Merge pull request #1490 from mesher-de/feature-0hop-cli
Add CLI-command for zerohop advert
2026-03-05 15:24:48 +13:00
Liam Cottle
044c66e261 Merge pull request #1001 from kallanreed/fix_gps_debug_logging
Use correct macro for GPS logging test
2026-03-05 13:14:37 +13:00
Liam Cottle
3e5522fcde Merge pull request #1901 from weebl2000/fix-ikoka-handheld-build
Fix ikoka handheld build
2026-03-04 15:54:17 +13:00
Wessel Nieboer
60b76f56d9 update PR #765 2026-03-04 03:38:35 +01:00
Wessel Nieboer
801ed6bb0a Merge remote-tracking branch 'origin/dev' into fix-incorrect-ram-flash-maximums 2026-03-04 03:37:01 +01:00
Wessel Nieboer
67d22401b1 Pass rtc_clock to all MicroNMEALocationProvider instances
Enable GPS time synchronization across all variants by passing
&rtc_clock to MicroNMEALocationProvider. When GPS gets a valid
fix, the RTC clock is now updated automatically every 30 minutes.

Updated 16 variants: rak4631, lilygo_tbeam_SX1262, rak_wismesh_tag,
lilygo_tbeam_supreme_SX1262, thinknode_m3, heltec_v4, thinknode_m1,
lilygo_tbeam_SX1276, meshadventurer, nano_g2_ultra, heltec_v3,
promicro, xiao_c3, heltec_tracker_v2, keepteen_lt1, heltec_mesh_solar.
2026-03-03 15:45:07 +01:00
Wessel Nieboer
10f2fecd45 Sync time with GPS every 30 minutes
Unless your GPS is being spoofed there isn't really a downside to
syncing more often with GPS.

I understand the RTC is very stable, but especially with powersaving now
clock drift is worse, we should sync more often.
2026-03-03 15:44:55 +01:00
Wessel Nieboer
c0c9c17cf5 and buildscript 2026-03-03 15:37:33 +01:00
Wessel Nieboer
780720c117 and board! 2026-03-03 15:37:33 +01:00
Wessel Nieboer
90fcd1043f Fix ikoka handheld build
The extends was wrong.
2026-03-03 15:37:32 +01:00
Liam Cottle
cdd3d5f34e Merge pull request #1841 from weebl2000/nit-prefs
prefs is 5 char length :nerd:
2026-03-04 01:39:55 +13:00
ripplebiz
7c594ebc50 Merge pull request #1743 from weebl2000/fixagcreset
fix agc reset on SX126x, SX1276 & LR11x0 chips
2026-03-03 22:19:34 +11:00
Liam Cottle
ba3d9e264e Merge pull request #1836 from weebl2000/fix-rak3401-sky66122-11-fem
Fix RAK3401 SKY66122-11 FEM control: enable CSD/CPS for proper PA/LNA operation
2026-03-03 23:51:42 +13:00
Liam Cottle
d7ad89046b Merge pull request #1633 from weebl2000/fix/gps-uart-power-leak
Fix GPS UART consuming +8mA when disabled (nRF52)
2026-03-03 23:26:58 +13:00
Liam Cottle
67779aded8 Merge pull request #1600 from weebl2000/heltec_deep_sleep_lna
Hold GC1109 PA_POWER during deep sleep for LNA RX wake
2026-03-03 23:20:22 +13:00
Liam Cottle
bbd621ba85 Merge pull request #1351 from weebl2000/heltec_wireless_tracker_gps
Support GPS properly on Heltec Wireless Tracker v1.x
2026-03-03 23:11:46 +13:00
ripplebiz
6431cd2d47 Merge pull request #1900 from wbijen/feature/contact-filter-by-hops
Add configurable max hops filter for auto-add contacts
2026-03-03 21:05:44 +11:00
Wouter Bijen
1d190ad944 Clamp max_hops to 64 to cover full protocol hop range (0-63) 2026-03-03 09:05:53 +01:00
Wouter Bijen
2cb08775c0 Clarify comment wording: 1 = direct (0 hops)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 08:40:17 +01:00
Wouter Bijen
c016db86d5 Address PR review: subtract-1 encoding and clamp max_hops
- Change > to >= so stored value 1 means direct/0-hop only (liamcottle)
- Clamp max_hops to 63 on write since getPathHashCount() caps at 63 (robekl)
- Update comments to reflect encoding: 0=no limit, 1=direct only, N=up to N-1 hops

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 08:37:22 +01:00
Wouter Bijen
00566741f6 Add configurable max hops filter for auto-add contacts
Filter auto-add of new contacts by hop count (issues #1533, #1546).
Setting is configurable from the companion app via extended
CMD_SET/GET_AUTOADD_CONFIG protocol (0 = no limit, 1-63 = max hops).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 20:41:41 +01:00
Daniel Novak
0d87dcc989 Also fix countBefore(0xFFFFFFFF) to return _num
The signed comparison in countBefore breaks for the max uint32_t value.
Even though callers now use getOutboundTotal(), the function itself
should be correct for all inputs.
2026-03-01 07:41:50 +01:00
Wessel Nieboer
8a9a0dca5f Fix GPS +8mA power leak when disabled (nRF52)
On the T114, GPS_RESET (pin 38) is the same pin as PIN_3V3_EN.
MicroNMEALocationProvider::begin() sets pin 38 HIGH (powering the 3V3
rail) but stop() never set it back LOW, leaving the GPS module powered
even when disabled.

Assert reset pin in stop() to mirror begin(), and guard
_location->loop() behind gps_active check.

Fixes meshcore-dev/MeshCore#1628
2026-02-28 19:13:42 +01:00
Wessel Nieboer
59d9770ab9 Add GPS support Heltec Wireless Tracker v1.x
Pin mapping verified against HTIT-Tracker V0.5 schematic:
- GPIO35 (GPS_EN): N-ch MOSFET drives P-ch high-side switch, active HIGH
- GPIO36 (GPS_RST): hardware reset, active LOW
- GPIO33/34: UART TX/RX

Delegates power management to MicroNMEALocationProvider begin()/stop()
which independently controls GPS power via GPS_EN and shares VEXT with
the display through RefCountedDigitalPin.
2026-02-28 19:09:28 +01:00
Wessel Nieboer
9bae9d0ed2 fix comment, we know the band now after checking LR1110 user manual 2026-02-28 19:09:25 +01:00