Previous topic

spinnman.messages.scp.scp_iptag_command module

Next topic

spinnman.messages.scp.scp_response_header module

This Page

spinnman.messages.scp.scp_request_header module

class spinnman.messages.scp.scp_request_header.SCPRequestHeader(command, sequence=None)[source]

Bases: object

Represents the header of an SCP Request Each optional parameter in the constructor can be set to a value other than None once, after which it is immutable. It is an error to set a parameter that is not currently None.

Parameters:
Raises spinnman.exceptions.SpinnmanInvalidParameterException:
 

If one of the parameters is incorrect

Attributes

command The command of the SCP packet
sequence The sequence number of the SCP packet

Methods

write_scp_request_header(byte_writer) Write the SCP header to a byte_writer

Detailed Methods

write_scp_request_header(byte_writer)[source]

Write the SCP header to a byte_writer

Parameters:

byte_writer (spinnman.data.abstract_byte_writer.AbstractByteWriter) – The writer to write the data to

Returns:

Nothing is returned

Return type:

None

Raises: