Code Search for Developers
 
 
  

proof-of-concept-helper.py from EmStar at Krugle


Show proof-of-concept-helper.py syntax highlighted

#!/usr/bin/python

import sys


readnext=0
woken="-1"

for line in sys.stdin:
    if readnext == 1:
        s = line.split()
        woken = s[3]
        readnext = 0
    if line.startswith(" Src     Dst"):
        readnext = 1

print woken,




See more files for this project here

EmStar

EmStar is a software system for developing and deploying wireless sensor networks involving Linux-based platforms. As the wireless sensor network community has attempted to deploy more complex designs---large-scale, long-lived systems that need self-organization and adaptivity---a number of difficult software design issues have arisen. Advances in software design have not kept pace with the capabilities of hardware. This is because designing for an adaptive, efficient, and useful sensor network has turned out to be surprisingly complex and difficult. EmStar is a Linux-based software framework, whose goal is to dramatically reduce this complexity, enabling work to be shared and reused, and simplifying and speeding the design of new sensor network applications.

Project homepage: http://cvs.cens.ucla.edu/emstar/
Programming language(s): C,Shell Script
License: other

  BUILD
  ceiling_static_route_part
  ceiling_static_route_whole
  e2e.sh
  gen_static_routes.py
  m2m.sh
  process-e2e-tcp.sh
  process-e2e-udp-assist.py
  process-e2e-udp.sh
  process-m2m-tcp.sh
  process-poc-allon.sh
  process-poc-reliability.sh
  process-poc-tcpdump.sh
  proof-of-concept-allon.sh
  proof-of-concept-hacked.sh
  proof-of-concept-helper.py
  proof-of-concept-pingtime.sh
  proof-of-concept-reliability-real.sh
  proof-of-concept-reliability.sh
  proof-of-concept.sh
  resdisc_client.c
  testfile