{"action":"reopened","issue":{"url":"https://api.github.com/repos/eclipse/californium/issues/810","repository_url":"https://api.github.com/repos/eclipse/californium","labels_url":"https://api.github.com/repos/eclipse/californium/issues/810/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/californium/issues/810/comments","events_url":"https://api.github.com/repos/eclipse/californium/issues/810/events","html_url":"https://github.com/eclipse/californium/issues/810","id":384895302,"node_id":"MDU6SXNzdWUzODQ4OTUzMDI=","number":810,"title":"Blockwise observer ?","user":{"login":"mb590721","id":22055849,"node_id":"MDQ6VXNlcjIyMDU1ODQ5","avatar_url":"https://avatars1.githubusercontent.com/u/22055849?v=4","gravatar_id":"","url":"https://api.github.com/users/mb590721","html_url":"https://github.com/mb590721","followers_url":"https://api.github.com/users/mb590721/followers","following_url":"https://api.github.com/users/mb590721/following{/other_user}","gists_url":"https://api.github.com/users/mb590721/gists{/gist_id}","starred_url":"https://api.github.com/users/mb590721/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mb590721/subscriptions","organizations_url":"https://api.github.com/users/mb590721/orgs","repos_url":"https://api.github.com/users/mb590721/repos","events_url":"https://api.github.com/users/mb590721/events{/privacy}","received_events_url":"https://api.github.com/users/mb590721/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-27T17:03:01Z","updated_at":"2018-11-27T20:54:51Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI'm using a coap resource to expose some data through a GET method. Because of the CoAP lib in the device software requests without blockwise need to be under 1024 bytes but this resource can sometime respond with more than that.\r\n\r\nTo avoid errors devices always send the request using blockwise, but I'm in front of another problem now. I need to make some treatments at the server side when the requests have been correctly send and I used to do it through a custom message observer thanks to the `onAcknowledgement` method.\r\n\r\nIf I understand correctly the BlockWise process, the server send the response with the blocksize and blocknumber specified by the client, and this client make a new requests for each remaining block. This explain that we never go inside the MessageObserver function. So my question is the following :\r\n\r\n- How to know when the response has been completely send and received by the device ? I didn't find any BlockWise Observer.\r\n\r\nWe currently use the 2.0.0-M1 version of Californium. I think this may have been solved in later version (issue #316 ) but I would like to ensure there is no other way than upgrading version.\r\n\r\nI hope being clear enough while describing my problem.\r\n\r\nThank you for your time !"}}
{"actor":{"display_login":"mb590721"}}