Class GetChipInfo
java.lang.Object
uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
uk.ac.manchester.spinnaker.messages.scp.SCPRequest<GetChipInfo.Response>
uk.ac.manchester.spinnaker.messages.scp.GetChipInfo
- All Implemented Interfaces:
SerializableMessage
A request to read the chip information from a core. The response payload
is the summary information for the chip.
Calls cmd_info() in scamp-cmd.c.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected final classAn SCP response to a request for the version of software running. -
Field Summary
Fields inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequest
argument1, argument2, argument3, BOOT_CHIP, BOOT_MONITOR_CORE, data, NO_DATA, scpRequestHeaderFields inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
sdpHeader -
Constructor Summary
ConstructorsConstructorDescriptionGetChipInfo(HasChipLocation chip) GetChipInfo(HasChipLocation chip, boolean withSize) -
Method Summary
Modifier and TypeMethodDescriptiongetSCPResponse(ByteBuffer buffer) Parse the response to this message.Methods inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequest
addToBufferMethods inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
getMessageData
-
Constructor Details
-
GetChipInfo
- Parameters:
chip- the chip to read from
-
GetChipInfo
- Parameters:
chip- the chip to read fromwithSize- Whether the size should be included in the response. Might be ignored by SCAMP.
-
-
Method Details
-
getSCPResponse
public GetChipInfo.Response getSCPResponse(ByteBuffer buffer) throws UnexpectedResponseCodeException Description copied from class:SCPRequestParse the response to this message.- Specified by:
getSCPResponsein classSCPRequest<GetChipInfo.Response>- Parameters:
buffer- The buffer to parse.- Returns:
- The message response.
- Throws:
UnexpectedResponseCodeException
-