Previous topic

spinnman.messages.udp_utils package

Next topic

spinnman.messages.multicast_message module

This Page

spinnman.messages.udp_utils.udp_utils module

Functions

update_sdp_header(sdp_header, default_sdp_tag) Apply defaults to the sdp header where the values have not been set
spinnman.messages.udp_utils.udp_utils.update_sdp_header(sdp_header, default_sdp_tag)[source]

Apply defaults to the sdp header where the values have not been set

Parameters:sdp_header (spinnman.messages.sdp.sdp_header.SDPHeader) – The SDP header values
Returns:Nothing is returned
Return type:None
Raises spinnman.exceptions.SpinnmanInvalidParameterException:
 If the packet already has a source_port != 7, a source_cpu != 31, a source_chip_x != 0, or a source_chip_y != 0