Previous topic

spinnman.messages.scp.impl.scp_iptag_info_response module

Next topic

spinnman.messages.scp.impl.scp_led_request module

This Page

spinnman.messages.scp.impl.scp_iptag_set_request module

class spinnman.messages.scp.impl.scp_iptag_set_request.SCPIPTagSetRequest(x, y, host, port, tag, strip)[source]

Bases: spinnman.messages.scp.abstract_messages.abstract_scp_request.AbstractSCPRequest

An SCP Request to set an IP Tag

Parameters:
  • x (int) – The x-coordinate of a chip, between 0 and 255
  • y (int) – The y-coordinate of a chip, between 0 and 255
  • host (bytearray) – The host address, as an array of 4 bytes
  • port (int) – The port, between 0 and 65535
  • tag (int) – The tag, between 0 and 7
  • strip (bool) – if the SDP header should be striped from the packet.
Raises spinnman.exceptions.SpinnmanInvalidParameterException:
 

  • The chip-coordinates are out of range
  • If the host is not 4 bytes
  • If the port is not between 0 and 65535
  • If the tag is not between 0 and 7

Attributes

argument_1 The first argument, or None if no first argument
argument_2 The second argument, or None if no second argument
argument_3 The third argument, or None if no third argument
data The data, or None if no data
scp_request_header The SCP request header of the message
sdp_header The SDP header of the message

Methods

get_scp_response()

Detailed Methods

get_scp_response()[source]