This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "/home/terra/TerraNG/terra/TerraNet.defs" | |
var ushort nodeId = getNodeId(); | |
pktype usrMsg from radioMsg with | |
var ubyte[4] d8; | |
var ushort[4] d16; | |
var ulong[2] d32; | |
end | |
var usrMsg sndData; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from __future__ import print_function | |
import sys | |
import subprocess | |
import time | |
from TOSSIM import * | |
outDBG = open("./log.txt","w") | |
outVM = open("./logVM.txt","w") |
NewerOlder