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
Olexandr Tyshchenko
6b3da8a2b1
GPS: optional anti-spoofing guard for position and time (GPS_GUARD)
...
A spoofed GPS signal can move a fixed node anywhere and set its clock to
any time; the clock only moves forward, so a time pushed into the future
breaks timestamps and replay protection until fixed by hand.
With GPS_GUARD, MicroNMEALocationProvider asks a GpsGuard before a fix is
stored as the last fix (satellites, HDOP, optional region box, fence
around the configured position, jump speed, N stable fixes) and before
GPS time is written to the clock (trusted fix current, not before the
build date, small steps once the clock is valid, drift-sized after the
first sync). Without a trusted fix no live position is reported.
CLI in CommonGpsPrefs: 'gps guard', 'gps guard accept', 'gps fence',
'gps ref'; CommonCLI keeps the reference on set lat/lon and gps setloc,
resets the time anchor on manual clock sets and adds 'time force'.
Ported from #3736 onto the GpsDriver/LocationProvider refactor.
2026-11-09 20:43:09 +02: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
rado
b2bde37fe4
Fix unsigned conversion of negative TX power in CommonRadioPrefs
2026-10-17 09:36:59 +02:00
Blake Latchford
e1877c015b
Constrain agc.reset.interval and allow intervals > 255s
2026-09-21 12:26:36 -04:00
Scott Powell
55855f4cae
* DynamicConfigSerializer fixes, and unit tests
2026-08-24 19:42:55 +10:00
Scott Powell
71deb27b7e
* prefs, custom dirty state
2026-08-24 17:22:15 +10: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
f66ed7ca88
* CommonRadioPrefs refactors done
2026-08-23 17:30:30 +10:00
Scott Powell
414e91fd5d
* adding new CommonRadioPrefs
...
* refactor: moving various radio CLI handling to CommonRadioPrefs
2026-08-23 14:45:15 +10:00
ripplebiz
09933264fb
Merge pull request #3188 from oltaco/heltec-t096-pin-fix
...
Fix Heltec T096 Tx issue
2026-08-12 23:00:31 +10:00
taco
0f686aa3f1
Revert "t096 compiler layout workaround"
...
This reverts commit bdefc8d085 .
2026-08-12 22:28:36 +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
taco
bdefc8d085
t096 compiler layout workaround
...
see https://github.com/meshcore-dev/MeshCore/issues/3151
2026-08-12 14:04:50 +10:00
agessaman
2eb7feffe0
fix(station-g3): expose FEM gain preferences
2026-08-06 15:29:14 -07:00
taco
cb7b158931
LR2021: auto-LDRO for side detectors
2026-08-05 14:23:32 +10:00
taco
5687ba3f87
LR2021 multi-SF support (side detectors)
2026-08-05 14:23:32 +10:00
Scott Powell
10434a1cfd
* added prefs initialisers to match original zeroed state
2026-07-18 19:22:53 +10:00
Scott Powell
a4e7cdf4f3
* first draft of new ConfigSerializer. (simple embedded JSON prefs)
2026-07-15 01:23:57 +10:00
taco
1a90abdbe2
return bool when setting rx boost
2026-06-26 07:44:01 +10:00
Wessel Nieboer
e77b6b101f
Have CAD be a separate toggle (set cad on/off)
2026-06-14 15:20:58 +02:00
Quency-D
606f8f1cc3
Merge branch 'dev' into cli-lna-command
2026-06-10 11:30:04 +08:00
Scott Powell
d66597c3e7
* new CLI config: flood.max.advert (default 16)
2026-06-06 13:09:24 +10:00
Scott Powell
3a707fad43
* simplified the new flood.max.unscoped pref
2026-06-02 14:15:33 +10:00
Chris Barker
a7bb4bef76
Feat: Adds flood.max.unscoped setting
...
Before this commit, there was no way to set a different max hop count
for unscoped messages.
Now with this change, by defaul it tracks the flood.max setting, until
a user provides a flood.max.unscoped value, which tax precidence for
packets if ROUTE_TYPE_FLOOD is true.
2026-06-01 21:30:17 +01:00
Quency-D
9641f7b2a2
Merge branch 'dev' into cli-lna-command
2026-04-25 15:28:07 +08: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
Quency-D
1cc1b7fa58
Add v4 FEM LNA CLI control commands.
2026-03-24 10:48:15 +08:00
João Brázio
e8b758532c
Rename sx126x_rx_boosted_gain to rx_boosted_gain
2026-03-05 18:14:47 +00:00
João Brázio
a5dc732fb0
Merge remote-tracking branch 'upstream/dev' into 2026/remote-lna
2026-03-05 17:21:38 +00:00
Scott Powell
f4d1bfea18
* repeater: new "get/set loop.detect {off | minimal | moderate | strict }"
2026-03-05 16:26:09 +11:00
João Brázio
75508ac10b
Merge branch 'dev' into 2026/remote-lna
2026-02-27 10:32:14 +00:00
Scott Powell
9f1f1bcf47
* CommonCLI: added "get/set path.hash.mode "
2026-02-23 14:25:19 +11:00
João Brázio
072d73b0f2
Implement remote lna toggle cli cmd
2026-02-10 15:02:23 +00:00
Wessel Nieboer
20e71ebc53
Allow negative tx power
...
Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
2026-02-06 02:24:51 +01:00
liamcottle
6cb97cca77
boot adverts are now zero hop instead of flood
2026-01-26 22:20:36 +13:00
taco
1df8dc9ef3
refactor ClientACL and CommonCLI, add ClientACL::clear()
2026-01-25 01:31:53 +11:00
Scott Powell
3cc637c89d
* new ANON_REQ_TYPE_VER_OWNER
...
* CommonCLI: new "get/set owner.info ..."
2026-01-09 11:07:31 +11:00
Kevin Le
694e4df659
Added powersaving_enabled sanitization
...
Moved powersaving_enabled to match serialization order
2025-12-24 11:23:19 +07:00
Kevin Le
a1a7d10cae
Added powersaving to all ESP32 boards with RTC-supported DIO1
...
Added CLI to enable/disable powersaving
2025-12-23 12:48:08 +07:00
taco
da55ff8936
Repeater: add adc.multiplier setting
2025-11-21 18:15:30 +11:00
Scott Powell
778c2bfe9f
* new PAYLOAD_TYPE_CONTROL (11)
...
* repeater: onControlDataRecv(), now responds to new CTL_TYPE_NODE_DISCOVER_REQ (zero hop only)
* node prefs: new discovery_mod_timestamp (will be set to affect when node should respond to DISCOVERY_REQ's )
2025-11-06 00:56:54 +11:00
Michael Hart
ed9f003c33
Adds serial commands to get stats
...
- Added formatStatsReply, formatRadioStatsReply, and formatPacketStatsReply methods in MyMesh for both simple_repeater, simple_room_server, and simple_sensor.
- Updated CommonCLI to handle new stats commands.
2025-10-28 23:55:49 -07:00
Florent
a578ffcfb7
CommonCli: Remove dependency on target.h
2025-10-18 12:33:43 +02:00
Scott Powell
6e8eaedd8f
* Refactor: advert_loc_policy now applied in new method CommonCLI::buildAdvertData()
2025-10-12 12:49:26 +11:00
Florent
972b614f32
gps_cli: gps advert to control advert location policy
2025-10-11 19:00:02 +02:00
Florent de Lamotte
a53e608526
gps_cli: gps state is now saved and restored upon reboot
2025-10-06 15:12:03 +02:00