Class CoreConfig
Represents the core configuration persisted to stimConfig.json.
Includes device-count, firmware, target-address, and amplitude-curve settings.
Inheritance
Namespace: Wss.CoreModule
Assembly: WSS_Core_Interface.dll
Syntax
public sealed class CoreConfig
Properties
ampCurves
Per-WSS amplitude curve parameters. Index 0 => Wss1, 1 => Wss2, 2 => Wss3. Defaults to three entries matching the 72mA built-in curve.
Declaration
public AmpCurveParams[] ampCurves { get; set; }
Property Value
| Type | Description |
|---|---|
| AmpCurveParams[] |
broadcastTarget
Gets or sets the on-wire broadcast receiver address used when sending to all devices.
The value is persisted as a hexadecimal string such as 0x8F.
Declaration
public string broadcastTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
firmware
Firmware version string (e.g., "H03", "J03").
Declaration
public string firmware { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
maxWSS
Maximum number of WSS devices supported by this app.
Declaration
public int maxWSS { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
useConfigAmpCurves
When true, use per-WSS amplitude curve parameters from this config. When false, use built-in defaults (72mA) or device-reported mode (10mA) mapping.
Declaration
public bool useConfigAmpCurves { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
wssTargets
Gets or sets the on-wire receiver addresses for logical Wss1, Wss2, and Wss3.
Index 0 maps to Wss1, index 1 to Wss2, and index 2 to Wss3.
Each entry is persisted as a hexadecimal string such as 0x81.
Declaration
public string[] wssTargets { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |