Adding extra columns in the Radio messages window to capture the packet information to create a dataset.
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,
}
Modify the code
else if (col == COLUMN_SOURCE_ADDRESS) {
String Source = "fe80::212:";
int i = conn.connection.getSource().getMote().getID();
}
Source address column was added successfully.