BowlerKernel
|
Public Member Functions | |
SetUARTBaudrateCommand (int channel, int baudrate) | |
BowlerDatagram | validate (BowlerDatagram data) throws InvalidResponseException |
![]() | |
byte[] | getCallingData () |
void | setOpCode (String opCode) |
String | getOpCode () |
void | setMethod (BowlerMethod method) |
BowlerMethod | getMethod () |
byte | getLength () |
byte[] | getBytes () |
String | toString () |
void | setData (ByteList data) |
ByteList | getCallingDataStorage () |
void | setNamespaceIndex (int namespaceIndex) |
int | getNamespaceIndex () |
Additional Inherited Members | |
![]() | |
static BowlerAbstractCommand | parse (BowlerDatagram data) |
The Class SetUARTBaudrateCommand.
Definition at line 27 of file SetUARTBaudrateCommand.java.
com.neuronrobotics.sdk.commands.bcs.io.SetUARTBaudrateCommand.SetUARTBaudrateCommand | ( | int | channel, |
int | baudrate | ||
) |
Instantiates a new sets the uart baudrate command.
channel | the channel |
baudrate | the baudrate |
Definition at line 35 of file SetUARTBaudrateCommand.java.
References com.neuronrobotics.sdk.common.ByteList.add(), com.neuronrobotics.sdk.common.ByteList.convertTo32(), com.neuronrobotics.sdk.common.BowlerMethod.CRITICAL, com.neuronrobotics.sdk.common.BowlerAbstractCommand.getCallingDataStorage(), com.neuronrobotics.sdk.common.BowlerAbstractCommand.setMethod(), and com.neuronrobotics.sdk.common.BowlerAbstractCommand.setOpCode().
BowlerDatagram com.neuronrobotics.sdk.commands.bcs.io.SetUARTBaudrateCommand.validate | ( | BowlerDatagram | data | ) | throws InvalidResponseException |
Determine if the return response was successful; throw an InvalidResponseExpection otherwise. Commands with more complicated validation should override this method and provide more specific checking.
data | the data |
InvalidResponseException | the invalid response exception |
Reimplemented from com.neuronrobotics.sdk.common.BowlerAbstractCommand.
Definition at line 46 of file SetUARTBaudrateCommand.java.
References com.neuronrobotics.sdk.common.BowlerAbstractCommand.data.