Difference between revisions of "CoAP -13"

From TinyOS Wiki
Jump to: navigation, search
(repo)
Line 12: Line 12:
 
Branch:
 
Branch:
 
libcoap-update-to-08-2012-03-11
 
libcoap-update-to-08-2012-03-11
 +
 +
== Compile libcoap and examples ==
 +
 +
<pre>
 +
cd $TOSROOT/support/sdk/c/coap
 +
autoconf
 +
./configure
 +
make
 +
./configure --with-tinyos
 +
</pre>
 +
 +
== Installation is similar to -03 ==
  
 
= Modifications from -03 to -08 =
 
= Modifications from -03 to -08 =

Revision as of 05:44, 25 March 2012

TinyOS CoAP (-08)

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

Repository

The updated code is currently not located in tinyos-main on Google code, but in the git repository: http://www.comnets.uni-bremen.de/~mab/git/tinyos-main.git

Branch: libcoap-update-to-08-2012-03-11

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 -08

  • 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
  • ...