CustomProtocolDevice
A general-purpose primary device for custom protocols. Only used when downloading custom protocols from the CARP web service.
- Inheritance
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
CustomProtocolDevice.fromJson
CustomProtocolDevice
- String roleName = CustomProtocolDevice.DEFAULT_ROLE_NAME,
Create a new CustomProtocolDevice device descriptor. If roleName is not specified, then the DEFAULT_ROLE_NAME is used.
Constants
DEFAULT_ROLE_NAME
The default role name for a custom protocol device.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
Methods
toJson
Return a JSON encoding of this object.