Fix review findings in radio settings path hash size
- Presets no longer reset the path hash size; the unused preset field is gone - Confirm the new path hash size from the refreshed DEVICE_INFO and show a specific error when the radio does not apply it - Log path hash size with the other radio settings and on manual edits - Add MeshCoreConnector.supportsPathHashMode and use it in both screens - Use the same 0-2 mode values and helper text as the other selectors
This commit is contained in:
1 parent
f8a9922ba4
commit
143ca57279
25 files changed
+205
-32
No files matched your search
@@ -681,6 +681,9 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
/// from ver code 8.
|
||||
bool get supportsNodeDiscover => (_firmwareVerCode ?? 0) >= 8;
|
||||
|
||||
/// CMD_SET_PATH_HASH_MODE exists from ver code 10 (v1.14.0).
|
||||
bool get supportsPathHashMode => (_firmwareVerCode ?? 0) >= 10;
|
||||
|
||||
/// CMD_GET/SET_DEFAULT_FLOOD_SCOPE exist from ver code 11 (v1.15.0).
|
||||
bool get supportsDefaultFloodScope => (_firmwareVerCode ?? 0) >= 11;
|
||||
|
||||
|
||||
Reference in new issue
Block a user