fix: max_geo_range correctly identified as ADC Scale factor number.
This commit is contained in:
+5
-3
@@ -289,7 +289,8 @@ def _serialise_compliance_config(cc: Optional["ComplianceConfig"]) -> Optional[d
|
||||
"sample_rate": cc.sample_rate,
|
||||
"trigger_level_geo": cc.trigger_level_geo,
|
||||
"alarm_level_geo": cc.alarm_level_geo,
|
||||
"max_range_geo": cc.max_range_geo,
|
||||
"max_range_geo": cc.max_range_geo, # hw constant 6.206053 — informational only, do not write
|
||||
"max_range_geo_enum": cc.max_range_geo_enum, # 0x01=Normal 10in/s, 0x00=Extended 1.25in/s (unconfirmed)
|
||||
"setup_name": cc.setup_name,
|
||||
"project": cc.project,
|
||||
"client": cc.client,
|
||||
@@ -842,8 +843,9 @@ class DeviceConfigBody(BaseModel):
|
||||
------------------------------------------------
|
||||
trigger_level_geo : Trigger threshold in in/s (e.g. 0.5).
|
||||
alarm_level_geo : Alarm threshold in in/s (e.g. 1.0).
|
||||
max_range_geo : Full-scale calibration constant (e.g. 6.206).
|
||||
Rarely changed — only set if you know what you're doing.
|
||||
max_range_geo : DEPRECATED — was misidentified as the max range; it is actually a
|
||||
hardware/firmware constant (6.206053) the same on all units and
|
||||
must not be written. Passing this field is a no-op (ignored with warning).
|
||||
|
||||
Project / operator strings (max 41 ASCII characters each)
|
||||
----------------------------
|
||||
|
||||
Reference in New Issue
Block a user