ProtocolSpec

public final enum ProtocolSpec extends Enum

Holds supported MTU size Jacquard protocol versions.

EnumItems

Name Description
UNKNOWN
VERSION_1
VERSION_2

Methods

values

public static ProtocolSpec values()

ReturnValue

Name Description
ProtocolSpec

valueOf

public static ProtocolSpec valueOf(String name)

Parameters

Name Description
String name

ReturnValue

Name Description
ProtocolSpec

getProtocolId

public int getProtocolId()

Returns the protocol Id

ReturnValue

Name Description
int

getMtuSize

public int getMtuSize()

Returns the supports MTU size.

ReturnValue

Name Description
int