Class CANdleConfigurator
CANdle.-
Field Summary
Fields inherited from class ParentConfigurator
DefaultTimeoutSeconds -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a configurator for the CANdle. -
Method Summary
Modifier and TypeMethodDescriptionfinal StatusCodeapply(CANdleConfiguration configs) Applies the contents of the specified config to the device.final StatusCodeapply(CANdleConfiguration configs, double timeoutSeconds) Applies the contents of the specified config to the device.final StatusCodeapply(CANdleFeaturesConfigs configs) Applies the contents of the specified config to the device.final StatusCodeapply(CANdleFeaturesConfigs configs, double timeoutSeconds) Applies the contents of the specified config to the device.final StatusCodeapply(CustomParamsConfigs configs) Applies the contents of the specified config to the device.final StatusCodeapply(CustomParamsConfigs configs, double timeoutSeconds) Applies the contents of the specified config to the device.final StatusCodeapply(LEDConfigs configs) Applies the contents of the specified config to the device.final StatusCodeapply(LEDConfigs configs, double timeoutSeconds) Applies the contents of the specified config to the device.final StatusCodeClear sticky fault: Device 5V line is too high (above 6 V).final StatusCodeclearStickyFault_5VTooHigh(double timeoutSeconds) Clear sticky fault: Device 5V line is too high (above 6 V).final StatusCodeClear sticky fault: Device 5V line is too low (below 4 V).final StatusCodeclearStickyFault_5VTooLow(double timeoutSeconds) Clear sticky fault: Device 5V line is too low (below 4 V).final StatusCodeClear sticky fault: Device boot while detecting the enable signalfinal StatusCodeclearStickyFault_BootDuringEnable(double timeoutSeconds) Clear sticky fault: Device boot while detecting the enable signalfinal StatusCodeClear sticky fault: Hardware fault occurredfinal StatusCodeclearStickyFault_Hardware(double timeoutSeconds) Clear sticky fault: Hardware fault occurredfinal StatusCodeClear sticky fault: Device supply voltage is too high (above 30 V).final StatusCodeclearStickyFault_Overvoltage(double timeoutSeconds) Clear sticky fault: Device supply voltage is too high (above 30 V).final StatusCodeClear sticky fault: CANdle has detected the output pin is shorted.final StatusCodeclearStickyFault_ShortCircuit(double timeoutSeconds) Clear sticky fault: CANdle has detected the output pin is shorted.final StatusCodeClear sticky fault: CANdle output current exceeded the 6 A limit.final StatusCodeclearStickyFault_SoftwareFuse(double timeoutSeconds) Clear sticky fault: CANdle output current exceeded the 6 A limit.final StatusCodeClear sticky fault: Device temperature exceeded limit.final StatusCodeclearStickyFault_Thermal(double timeoutSeconds) Clear sticky fault: Device temperature exceeded limit.final StatusCodeClear sticky fault: Device supply voltage dropped to near brownout levelsfinal StatusCodeclearStickyFault_Undervoltage(double timeoutSeconds) Clear sticky fault: Device supply voltage dropped to near brownout levelsfinal StatusCodeClear sticky fault: An unlicensed feature is in use, device may not behave as expected.final StatusCodeclearStickyFault_UnlicensedFeatureInUse(double timeoutSeconds) Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.final StatusCodeClear the sticky faults in the device.final StatusCodeclearStickyFaults(double timeoutSeconds) Clear the sticky faults in the device.final StatusCoderefresh(CANdleConfiguration configs) Refreshes the values of the specified config group.final StatusCoderefresh(CANdleConfiguration configs, double timeoutSeconds) Refreshes the values of the specified config group.final StatusCoderefresh(CANdleFeaturesConfigs configs) Refreshes the values of the specified config group.final StatusCoderefresh(CANdleFeaturesConfigs configs, double timeoutSeconds) Refreshes the values of the specified config group.final StatusCoderefresh(CustomParamsConfigs configs) Refreshes the values of the specified config group.final StatusCoderefresh(CustomParamsConfigs configs, double timeoutSeconds) Refreshes the values of the specified config group.final StatusCoderefresh(LEDConfigs configs) Refreshes the values of the specified config group.final StatusCoderefresh(LEDConfigs configs, double timeoutSeconds) Refreshes the values of the specified config group.Methods inherited from class ParentConfigurator
getConfigsPrivate, reportIfFrequent, setConfigsPrivate
-
Constructor Details
-
CANdleConfigurator
Constructs a configurator for the CANdle. Users should callgetConfigurator()on the device instead.- Parameters:
id- Device identifier of the CANdle
-
-
Method Details
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.Call to apply the selected configs.
- Parameters:
configs- Configs to apply against.- Returns:
- Status code of applying the configs
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs- Configs to apply against.timeoutSeconds- Maximum amount of time to wait when performing configuration- Returns:
- Status code of applying the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.Call to apply the selected configs.
- Parameters:
configs- Configs to apply against.- Returns:
- Status code of applying the configs
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs- Configs to apply against.timeoutSeconds- Maximum amount of time to wait when performing configuration- Returns:
- Status code of applying the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.Call to apply the selected configs.
- Parameters:
configs- Configs to apply against.- Returns:
- Status code of applying the configs
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs- Configs to apply against.timeoutSeconds- Maximum amount of time to wait when performing configuration- Returns:
- Status code of applying the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.Call to apply the selected configs.
- Parameters:
configs- Configs to apply against.- Returns:
- Status code of applying the configs
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs- Configs to apply against.timeoutSeconds- Maximum amount of time to wait when performing configuration- Returns:
- Status code of applying the configs
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.Call to refresh the selected configs from the device.
- Parameters:
configs- The configs to refresh- Returns:
- Status code of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs- The configs to refreshtimeoutSeconds- Maximum amount of time to wait when performing configuration- Returns:
- Status code of refreshing the configs
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.Call to refresh the selected configs from the device.
- Parameters:
configs- The configs to refresh- Returns:
- Status code of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs- The configs to refreshtimeoutSeconds- Maximum amount of time to wait when performing configuration- Returns:
- Status code of refreshing the configs
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.Call to refresh the selected configs from the device.
- Parameters:
configs- The configs to refresh- Returns:
- Status code of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs- The configs to refreshtimeoutSeconds- Maximum amount of time to wait when performing configuration- Returns:
- Status code of refreshing the configs
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.Call to refresh the selected configs from the device.
- Parameters:
configs- The configs to refresh- Returns:
- Status code of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs- The configs to refreshtimeoutSeconds- Maximum amount of time to wait when performing configuration- Returns:
- Status code of refreshing the configs
-
clearStickyFaults
Clear the sticky faults in the device.This typically has no impact on the device functionality. Instead, it just clears telemetry faults that are accessible via API and Tuner Self-Test.
This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFaults
Clear the sticky faults in the device.This typically has no impact on the device functionality. Instead, it just clears telemetry faults that are accessible via API and Tuner Self-Test.
This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_Hardware
Clear sticky fault: Hardware fault occurredThis will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_Hardware
Clear sticky fault: Hardware fault occurredThis is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_Undervoltage
Clear sticky fault: Device supply voltage dropped to near brownout levelsThis will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_Undervoltage
Clear sticky fault: Device supply voltage dropped to near brownout levelsThis is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_BootDuringEnable
Clear sticky fault: Device boot while detecting the enable signalThis will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_BootDuringEnable
Clear sticky fault: Device boot while detecting the enable signalThis is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_UnlicensedFeatureInUse
Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_UnlicensedFeatureInUse
Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_Overvoltage
Clear sticky fault: Device supply voltage is too high (above 30 V).This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_Overvoltage
Clear sticky fault: Device supply voltage is too high (above 30 V).This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_5VTooHigh
Clear sticky fault: Device 5V line is too high (above 6 V).This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_5VTooHigh
Clear sticky fault: Device 5V line is too high (above 6 V).This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_5VTooLow
Clear sticky fault: Device 5V line is too low (below 4 V).This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_5VTooLow
Clear sticky fault: Device 5V line is too low (below 4 V).This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_Thermal
Clear sticky fault: Device temperature exceeded limit.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_Thermal
Clear sticky fault: Device temperature exceeded limit.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_SoftwareFuse
Clear sticky fault: CANdle output current exceeded the 6 A limit.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_SoftwareFuse
Clear sticky fault: CANdle output current exceeded the 6 A limit.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFault_ShortCircuit
Clear sticky fault: CANdle has detected the output pin is shorted.This will wait up to
ParentConfigurator.DefaultTimeoutSeconds.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFault_ShortCircuit
Clear sticky fault: CANdle has detected the output pin is shorted.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-