BowlerKernel
|
Public Member Functions | |
ProgramSectionCommand (int channel, int address, ByteList byteData) | |
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 () |
Static Public Member Functions | |
static String | hex (long n) |
![]() | |
static BowlerAbstractCommand | parse (BowlerDatagram data) |
The Class ProgramSectionCommand.
Definition at line 13 of file ProgramSectionCommand.java.
com.neuronrobotics.sdk.commands.neuronrobotics.bootloader.ProgramSectionCommand.ProgramSectionCommand | ( | int | channel, |
int | address, | ||
ByteList | byteData | ||
) |
Instantiates a new program section command.
channel | the channel |
address | the address |
byteData | the byte data |
Definition at line 33 of file ProgramSectionCommand.java.
References com.neuronrobotics.sdk.common.ByteList.add(), com.neuronrobotics.sdk.common.ByteList.addAs32(), com.neuronrobotics.sdk.common.BowlerMethod.CRITICAL, com.neuronrobotics.sdk.common.BowlerAbstractCommand.getCallingDataStorage(), com.neuronrobotics.sdk.commands.neuronrobotics.bootloader.ProgramSectionCommand.hex(), com.neuronrobotics.sdk.common.BowlerAbstractCommand.setMethod(), com.neuronrobotics.sdk.common.BowlerAbstractCommand.setOpCode(), and com.neuronrobotics.sdk.common.ByteList.size().
|
static |
Hex.
n | the n |
Definition at line 21 of file ProgramSectionCommand.java.
Referenced by com.neuronrobotics.sdk.commands.neuronrobotics.bootloader.ProgramSectionCommand.ProgramSectionCommand().
BowlerDatagram com.neuronrobotics.sdk.commands.neuronrobotics.bootloader.ProgramSectionCommand.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 48 of file ProgramSectionCommand.java.
References com.neuronrobotics.sdk.common.BowlerAbstractCommand.data.