BowlerKernel
Public Member Functions | List of all members
com.neuronrobotics.sdk.commands.bcs.io.SetUARTBaudrateCommand Class Reference
Inheritance diagram for com.neuronrobotics.sdk.commands.bcs.io.SetUARTBaudrateCommand:
Inheritance graph
[legend]
Collaboration diagram for com.neuronrobotics.sdk.commands.bcs.io.SetUARTBaudrateCommand:
Collaboration graph
[legend]

Public Member Functions

 SetUARTBaudrateCommand (int channel, int baudrate)
 
BowlerDatagram validate (BowlerDatagram data) throws InvalidResponseException
 
- Public Member Functions inherited from com.neuronrobotics.sdk.common.BowlerAbstractCommand
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 Public Member Functions inherited from com.neuronrobotics.sdk.common.BowlerAbstractCommand
static BowlerAbstractCommand parse (BowlerDatagram data)
 

Detailed Description

The Class SetUARTBaudrateCommand.

Definition at line 27 of file SetUARTBaudrateCommand.java.

Constructor & Destructor Documentation

◆ SetUARTBaudrateCommand()

com.neuronrobotics.sdk.commands.bcs.io.SetUARTBaudrateCommand.SetUARTBaudrateCommand ( int  channel,
int  baudrate 
)

Member Function Documentation

◆ validate()

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.

Parameters
datathe data
Returns
the incoming response
Exceptions
InvalidResponseExceptionthe 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.


The documentation for this class was generated from the following file: