Meshtastic-Apple/Meshtastic/Views/Settings/Config/Module
Jason Houk ffcbeee8f1
Disable Range Test module when primary channel is public/unsecured (#1512)
* Update Muzi R1 Neo to actively supported

* Disable Range Test module when primary channel is public/unsecured

Updated RangeTestConfig.swift to determine whether the primary channel (index 0) is operating without encryption or with a 1-byte minimal PSK.

Disabled Range Test UI controls when on a public/default channel to prevent user interaction.

Added safety enforcement in the save operation: Range Test enabled flag is automatically forced to false before sending updates to the device.

Introduced a computed property isPrimaryChannelPublic following existing code patterns and security indicators (e.g., hexDescription PSK length).

Matches the behavior implemented in the Android client for consistent policy across platforms.

---------

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-12-17 20:01:36 -08:00
..
AmbientLightingConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
CannedMessagesConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
DetectionSensorConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
ExternalNotificationConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
MQTTConfig.swift Set opt in 2025-11-02 08:49:33 -08:00
PaxCounterConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
RangeTestConfig.swift Disable Range Test module when primary channel is public/unsecured (#1512) 2025-12-17 20:01:36 -08:00
RtttlConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
SerialConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
StoreForwardConfig.swift Fix wantRangeTestPackets to correctly follow rangeTestConfig.enabled (#1489) 2025-10-30 14:35:40 -07:00
TelemetryConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00