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

Subscribing to events using CoAP returns undefined #1239

Open
JKRhb opened this issue Feb 13, 2024 · 0 comments
Open

Subscribing to events using CoAP returns undefined #1239

JKRhb opened this issue Feb 13, 2024 · 0 comments
Labels
binding-coap Issues related to coap protocol binding bug Something isn't working

Comments

@JKRhb
Copy link
Member

JKRhb commented Feb 13, 2024

As discovered by @relu91, there is currently a bug in the CoAP binding implementation that leads to servers returning undefined when the initial observe GET request is received. The issue is being caused by this line, leading to the request being responded to before the event handler passes a value:

@JKRhb JKRhb added bug Something isn't working binding-coap Issues related to coap protocol binding labels Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding-coap Issues related to coap protocol binding bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant