pub enum CommandCode {
Show 22 variants
Reserved = 0,
SetEndpointID = 1,
GetEndpointID = 2,
GetEndpointUUID = 3,
GetMCTPVersionSupport = 4,
GetMessageTypeSupport = 5,
GetVendorDefinedMessageSupport = 6,
ResolveEndpointID = 7,
AllocateEndpointIDs = 8,
RoutingInformationUpdate = 9,
GetRoutingTableEntries = 10,
PrepareForEndpointDiscovery = 11,
EndpointDiscovery = 12,
DiscoveryNotify = 13,
GetNetworkID = 14,
QueryHop = 15,
ResolveUUID = 16,
QueryRateLimit = 17,
RequestTXRateLimit = 18,
UpdateRateLimit = 19,
QuerySupportedInterfaces = 20,
Unknown = 255,
}
Expand description
A list of supported Command Codes
Variants§
Reserved = 0
Reserved
SetEndpointID = 1
Assigns an EID to the endpoint at the given physical address.
GetEndpointID = 2
Returns the EID presently assigned to an endpoint.
GetEndpointUUID = 3
Retrieves a per-device unique UUID associated with the endpoint.
GetMCTPVersionSupport = 4
Lists which versions of the MCTP control protocol are supported on an endpoint.
GetMessageTypeSupport = 5
Lists the message types that an endpoint supports.
GetVendorDefinedMessageSupport = 6
Used to discover an MCTP endpoint’s vendor-specific MCTP extensions and capabilities.
ResolveEndpointID = 7
Used to get the physical address associated with a given EID.
AllocateEndpointIDs = 8
Used by the bus owner to allocate a pool of EIDs to an MCTP bridge
RoutingInformationUpdate = 9
Used by the bus owner to extend or update the routing information that is maintained by an MCTP bridge
GetRoutingTableEntries = 10
Used to request an MCTP bridge to return data corresponding to its present routing table entries
PrepareForEndpointDiscovery = 11
Used to direct endpoints to clear their “discovered”flags to enable them to respond to the Endpoint Discovery command
EndpointDiscovery = 12
Used to discover MCTP-capable devices on a bus, provided that another discovery mechanism is not defined for the particular physical medium
DiscoveryNotify = 13
Used to notify the bus owner that an MCTP device has become available on the bus
GetNetworkID = 14
Used to get the MCTP networkID
QueryHop = 15
Used to discover what bridges, if any, are in the path to a given target endpoint and what transmission unit sizes the bridges will pass for a given message type when routing to the target endpoint
ResolveUUID = 16
Used by endpoints to find another endpoint matching an endpoint that uses a specific UUID
QueryRateLimit = 17
Used to discover the data rate limit settings of the given target for incoming messages
RequestTXRateLimit = 18
Used to request the allowed transmit data rate limit for the given endpoint for outgoing messages
UpdateRateLimit = 19
Used to update the receiving side on change to the transmit data rate which was not requested by the receiver
QuerySupportedInterfaces = 20
Used to discover the existing device MCTP interfaces
Unknown = 255
Not supported
Trait Implementations§
Source§impl Clone for CommandCode
impl Clone for CommandCode
Source§fn clone(&self) -> CommandCode
fn clone(&self) -> CommandCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more