Client observe does not work for large message
See original GitHub issueIssue Description
On the client side, I want to observe a resource with a large message and I’m getting a bad request as a status code. I would like to intensify that for small and medium messages(size until 1K), it works well.
... const setup = { host: 'CLOUD_IP', observe: true, port: 5683, pathname: '/middlewareToCloud', method: 'GET' } const req = coap.request(setup)
I had added the option Block2, but it did not work:
req.setOption('Block2', Buffer.of(0x2))
What do I need to do to get the payload for the large message? Am I doing something wrong or is it an issue for a large message?
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Coap Client observe does not work for large message
On the client-side, I want to observe a resource with a large message and I'm getting a bad request as a status code....
Read more >Client's Observe Notification not Synchronized #998 - GitHub
Hello everyone, Is it correct to assume that an observation value will not be updated until the client triggers a registration update?
Read more >nRF5 SDK v15.2.0: CoAP Observe
The resource handler function is responsible for sending a response message back to the client. It adds a sequence number in the observe...
Read more >Observe multiple client computers in Remote Desktop
Observe multiple client computers in Remote Desktop. You can observe multiple clients in the same window, cycling through the list of observed computers....
Read more >Using the Service Observe feature on Windows clients
Use this procedure to use the Service Observe feature to listen in and possibly talk on calls to extensions, attendants, agents, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Good point @JKRhb! From server-side is another library(libcoap). I’ll will change from libcoap to node-coap to check!
Currently, I use the Copper plugin to execute some tests and I can get large messages using this plugin.
This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions.