Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate with responder lib? #376

Open
DillonHeinenIntel opened this issue Oct 7, 2024 · 2 comments
Open

How to integrate with responder lib? #376

DillonHeinenIntel opened this issue Oct 7, 2024 · 2 comments

Comments

@DillonHeinenIntel
Copy link

DillonHeinenIntel commented Oct 7, 2024

Hi. I'm attempting to use the spdm-emu to act as a requester to a device that runs libspdm by having it make reads and writes to a DOE mailbox on a system. However, when running the emulator, I'm seeing the following error:

local-system$ ./spdm_requester_emu --ver 1.2 --trans PCI_DOE

spdm_requester_emu version 0.1
ver - 0x12
trans - 0x2
Connect Error - 6f

I think I have some fundamental misunderstandings with how to use this tool. Why is TCP being used if reads and writes just need to be made to a mailbox?

@steven-bellock
Copy link
Contributor

For that use case you probably want to use https://github.com/westerndigitalcorporation/spdm-utils.

@alistair23
Copy link
Contributor

SPDM-Utils uses libspdm and supports testing a DOE responder: https://github.com/westerndigitalcorporation/spdm-utils?tab=readme-ov-file#testing-a-real-device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants