8000 LG-71 Respond to SetScratchpadTargetAndActionReq with invalid parameters by sgunes-wirepas · Pull Request #294 · wirepas/gateway · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

LG-71 Respond to SetScratchpadTargetAndActionReq with invalid parameters #294

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

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

sgunes-wirepas
Copy link
Contributor

Unlike most of the other messages, parameter validation for SetScratchpadTargetAndActionReq is done on the wirepas-mesh-messaging library side and not in transport service.

Before this change, from_payload() method would raise an exception in those cases, but a response could not be sent because the req_id was not known. Newer version of the wirepas-mesh-messaging library raises an InvalidMessageContents exception which includes the request header, so it is possible to build a response message.

Unlike most of the other messages, parameter validation for
SetScratchpadTargetAndActionReq is done on the wirepas-mesh-messaging
library side and not in transport service.

Before this change, from_payload() method would raise an exception in
those cases, but a response could not be sent because the req_id was not
known. Newer version of the wirepas-mesh-messaging library raises an
InvalidMessageContents exception which includes the request header, so
it is possible to build a response message.
@sgunes-wirepas sgunes-wirepas merged commit 8f22def into master Feb 10, 2025
1 check passed
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
0