[Tinyos-help] leds of tmote invent
Hi all, How can I blink the leds visible from outside the package? Is there some examples since I can not access the website of moteiv ? regards, Weiping ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] an error while installing codes to tmote sky
Dear all, I faced a problem while installing codes to tmote sky shown below, could anyone help me? thanks in advance! weiping - [EMAIL PROTECTED]:~/workspace/SensorTest make tmote install,1 bsl,/dev/ttyUSB1 mkdir -p build/telosb compiling SensorTestApp to a telosb binary ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DIDENT_USER_ID=\wps2\ -DIDENT_HOSTNAME=\cjspc9\ -DIDENT_USER_HASH=0x83c30cabL -DIDENT_UNIX_TIME=0x46c96cf3L -DIDENT_UID_HASH=0xb999b7a0L -I%T/lib/PriorityScheduler -I./Router -I./Sensor -I./CircBuffer -I%T/chips/sht11 -I/opt/tinyos-2.x/tos/chips/cc2420 -DNETWORK_SIZE=18 SensorTestApp.nc -lm In file included from /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveC.nc:52, from /opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:61, from /opt/tinyos-2.x/tos/platforms/telosa/ActiveMessageC.nc:61, from Router/MISLRouterC.nc:15, from SensorTestApp.nc:14: In component `UniqueReceiveP': /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:59: `RECEIVE_HISTORY_SIZE' undeclared here (not in a function) /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:59: size of array `receivedMessages' has non-integer type /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc: In function `Init.init': /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:73: `RECEIVE_HISTORY_SIZE' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:73: (Each undeclared identifier is reported only once /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:73: for each function it appears in.) /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc: In function `hasSeen': /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:135: `RECEIVE_HISTORY_SIZE' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc: In function `insert': /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:171: `RECEIVE_HISTORY_SIZE' undeclared (first use in this function) In file included from /opt/tinyos-2.x/tos/system/SimpleRoundRobinArbiterC.nc:83, from /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12P.nc:48, from /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ClientAutoRVGC.nc:52, from /opt/tinyos-2.x/tos/chips/msp430/adc12/AdcReadClientC.nc:56, from /opt/tinyos-2.x/tos/chips/msp430/sensors/Msp430InternalVoltageC.nc:51, from /opt/tinyos-2.x/tos/platforms/telosb/VoltageC.nc:47, from SensorTestApp.nc:34: In component `RoundRobinResourceQueueC': /opt/tinyos-2.x/tos/system/RoundRobinResourceQueueC.nc: At top level: /opt/tinyos-2.x/tos/system/RoundRobinResourceQueueC.nc:41: syntax error before `16' In component `HplSensirionSht11C': Sensor/HplSensirionSht11C.nc:83: cannot find `ResourceController' make: *** [exe0] Error 1 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] a problem while making telosb
Dear all, I am a new of tinyos 2.0.2, I faced a problem while making telosb as below, could you help me? thanks in advance weiping mkdir -p build/telosb compiling SensorTestApp to a telosb binary ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DIDENT_USER_ID=\wps2\ -DIDENT_HOSTNAME=\cjspc9\ -DIDENT_USER_HASH=0x83c30cabL -DIDENT_UNIX_TIME=0x46c99b07L -DIDENT_UID_HASH=0x5b1c3c71L -I%T/lib/PriorityScheduler -I./Router -I./Sensor -I./CircBuffer -I%T/chips/sht11 -I/opt/tinyos-2.x/tos/chips/cc2420/lpl -DNETWORK_SIZE=18 SensorTestApp.nc -lm In file included from /opt/tinyos-2.x/tos/system/SimpleRoundRobinArbiterC.nc:83, from /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12P.nc:48, from /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ClientAutoRVGC.nc:52, from /opt/tinyos-2.x/tos/chips/msp430/adc12/AdcReadClientC.nc:56, from /opt/tinyos-2.x/tos/chips/msp430/sensors/Msp430InternalVoltageC.nc:51, from /opt/tinyos-2.x/tos/platforms/telosb/VoltageC.nc:47, from SensorTestApp.nc:34: In component `RoundRobinResourceQueueC': /opt/tinyos-2.x/tos/system/RoundRobinResourceQueueC.nc:41: syntax error before `16' make: *** [exe0] Error 1 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] what's the meaning of this sentence
Hi all, what's the meaning of this sentence #define MSP430ADC12_RESOURCE Msp430Adc12C.Resource Is this means MSP430ADC12_RESOURCE is a string of Msp430Adc12C.Resource? thanks in advance weiping ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] a problem whil using TOSSIM
Thanks Philip, but my Python version is 2.5 seen as below: [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink python --version Python 2.5 regards, weiping On Aug 13, 2007, at 1:47 AM, Wei Ping Song wrote: Dear all, I am a beginning student of Tinyos. Now I faced a problem while using TOSSIM showed as below, and my os is open suse and Python version is 2.5. Can anyone help me? thank very much weiping cjspc9:/opt/tinyos-2.x/apps/Blink # make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline-limit=10 -Wall - Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml compiling Python support and C libraries into pytossim.o, tossim.o, and c-support.o g++ -c -shared -fPIC -o build/micaz/pytossim.o -g -O0 /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/ python2.5 -I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function ‘int SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)’: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2051: error: invalid conversion from ‘const char*’ to ‘char*’ /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function ‘void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)’: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6921: error: invalid conversion from ‘const char*’ to ‘char*’ make: *** [sim-exe] Error 1 _ It looks like there's an inconsistency between your Python and the SWIG-generated code. I have Python 2.5 and it works fine... what exact Python version do you have? Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Installing TinyOS and Compiling on Couldn't execute nescc.
Dear All, I faced a problem after installing itnyos 2.0.2 and run make micaz sim shown as below, I think it because of incorrect pathway of gcc. My nescc is in usr/bin, but GCC want to find it in usr/local/bin. So how can I ask GCC to find nescc in usr/bin? thanks very much weiping --- [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline-limit=10 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DIDENT_PROGRAM_NAME=\BlinkAppC\ -DIDENT_USER_ID=\wps2\ -DIDENT_HOSTNAME=\cjspc9\ -DIDENT_USER_HASH=0x83c30cabL -DIDENT_UNIX_TIME=0x46c1be0aL -DIDENT_UID_HASH=0x85490478L -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml Couldn't execute nescc make: *** [sim-exe] Error 2 -- nesc: /usr/bin/nescc Version: nescc: 1.2.8a [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink ncc -v /usr/local/bin/nescc -fnesc-include=tos -topdir=/opt/tinyos-2.x -DPLATFORM_NULL -v -gcc=gcc -fnesc-target=pc -fnesc-no-debug -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask -I/opt/tinyos-2.x/tos/platforms/null -I/opt/tinyos-2.x/tos/lib/timer -I/opt/tinyos-2.x/tos/lib/serial -I/opt/tinyos-2.x/tos/interfaces -I/opt/tinyos-2.x/tos/types -I/opt/tinyos-2.x/tos/system Couldn't execute nescc ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] a problem whil using TOSSIM
Dear all, I am a beginning student of Tinyos. Now I faced a problem while using TOSSIM showed as below, and my os is open suse and Python version is 2.5. Can anyone help me? thank very much weiping cjspc9:/opt/tinyos-2.x/apps/Blink # make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline-limit=10 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml compiling Python support and C libraries into pytossim.o, tossim.o, and c-support.o g++ -c -shared -fPIC -o build/micaz/pytossim.o -g -O0 /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.5 -I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function ‘int SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)’: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2051: error: invalid conversion from ‘const char*’ to ‘char*’ /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function ‘void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)’: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6921: error: invalid conversion from ‘const char*’ to ‘char*’ make: *** [sim-exe] Error 1 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] A question of TOSSIM
Dear all, I have a question about using TOSSIM, my OS is open SUSE 10 and Python version is 2.5, it has been shown blow: [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline-limit=10 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml compiling Python support and C libraries into pytossim.o, tossim.o, and c-support.o g++ -c -shared -fPIC -o build/micaz/pytossim.o -g -O0 /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.5 -I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function ‘int SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)’: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2051: error: invalid conversion from ‘const char*’ to ‘char*’ /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In function ‘void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)’: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:6921: error: invalid conversion from ‘const char*’ to ‘char*’ make: *** [sim-exe] Error 1 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help