ScpResponseDiscover constructor

ScpResponseDiscover({
  1. String deviceId = '',
  2. String deviceType = '',
  3. String deviceName = '',
  4. int currentPasswordNumber = 0,
  5. String hmac = '',
  6. List<String> controlActions = const [],
  7. List<String> measureActions = const [],
})

Implementation

ScpResponseDiscover(
    {String deviceId = '',
    String deviceType = '',
    String deviceName = '',
    int currentPasswordNumber = 0,
    String hmac = '',
    List<String> controlActions = const [],
    List<String> measureActions = const []}) {
  _deviceId = deviceId;
  _deviceType = deviceType;
  _deviceName = deviceName;
  _currentPasswordNumber = currentPasswordNumber;
  _hmac = hmac;
  _controlActions = controlActions;
  _measureActions = measureActions;
}