Beruflich Dokumente
Kultur Dokumente
Fredrik sterlind
Swedish Institute of Computer Science
CoOJa
Cooya = Look at me! (Jamaican broken english)
Heavier
More powerful
(More installation problems)
Cross-level simulation
Simulating motes at different abstraction levels.
Application (Java):
OS level
HW level
App. level
OS:
Deployable code
Emulated:
Installation/Startup
Create simulations
Getting started...
Start COOJA
Compilation problems
Design
Mote type
GUI Simulation Mote type
Mote
Mote
Mote
Mote type
Mote
Contiki applications
Applications are compiled the usual way > make testcooja TARGET=cooja .....
Simulating what?
COOJA uses glue drivers to communicate with Contik Corresponding parts in Java and Contiki COOJA platform
Poll interfaces Switch node
Get memory
Handle Contiki event Set memory
Poll interfaces
10
Simulator Simulation
Mote
11
A few plugins
Mote Interface Viewer
Event Breaker
Log Listener
12
13
Project directories
14
Can be used for much more than adding applications to simulate! Interfaces, plugins, applications, mote types, radio mediums...
15
Using MRM
16
Quick-starting COOJA
The usual way is via: contiki-2.x/tools/cooja/> ant run
Shortcut that fits nicely into Contiki development: yourapp/> make myapp TARGET=cooja
Hello-World
Using COOJA for Contiki development Fredrik sterlind <fros@sics.se>
17
Questions?
18
Cross-Level simulations
19