How sdnwiselab/sdn-wise-contiki works
SDN-WISE is a software-defined wireless sensor-network runtime for Contiki, with Cooja adapters for simulation. A node initializes its protocol state, exchanges radio or UART packets, dispatches received packets to protocol handlers, and applies flow-table rules; sink nodes also bridge packets to an external controller over TCP. The graph includes packet construction, neighbor discovery, configuration, and simulation support. Evidence is limited to the README and supplied source excerpts and index; unsampled module interactions are omitted where not established.
Main entry points: sdn-wise.c Contiki runtime · packet-handler.c Packet dispatch · packet-buffer.c Packet buffer · AbstractCoojaMote.java Simulated mote
Components 16
Node runtime
- Contiki runtime
sdn-wise/sdn-wise.c
Protocol functions
- Packet dispatch
sdn-wise/packet-handler.c - Packet creation
sdn-wise/packet-creator.c - Flow-table rules
sdn-wise/flowtable.c
Node state
- Packet buffer
sdn-wise/packet-buffer.c - Neighbor table
sdn-wise/neighbor-table.c - Node configuration
sdn-wise/node-conf.c - Address handling
sdn-wise/address.c - Protocol symbols
sdn-wise/symbols.c
Cooja simulation
- Simulated mote
sdn-wise-emulated/src/org/contikios/cooja/sdnwise/AbstractCoojaMote.java - Cooja node
sdn-wise-emulated/src/org/contikios/cooja/sdnwise/CoojaMote.java - Cooja sink
sdn-wise-emulated/src/org/contikios/cooja/sdnwise/CoojaSink.java
Other components
- Radio network
- UART link
- SDN controller
- SDN-WISE mote core
Connections 22
- Contiki runtime → Node configuration: initializes
sdn-wise/sdn-wise.c - Contiki runtime → Flow-table rules: initializes
sdn-wise/sdn-wise.c - Contiki runtime → Packet buffer: initializes
sdn-wise/sdn-wise.c - Contiki runtime → Neighbor table: initializes
sdn-wise/sdn-wise.c - Contiki runtime → Packet dispatch: dispatches packets
sdn-wise/sdn-wise.c - Contiki runtime → Packet creation: creates beacons
sdn-wise/sdn-wise.c - Contiki runtime → Radio network: sends packets
sdn-wise/sdn-wise.c - UART link → Contiki runtime: delivers bytes
sdn-wise/sdn-wise.c - Radio network → Contiki runtime: delivers packets
sdn-wise/sdn-wise.c - Packet dispatch → Flow-table rules: matches rules
sdn-wise/packet-handler.c - Packet dispatch → Neighbor table: updates neighbors
sdn-wise/packet-handler.c - Packet dispatch → Packet buffer: deallocates packets
sdn-wise/packet-handler.c - Packet dispatch → Address handling: checks addresses
sdn-wise/packet-handler.c - Packet creation → Packet buffer: builds packets
sdn-wise/packet-creator.c - Flow-table rules → Packet buffer: processes packets
sdn-wise/flowtable.c - Neighbor table → Packet buffer: stores neighbor data
sdn-wise/neighbor-table.c - Node configuration → Address handling: uses addresses
sdn-wise/node-conf.c - Cooja node → Simulated mote: extends
sdn-wise-emulated/src/org/contikios/cooja/sdnwise/CoojaMote.java - Cooja sink → Simulated mote: extends
sdn-wise-emulated/src/org/contikios/cooja/sdnwise/CoojaSink.java - Simulated mote → SDN-WISE mote core: runs core
sdn-wise-emulated/src/org/contikios/cooja/sdnwise/AbstractCoojaMote.java - Cooja sink → SDN controller: exchanges packets
sdn-wise-emulated/src/org/contikios/cooja/sdnwise/CoojaSink.java - Simulated mote → Radio network: transmits packets
sdn-wise-emulated/src/org/contikios/cooja/sdnwise/AbstractCoojaMote.java