Skip to content

Comments

Implement No Response and pass metadata to resource handlers#28

Open
malishav wants to merge 10 commits intoopenwsn-berkeley:developfrom
malishav:develop_COAP-44
Open

Implement No Response and pass metadata to resource handlers#28
malishav wants to merge 10 commits intoopenwsn-berkeley:developfrom
malishav:develop_COAP-44

Conversation

@malishav
Copy link
Contributor

@malishav malishav commented Mar 20, 2019

This PR enhances the CoAP lib to:

  • Implement the No Response option as per RFC7967. No Response option enables the client to indicate that it is not interested in a particular class of responses. The PR implements the suppression of all responses only. A new functional test is added in the test suite to demonstrate the use of the new functionality.
  • Signal metadata to the handlers with information such as IP addresses and misc.

The PR resolves the following issues:

@malishav malishav force-pushed the develop_COAP-44 branch 2 times, most recently from f147a48 to 82b0766 Compare March 30, 2019 21:52
@malishav malishav changed the title Pass metadata to resource handlers Implement No Response and pass metadata to resource handlers Apr 1, 2019
@changtengfei
Copy link
Member

I got following error when running a simulation. Please test with the latest develop branch of firmware and openvisualizer.

16:53:31 INFO 2 [IEEE802154E] synchronized at slotOffset 0
ERROR could not call <bound method coapServer._receiveFromMesh of <openvisualizer.JRC.JRC.coapServer
object at 0x034F67F0>>, err=init() got an unexpected keyword argument 'receiveCallback'

@malishav
Copy link
Contributor Author

argh forgot that OV-7 has not been merged yet. let's park this for merge together with OV-7.

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