I have done a program to measure Temperature readings in Castalia
My project name is 'senseReading'
same thing in /src/Node/Application/
copy paste all files from /src/Node/Application/
replace " template " name by " senseReading " as we did that day...
and after that change to /Simulation directory
create one /Simulation/senseReading directory
copy paste 2 files from any of the folder (omnetpp.ini and run script[e.g. runSimpleAggreagation])
change in omnetpp.ini
change application name by "senseReading_
application ID by "senseReading"
then u can change some parameters if u want from Omnetpp.ini file...
after that MOST IMPORTANT THING:
1. Open /config/makemake.config file...
2. edit 38th line in that... ALL_WSN_INCLUDES =
-I$(SRCDIR)/Node/Application/
3. edit at the end of file..
cd $(SRCDIR)/Node/Application/
4. then close the file...
then do...
1] make clean
2] ./makemake
3] make
and run the program as...
go in /Simulation/senseReading program/
./runSenseReading
I m sending u a zip file which contains
i] /Simulation/senseReading
ii] /src/Node/Application/
iii] /config/makemake.config
place those at correct place.. and try to simulate...
Enjoy..