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

Fix CMD_ID, CMD_CAP handling #209

Closed
wants to merge 1 commit into from
Closed

Conversation

AlexNCoder
Copy link

CMD_ID, CMD_CAP handling on PD was insufficient. It setted ret to OSDP_PD_ERR_GENERIC when osdp-message from the CP (physical device, not libosdp) can be without data-bytes

CMD_ID handling on PD was incorrect. It setted ret to OSDP_PD_ERR_GENERIC when osdp-message from the CP (physical device,  not libosdp) can be without data-bytes
@sidcha
Copy link
Member

sidcha commented Jan 9, 2025

According to the spec, both ID and CAP commands have a mandatory type code which is always set to zero -- so this PR appears to be incorrect.

Closing this PR for now. Please use issue #210 to provide mode details about your issue.

@sidcha sidcha closed this Jan 9, 2025
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

Successfully merging this pull request may close these issues.

2 participants