Source code for spinnman.messages.scp.impl.bmp_get_version

"""
BMPGetVersion
"""

# spinnman imports
from spinnman.messages.scp.abstract_messages import BMPRequest
from spinnman.messages.scp import SCPRequestHeader
from spinnman.messages.scp.enums import SCPCommand
from .get_version_response import GetVersionResponse


[docs]class BMPGetVersion(BMPRequest): """ An SCP request to read the version of software running on a core """ def __init__(self, board): """ :param board: The board to get the version from :type board: int :raise spinnman.exceptions.SpinnmanInvalidParameterException: * If the chip coordinates are out of range * If the processor is out of range """ BMPRequest.__init__( self, board, SCPRequestHeader(command=SCPCommand.CMD_VER))
[docs] def get_scp_response(self): """ See\ :py:meth:`spinnman.messages.scp.abstract_scp_request.AbstractSCPRequest.get_scp_response` """ return GetVersionResponse()