Meshtastic-Apple/Meshtastic/Views/Settings/Config
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
..
Module Disable Range Test module when primary channel is public/unsecured (#1512) 2025-12-17 20:01:36 -08:00
BluetoothConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
ConfigHeader.swift Transports Interface to Support TCP for all Platforms and Serial on Mac (#1341) 2025-08-27 08:09:02 -07:00
DeviceConfig.swift CLIENT_BASE add-favorite/role-change confirmation dialog (#1493) 2025-12-10 21:27:44 -08:00
DisplayConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
LoRaConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
NetworkConfig.swift 2.7.5 Working Changes (#1460) 2025-10-10 14:07:36 -07:00
PositionConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
PowerConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
SaveConfigButton.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
SecurityConfig.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00