Skip to content
New issue

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

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

Already on GitHub? # to your account

[rest] add coprocessor version string API #2602

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

puddly
Copy link

@puddly puddly commented Nov 14, 2024

We'd like to access the current NCP/RCP coprocessor firmware version string from the REST API. I've added a new API endpoint under /node/coprocessor/version that fetches it with GetCoprocessorVersion().

}
else
{
ErrorHandler(aResponse, HttpStatusCode::kStatusMethodNotAllowed);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we can have a refactor to these resource handlers to return whether the request is successfully processed so that this error can be responded in one place.

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

Successfully merging this pull request may close these issues.

2 participants