GithubHelp home page GithubHelp logo

Comments (3)

alistair23 avatar alistair23 commented on July 18, 2024 1

Another option is to use SPDM-Utils. Like spdm-emu it uses libspdm but is aimed at testing real devices instead of emulators.

SPDM-Utils can currently communicate with a SPDM device over PCIe DOE. We don't yet have MCTP support, but we are working on it. It should be pretty easy for you to extend SPDM-Utils to support MCTP as well

from spdm-emu.

jyao1 avatar jyao1 commented on July 18, 2024

spdm-emu is just an emulation program running on Windows/Linux OS environment with TCP/IP.

If you want to use it MCTP, then it is NOT an emulation. It is a real platform environment.
You need to write your own device layer function to send/receive function.

See https://github.com/DMTF/libspdm/blob/main/doc/user_guide.md#spdm-responder

0.5, implement required SPDM device IO functions - libspdm_device_send_message_func and libspdm_device_receive_message_func according to spdm_common_lib.

from spdm-emu.

admiyo avatar admiyo commented on July 18, 2024

If I run --trans MCTP it still does everything as tcp/ip.

MCTP supports a socket layer, so instead of listening on tcp, it should listen on an MCTP socket, like the echo listener here:

https://github.com/CodeConstruct/mctp/blob/main/src/mctp-echo.c

But all the socket calls are TCP/IP.

Is this a change in how it was intended to be used?

from spdm-emu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.