> Hi Steve,
>
> when trying out blip-2.0 from svn I came across the following issues:
>
[...]
>
> * And UDPEcho and IPBaseStation are not compiling because of various
> issues... (I am sure you are working on that already.)
Fixing UDPEcho was easy:
apps/UDPEcho/UDPEchoC.nc | 6 +++---
apps/UDPEcho/UDPEchoP.nc | 20 ++++++++++----------
apps/UDPEcho/UDPReport.h | 2 +-
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/apps/UDPEcho/UDPEchoC.nc b/apps/UDPEcho/UDPEchoC.nc
index 9b603bd..f939b85 100644
--- a/apps/UDPEcho/UDPEchoC.nc
+++ b/apps/UDPEcho/UDPEchoC.nc
@@ -58,10 +58,10 @@ configuration UDPEchoC {
UDPEchoP.StatusTimer -> TimerMilliC;
components UdpC;
- UDPEchoP.IPStats -> IPDispatchC.IPStats;
+ UDPEchoP.IPStats -> IPDispatchC.BlipStatistics;
UDPEchoP.UDPStats -> UdpC;
- UDPEchoP.RouteStats -> IPDispatchC.RouteStats;
- UDPEchoP.ICMPStats -> IPDispatchC.ICMPStats;
+ //UDPEchoP.RouteStats -> IPDispatchC.RouteStats;
+ //UDPEchoP.ICMPStats -> IPDispatchC.ICMPStats;
components RandomC;
UDPEchoP.Random -> RandomC;
diff --git a/apps/UDPEcho/UDPEchoP.nc b/apps/UDPEcho/UDPEchoP.nc
index a61a2b7..a258103 100644
--- a/apps/UDPEcho/UDPEchoP.nc
+++ b/apps/UDPEcho/UDPEchoP.nc
@@ -54,10 +54,10 @@ module UDPEchoP {
interface Timer<TMilli> as StatusTimer;
- interface Statistics<ip_statistics_t> as IPStats;
- interface Statistics<udp_statistics_t> as UDPStats;
- interface Statistics<route_statistics_t> as RouteStats;
- interface Statistics<icmp_statistics_t> as ICMPStats;
+ interface BlipStatistics<ip_statistics_t> as IPStats;
+ interface BlipStatistics<udp_statistics_t> as UDPStats;
+ //interface BlipStatistics<route_statistics_t> as RouteStats;
+ //interface BlipStatistics<icmp_statistics_t> as ICMPStats;
interface Random;
}
@@ -73,8 +73,8 @@ module UDPEchoP {
timerStarted = FALSE;
call IPStats.clear();
- call RouteStats.clear();
- call ICMPStats.clear();
+ //call RouteStats.clear();
+ //call ICMPStats.clear();
printfUART_init();
#ifdef REPORT_DEST
@@ -97,12 +97,12 @@ module UDPEchoP {
}
event void Status.recvfrom(struct sockaddr_in6 *from, void *data,
- uint16_t len, struct ip_metadata *meta) {
+ uint16_t len, struct ip6_metadata *meta) {
}
event void Echo.recvfrom(struct sockaddr_in6 *from, void *data,
- uint16_t len, struct ip_metadata *meta) {
+ uint16_t len, struct ip6_metadata *meta) {
call Echo.sendto(from, data, len);
}
@@ -118,8 +118,8 @@ module UDPEchoP {
call IPStats.get(&stats.ip);
call UDPStats.get(&stats.udp);
- call ICMPStats.get(&stats.icmp);
- call RouteStats.get(&stats.route);
+ //call ICMPStats.get(&stats.icmp);
+ //call RouteStats.get(&stats.route);
call Status.sendto(&route_dest, &stats, sizeof(stats));
}
diff --git a/apps/UDPEcho/UDPReport.h b/apps/UDPEcho/UDPReport.h
index 7b3ad98..3ab70e3 100644
--- a/apps/UDPEcho/UDPReport.h
+++ b/apps/UDPEcho/UDPReport.h
@@ -33,7 +33,7 @@
#ifndef _UDPREPORT_H
#define _UDPREPORT_H
-#include <Statistics.h>
+#include <BlipStatistics.h>
nx_struct udp_report {
nx_uint16_t seqno;
--
1.7.1
> Looking forward to blip-2.0,
> Markus
>
> > Hi Everyone -- for people who are (a) using blip, and (b) using
> > core/svn, I just wanted to let you all know that we (me and Jeonggil
> > Ko, of JHU) have replaced the existing blip code in core with the
> > beginnings of the new stack. It contains a full implementation of
> > draft-ietf-6lowpan-hc-06, and draft-ietf-roll-rpl. However, it's
> > still pretty rough around the edges and also undocumented and so I
> > recommend that people who don't want to mess around with the internals
> > stick with the 2.1.1 release.
> >
> > We'll be cleaning it up in the coming weeks to make it more usable,
> > but we felt it was important to start integrating it with core.
> >
> > Steve
>
> ------------------------------------------------
>
> | Dipl.-Ing. Markus Becker
> | Communication Networks
> | Mobile Research Center
> | TZI - Center for Computing Technologies
> | University Bremen
> | Germany
>
> ------------------------------------------------
>
> | web: http://www.comnets.uni-bremen.de/~mab/
> | mailto: [email protected]
> | telephone: +49 421 218 62379
> | building: NW1 room: N2260
>
> ------------------------------------------------
------------------------------------------------
| Dipl.-Ing. Markus Becker
| Communication Networks
| Mobile Research Center
| TZI - Center for Computing Technologies
| University Bremen
| Germany
------------------------------------------------
| web: http://www.comnets.uni-bremen.de/~mab/
| mailto: [email protected]
| telephone: +49 421 218 62379
| building: NW1 room: N2260
------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help