Pan17WJ / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
1 stars 0 forks source link

[patch] Support for sending data in CoAP requests and receiving responses #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
TinyOS 2.x currently does not support including a body/data in CoAP requests, 
nor does it provide access to the response to a request. There are big "TODO" 
notes where said support should go. The attached patch provides this support.

We split out the CoAP "block" mechanism support to keep things simple; Requests 
wanting to use said mechanism still need to address the "TODO" in the code (but 
at least it's a smaller TODO now).

The attached patch also adds documentation for the CoAPClient interface.

Original issue reported on code.google.com by jmatts...@dius.com.au on 25 Nov 2011 at 2:48

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by sdh...@gmail.com on 25 Nov 2011 at 5:40

GoogleCodeExporter commented 9 years ago

Original comment by marku...@gmail.com on 26 Nov 2011 at 4:27

GoogleCodeExporter commented 9 years ago
Attached patch contains a replacement part for the hunk that gets rejected when 
applying against r5844. (I.e. apply the previous patch, ignore the rejected 
part, apply this patch, done.)

Original comment by jmatts...@dius.com.au on 20 Dec 2011 at 12:04

Attachments:

GoogleCodeExporter commented 9 years ago
Removed extra hunk from fixup patch (oops).

Original comment by jmatts...@dius.com.au on 20 Dec 2011 at 12:10

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r5863.

Original comment by marku...@gmail.com on 12 Jan 2012 at 8:33

GoogleCodeExporter commented 9 years ago
Changed response code 205 to 200, since the implementation is coap-03 not 
coap-08 ATM.
Left CoAP option 3 as it was in libcoap, although option 3 is not defined in 
coap-03.

Original comment by marku...@gmail.com on 12 Jan 2012 at 8:35