GetConfigCommand
public class GetConfigCommand extends ProtoCommandRequest
Constructors
GetConfigCommand
public GetConfigCommand(int vid, int pid, String key)
Parameters
Name | Description |
---|---|
int vid
|
|
int pid
|
|
String key
|
Methods
getExtension
public
ReturnValue
Name | Description |
---|---|
|
parseResponse
public Result<Object> parseResponse(byte[] respByte)
Parses the raw response received from the tag into aResultobject.
Parameters
Name | Description |
---|---|
byte[] respByte
|
the response received from the tag |
ReturnValue
Name | Description |
---|---|
Result<Object>
|
a Result with either the parsed data or an error. |
getRequest
public Request getRequest()
Returns the request to be sent to the tag.
ReturnValue
Name | Description |
---|---|
Request
|
ReadsConfigElementfrom tag.