Difference between revisions of "CoAP -13"

From TinyOS Wiki
Jump to: navigation, search
(Repository)
(Modifications from -03 to -08)
Line 25: Line 25:
 
== Installation is similar to -03 ==
 
== Installation is similar to -03 ==
  
= Modifications from -03 to -08 =
+
= Modifications from -03 to -13 =
 +
* Update to libcoap 4.0.0 implementing coap-13
 
* Interfaces: Read/WriteResource to CoapResource
 
* Interfaces: Read/WriteResource to CoapResource
 
* All resource components moved to tos/lib/net/coap/resources/
 
* All resource components moved to tos/lib/net/coap/resources/

Revision as of 03:13, 28 February 2013

TinyOS CoAP (-13)

This page describes how to setup the TinyOS CoAP (-13) implementation based on libcoap and uses the TinyOS blip-rpl stack for UDP communication.

Repository

The updated code is currently not located in the tinyos-main git repository, but in a private fork: https://github.com/markushx/tinyos-main/tree/coap-13-update-int

Branch: coap-13-update-int

Compile libcoap and examples

cd $TOSROOT/support/sdk/c/coap
autoconf
./configure
make
./configure --with-tinyos

Installation is similar to -03

Modifications from -03 to -13

  • Update to libcoap 4.0.0 implementing coap-13
  • Interfaces: Read/WriteResource to CoapResource
  • All resource components moved to tos/lib/net/coap/resources/
  • All translate components moved to tos/lib/net/coap/translate/
  • bind() -> setupContext()
  • Added ETSI plugtest resources
  • removed most code out of tinyos_net.c/h
  • ...