Introduction to exercises - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Introduction to exercises

Description:

uibc for collection tree setup. ruc for data collection. Intro ... Use uabc for collection tree setup. Use uabc for data collection. Develop in cooja or netsim ... – PowerPoint PPT presentation

Number of Views:73
Avg rating:3.0/5.0
Slides: 11
Provided by: adamdu7
Category:

less

Transcript and Presenter's Notes

Title: Introduction to exercises


1
Introduction to exercises
  • Kista, Sweden
  • 26-27 March 2007

2
Exercise 1
  • TCP server for sensor network interaction

The server
PC
3
Exercise 1 (contd.)
  • TCP server parses commands, sends to network
  • Entire network runs the application
  • Only the server has IP access
  • Use trickle to send commands to network
  • Begin with minimal-net, continue with netsim
  • Run on Sky testbed

4
Exercise 2
  • Address-free data collection protocol

The sink
5
Exercise 2 (contd.)
  • Two separate activities
  • Setup collection tree
  • Collect data
  • Current code
  • uibc for collection tree setup
  • ruc for data collection

6
Exercise 2 (contd.)
  • Exercise
  • Use uabc for collection tree setup
  • Use uabc for data collection
  • Develop in cooja or netsim
  • Run on Sky testbed

7
Exercise 3
  • Low-level packet driver
  • The button is the input device
  • The LEDs is the output device
  • Press the button 3 times, create 3-byte packet,
    send to Rime
  • Blink LED 3 times for a 3-byte packet
  • Work in native first, move to sky quickly

8
Exercise 4
  • Power save radio sleep cycle in Rime
  • Turn the radio on and off in intervals to save
    power
  • Must be on to let nodes communicate
  • Queue packets when radio is off
  • Work in cooja or netsim. Test on Sky boards

9
Exercise 4 (contd.)
  • Simulate radio being off with variable
  • if(radio_is_off) drop() else handle()
  • Send packets with abc_send()
  • Makes it possible to test
  • Use ctimer for timing
  • Not accurate, ideally rtimer should be used
  • But does not currently work

10
Now Lunch
  • Get cupons, go down to level 2
  • Follow SICSers
  • We will lock this room
  • Need a SICSer to enter
  • My phone number is 46 8 633 1614
  • After lunch
  • (1300 Help with installation of tools)
  • 1330 Hands-on programming session
  • 1700 Demos, posters
  • 1900 Dinner
Write a Comment
User Comments (0)
About PowerShow.com