Amazing technological breakthrough possible @S-Logix pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How To Add The Extra Columns In Radio Messages Window In Contiki Cooja Simulator?

Add The extra columns In radio messages window in contiki simulator

Simulation Steps to Add The Extra Columns In Radio Messages Window In Contiki Cooja Simulator

Description:

   Adding extra columns in the Radio messages window to capture the packet information to create a dataset.

Step-1

  Open the file location

  contiki/tools/cooja/java/org/contikios/cooja/plugins

  Radiologger.java

  This file used to create extra column fields in the radio messages window.

Example:

Add the source address column.

private final static int COLUMN_SOURCE_ADDRESS = 4;

private final static String[] COLUMN_NAMES = {

Source address,

}

Step-2

 Modify the code

else if (col == COLUMN_SOURCE_ADDRESS) {

String Source = "fe80::212:";

int i = conn.connection.getSource().getMote().getID();

}

Output
Source address column was added successfully

Source address column was added successfully.