Bases: spinnman.connections.abstract_classes.abstract_connection.AbstractConnection
A sender of SCP messages
Abstract Methods
is_udp_scp_sender() | |
send_scp_request(scp_request) | Sends an SCP request down this connection |
Detailed Methods
Sends an SCP request down this connection
Messages must have the following properties:
- source_port is None or 7
- source_cpu is None or 31
- source_chip_x is None or 0
- source_chip_y is None or 0
tag in the message is optional - if not set the default set in the constructor will be used. sequence in the message is optional - if not set (sequence number last assigned + 1) % 65536 will be used
Parameters: | scp_request (spinnman.messages.scp.abstract_scp_request.AbstractSCPRequest) – message packet to send |
---|---|
Returns: | Nothing is returned |
Return type: | None |
Raises spinnman.exceptions.SpinnmanIOException: | |
If there is an error sending the message |