[Tinyos-help] Tossim noise

2011-01-23 Thread Shamali Gunawardena
hi all, this is regarding the basic RADIOt LEDS simulation. a noice trace is added in the given example. and the simulation is run. packets are sent and received repetedly. when the noise trace is removed from the simulation the packet are just sent once and never received. Can someone please

[Tinyos-help] tossim/avrora topology

2011-01-18 Thread Newlyn Erratt
All, I am trying to determine if there is an easy way to use a matching topology between tossim and avrora. I am currently working with a generated tossim topology but since avrora doesn't support the link-gain model i am not sure if there is an easy way to migrate this topology to tossim.

[Tinyos-help] TOSSIM compilation error for Mac OS 10.6.6

2011-01-06 Thread Xiaohui Liu
Hi everyone, I recently upgraded from Mac 10.5.8 to 10.6.6. Previously, everything works fine. After the upgrade, I can not compile against tossim anymore. It gives me the following errors: Macintosh:RadioCountToLeds xiaohui$ make micaz sim mkdir -p simbuild/micaz placing object files in

[Tinyos-help] Tossim problem

2010-11-18 Thread amy wang
Hi, everyone I am learning the usage of TOSSIM, according to the following doc: http://docs.tinyos.net/index.php/TOSSIM I do well before the step of inspecting variables. I get the following problem: Could not find variable RadioCountToLedsC$counter All ocated variable

Re: [Tinyos-help] Tossim -- Topology generation

2010-11-15 Thread Pedro Nunes
On Mar 2, 2007, at 10:17 AM, Philip Levis wrote: On Mar 2, 2007, at 8:31 AM, Octav Chipara wrote: Hi, Does anyone have a topology generation for tossim in T2 handy? tinyos-2.x/support/sdk/java/net/tinyos/sim Phil I've been trying to build topologies using that tool (LinkLayerModel)

[Tinyos-help] TOSSIM Serial Port simulation

2010-10-31 Thread Jose Francisco Mingorance Puga
Hello, I have implemented an application which communicates through serial port of the mote, among other things. I run this application in TOSSIM and it seems to work. I would like to be able to sniff packets that are sent through the serial port simulated by TOSSIM. To that goal I try to use

[Tinyos-help] TOSSIM build include path

2010-10-05 Thread Magnus Morton
Hi, Is there a reason that the include path for python when building a TOSSIM application is /include/python2.5 rather than /usr/include/python2.5? Magnus ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Tossim questions and more

2010-08-18 Thread Sergio Campamá
Hello, By any chance, does anyone know what is the command path from ncc to gcc? I thought it was just ncc - gcc but I found today that there was another nescc command in between, unknown to me. And what's more, their versions differ. My understanding at this point is that ncc generates an

[Tinyos-help] Tossim questions

2010-08-15 Thread Sergio Campamá
Hello, I am trying to understand how Tossim works in order to make some changes in the simulation engine, specifically to incorporate new processors and try different wireless channel models. Is there any documentation from when MicaZ was implemented in Tossim, or the function flow from the

Re: [Tinyos-help] Tossim questions

2010-08-15 Thread Philip Levis
On Aug 15, 2010, at 11:07 AM, Sergio Campamá wrote: Hello, I am trying to understand how Tossim works in order to make some changes in the simulation engine, specifically to incorporate new processors and try different wireless channel models. Is there any documentation from when

Re: [Tinyos-help] Tossim questions

2010-08-15 Thread Sergio Campamá
Thank you Philip, hadn't occurred to me to use gdb. I'll try to produce better questions after I study TOSSIM some more. I've managed to follow some function calls but the link between NesC and C, as in sim_mote.h, are a little more difficult to understand. Thank you so much for taking some

Re: [Tinyos-help] Tossim questions

2010-08-15 Thread Philip Levis
On Aug 15, 2010, at 6:23 PM, Sergio Campamá wrote: Thank you Philip, hadn't occurred to me to use gdb. I'll try to produce better questions after I study TOSSIM some more. I've managed to follow some function calls but the link between NesC and C, as in sim_mote.h, are a little more

[Tinyos-help] TOSSIM, TinyOS, and Multimedia Sensor Networks

2010-07-30 Thread Hassan Abid
Dear all, I have one question in mind. is TinyOS , TOSSIM capable for the simulation of image/video coding and transmission? Like for example ns-2 is quite capable. Regards -- Hassan Abid MS EE Student ___ Tinyos-help mailing list

[Tinyos-help] TOSSIM and cycles

2010-07-29 Thread Newlyn Erratt
All: I am trying to determine if there is a way to find cycles in TinyOS. I know that I can find time but is there any simple method for cycles? I do know that TOSSIM isn't cycle accurate but I need a ballpark estimate between two different applications. Thanks for any help. Newlyn

Re: [Tinyos-help] TOSSIM and cycles

2010-07-29 Thread Muhammad Hamad Alizai
There is this function in sim_tossim.c sim_time_t sim_time(); It returns the simulation ticks (simulation cycles). TOSSIM has 100 ticks per second. However, the simulation clock only gets incremented at the start of new simulator event, the processing time is not captured by the

[Tinyos-help] Tossim

2010-07-24 Thread Surfman19
hello, i try to activate the debug messages (0: LEDS: Yellow off. 0: LEDS: Green off. 0: LEDS: Red off.) to see the status of the LEDs as described in the following tutorial: http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html i used the command: export DBG=am,led but it didnt work for

[Tinyos-help] TOSSIM simulation

2010-07-05 Thread huy van tran
Hi, I would like to add sensing attributes to TOSSIM to simulate an application sensing light, temperature and oxygene. I am using TinyOS 1.1 cuz I am trying to use some features of TinyDB. Can anyone tell me where I should start? I am new to TinyOS and wireless sensor network. Thank you very

[Tinyos-help] TOSSIM and TinyDB help

2010-06-27 Thread huy van tran
Hi, I've just started learning how to use TinyDB and TOSSIM. I followed the steps in section 9 of TinyDB manual to make TinyDB work with TOSSIM. Everything works properly, but TinyDB doesn't seem to generate any data from TOSSIM. In TinyDBMain GUI, when I click Reset mote, I receive the message

Re: [Tinyos-help] TOSSIM @ TinyOS 2.1.1

2010-06-22 Thread Philip Levis
On May 31, 2010, at 6:04 PM, Pedro Nunes wrote: Hi, Phil. Thanks for your reply. I agree with what you said. -- Within TossimActiveMessageC I did change the previous call of Model.send to: err = call Model.send((int)addr, amsg, len + sizeof(tossim_header_t) +

[Tinyos-help] TOSSIM and multiple channel

2010-06-18 Thread liujinzhi
Hi Renjie, I wonder whether you have solved the question or not? Because I also am stuck in this problem. It seems the tossim does not support all of the CC2420 interfaces, especially the CC2420Config, which is needed in multi-channel. Thank you. Looking forward to you answer. LIu

Re: [Tinyos-help] TOSSIM and multiple channel

2010-06-18 Thread liujinzhi
From: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of liujinzhi Sent: Thursday, June 17, 2010 4:57 PM To: huangrenjie.h...@gmail.com Cc: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] TOSSIM and multiple channel Hi

Re: [Tinyos-help] TOSSIM Simulation Rate

2010-06-16 Thread Markus Becker
I'm just getting up to speed with TOSSIM, and plan to interface the simulation to a SerialForwarder in the future. In order to do so, will I need to throttle the execution rate of my TOSSIM simulation? Regardless of the answer to that question, I'm curious as to what the de facto standard

[Tinyos-help] TOSSIM Simulation Rate

2010-06-15 Thread Jon Szymaniak
I'm just getting up to speed with TOSSIM, and plan to interface the simulation to a SerialForwarder in the future. In order to do so, will I need to throttle the execution rate of my TOSSIM simulation? Regardless of the answer to that question, I'm curious as to what the de facto standard method

[Tinyos-help] TOSSIM instantiates several modules? (i.e. one for each mote)

2010-06-15 Thread Pedro Nunes
Hi all. I found something very interesting: - imagine a module that has an array of integers and a command setValue(int) that will set the value passed by argument on TOS_NODE_IDth position of that array. - then, imagine an application that does something like MyModule.setValue(someNumber). If,

[Tinyos-help] Tossim help

2010-06-07 Thread praneeth goud
Hi, 1) Can i use message listening tools in tos like Listen, MessageReader, or serialForwarder to listen to packets generate in TOSSIM simulation?? 2) How can i use Jtossim to simulate two motes one having Basestation app and another node having some other app? Thanks

Re: [Tinyos-help] TOSSIM @ TinyOS 2.1.1

2010-05-31 Thread Philip Levis
On May 30, 2010, at 9:07 AM, Pedro Nunes wrote: Hello all. I'm using TOSSIM under TinyOS 2.1.1 and I would like to ask you all two questions: ### First I noticed that inside TossimActiveMessageC.nc in command AMSend.send we can find this piece of code: err = call

Re: [Tinyos-help] TOSSIM @ TinyOS 2.1.1

2010-05-31 Thread Pedro Nunes
Hi, Phil. Thanks for your reply. I agree with what you said. -- Within TossimActiveMessageC I did change the previous call of Model.send to: err = call Model.send((int)addr, amsg, len + sizeof(tossim_header_t) + sizeof(tossim_footer_t)); -- Regarding to TossimPacketModelC, I deleted the +

[Tinyos-help] TOSSIM @ TinyOS 2.1.1

2010-05-30 Thread Pedro Nunes
Hello all. I'm using TOSSIM under TinyOS 2.1.1 and I would like to ask you all two questions: ### First I noticed that inside TossimActiveMessageC.nc in command AMSend.send we can find this piece of code: err = call Model.send((int)addr, amsg, len + sizeof(tossim_header_t)); But the

[Tinyos-help] TOSSIM @ TinyOS 2.1.1 - Size of messages

2010-05-29 Thread Pedro Nunes
Hello all. Inside TossimActiveMessageC.nc we can find the following line within the command AMSend.send: err = call Model.send((int)addr, amsg, len + sizeof(tossim_header_t)); But the documentation of this function says that: Send a packet with a data payload of len. Therefore, I found it a

Re: [Tinyos-help] TOSSIM and CTP

2010-05-18 Thread Newlyn Erratt
I'm using the meyer noise data. I tried adding a one shot after I setup ctp for 1 millis and bumped up the simulation to run for 10 cycles and now the client gives the parent message before it tries to send but still sits in the no route loop for the entire simulation. Any ideas? I'm

Re: [Tinyos-help] TOSSIM and CTP

2010-05-17 Thread Omprakash Gnawali
On Sun, May 16, 2010 at 11:28 AM, Newlyn Erratt nerr...@umail.iu.edu wrote: All: I'm having an issue getting CTP to work with a TOSSIM simulation I'm running.  I've enabled some of the debugging in CTP and from what I can tell everything is setting up properly.  I get these messages from the

Re: [Tinyos-help] TOSSIM and CTP

2010-05-17 Thread Philip Levis
On May 17, 2010, at 8:18 PM, Omprakash Gnawali wrote: On Sun, May 16, 2010 at 11:28 AM, Newlyn Erratt nerr...@umail.iu.edu wrote: All: I'm having an issue getting CTP to work with a TOSSIM simulation I'm running. I've enabled some of the debugging in CTP and from what I can tell

[Tinyos-help] TOSSIM and CTP

2010-05-16 Thread Newlyn Erratt
All: I'm having an issue getting CTP to work with a TOSSIM simulation I'm running. I've enabled some of the debugging in CTP and from what I can tell everything is setting up properly. I get these messages from the sink: DEBUG (1): clientPtrs[0] = 0x76a070 DEBUG (1):

[Tinyos-help] TOSSIM and the Trivium algorithm

2010-05-12 Thread Sam Azzaro
Hello,i want to know if it is possible to simulate the Trivium algorithm with 2 nodesusing TOSSIM.i use tinyos2.1 thanks in advance Sam, _ Hotmail : une messagerie fiable avec une

Re: [Tinyos-help] TOSSIM and the Trivium algorithm

2010-05-12 Thread Amir Hossein Shantia
Azzaro asma_...@live.fr To: Tinyos-help tinyos-help@millennium.berkeley.edu Sent: Wed, May 12, 2010 11:50:39 AM Subject: [Tinyos-help] TOSSIM and the Trivium algorithm Hello, i want to know if it is possible to simulate the Trivium algorithm with 2 nodes using TOSSIM. i use tinyos2.1 thanks

Re: [Tinyos-help] TOSSIM and the Trivium algorithm

2010-05-12 Thread Amir Hossein Shantia
of that system for details. Content preview: Can ypu paste that file's code here please. From: Sam Azzaro asma_...@live.fr To: shantia_amirhoss...@yahoo.com; Tinyos-help tinyos-help@millennium.berkeley.edu Sent: Wed, May 12, 2010 12:32:49 PM Subject: RE: [Tinyos-help] TOSSIM

[Tinyos-help] TOSSIM, NewPacket(), pkt.Deliver(). How to receive the sent message

2010-05-04 Thread Amir Hossein Shantia
Hi All, I am using Tossim with tiny-os 2.1.0 (Python Language and no visual API). I am able to make new packets, choose a destination, and send a packet to a node. The code below is the part for where I make the packet and use deliver() function ( The topology is already made with all noises

[Tinyos-help] tossim is slow in linking into shared object

2010-04-27 Thread chikh omar
hello, did any body know why tossim is slow in linking into shared object?   thanks in advance, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address :

Re: [Tinyos-help] tossim and *** glibc detected *** /usr/bin/python: malloc(): memory corruption *** error

2010-04-22 Thread netman H
...@yahoo.com To: tinyos tinyos tinyos-help@millennium.berkeley.edu Sent: Tue, April 20, 2010 1:52:57 PM Subject: [Tinyos-help] tossim and *** glibc detected *** /usr/bin/python: malloc(): memory corruption *** error hi I am using Tossim simulator (micaz platform). I want to test a routing protocol

[Tinyos-help] tossim

2010-04-20 Thread chikh omar
hello, Does tossim support brodcast, I send a message with: call AMSend.send(addr, msg, len); where addr=AM_BROADCAST_ADDR;   However, the senddone is not reached nor the message is received. thanks for explanation, ** Omar Cheikhrouhou Engineer

[Tinyos-help] tossim and *** glibc detected *** /usr/bin/python: malloc(): memory corruption *** error

2010-04-20 Thread netman H
hi I am using Tossim simulator (micaz platform). I want to test a routing protocol in large scale networks. but when I create large networks I get *** glibc detected *** /usr/bin/python: malloc(): memory corruption: 0x0282e060 *** First I thought that it happens because of the maximum

[Tinyos-help] TOSSIM error

2010-04-19 Thread chikh omar
hello, when running tossim on Blink (lesson 11) I got the following error: o...@acer:~/tos/tinyos-2.x/apps/Blink$ make micaz sim mkdir -p simbuild/micaz make: python2.5-config : commande introuvable make: python2.5-config : commande introuvable make: python2.5-config : commande introuvable

[Tinyos-help] Tossim

2010-04-19 Thread Alexandre Locci Martins
Hi I m trying run tossim but it does not work. I try $make micaz sim and the output is mkdir -p simbuild/micaz placing object files in simbuild/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim

Re: [Tinyos-help] Tossim

2010-04-19 Thread Philip Levis
On Apr 19, 2010, at 1:24 PM, Alexandre Locci Martins wrote: Hi I m trying run tossim but it does not work. I try $make micaz sim and the output is *** Successfully built micaz TOSSIM library. But tossim cant create the 'main.exe' file to run the gui! My OS is Ubuntu 9.10.

[Tinyos-help] Tossim - TinyOS1.x

2010-04-14 Thread Atslands Rocha
Hello, I am using TinyOS 1.x (using Tossim) and trying to compile the Blink Application. But i am getting some errors: In file included from /opt/MoteWorks/tos/platform/pc/TimerC.nc:57, from SingleTimer.nc:52, from Blink.nc:42: In component

Re: [Tinyos-help] Tossim - TinyOS1.x

2010-04-14 Thread Michael Schippling
Strange...my MoteWorks install does not have a tos/platform/pc directory...but I have a 1.1.15 tree, which I think is fundamentally the same, that does. Blink make pc works fine in 1.1.15 ... Check that you are making the right thing with the right environment, by re-reading the section of the

[Tinyos-help] Tossim Build

2010-04-04 Thread Amir Hossein Shantia
Spam detection software, running on the system mail.Millennium.Berkeley.EDU, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

[Tinyos-help] TOSSIM + TINYVIZ HELP

2010-03-20 Thread kiran singh
Spam detection software, running on the system mail.Millennium.Berkeley.EDU, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

[Tinyos-help] TOSSIM

2010-03-17 Thread vimal kallayil
Hai all I installed the softwares provided by crossbow with their wsn kit.In that TinyOS version is 1.2.1.Is th e TOSSIM software is inbuild with it, otherwise where we can get TOSSIM supported to this version of TinyOS. please give me the details

[Tinyos-help] TOSSIM

2010-03-16 Thread vimal kallayil
Hai all I installed Moteworks, MoteView softwares of Crossbow, next I want to use TOSSIM. how to install this? and how to use this? please give me the instructions ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] TOSSIM compile error

2010-03-09 Thread Ziadyassin
Dear all, I installed TinyOS correctly, but while compiling TOSSIM I encountered the following error message : $ make micaz pc mkdir -p build/micaz compiling BlinkAppC to a micaz binary ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz -fnesc- cfile=build/micaz/app.c

[Tinyos-help] TOSSIM and cygwin: 'make micaz sim' compile process freezes

2010-03-06 Thread Marco Dalla Torre
Hi all, I'm using cygwin and tinyos 2.1. Whenever trying the make micaz sim target, like in one of the examples in the apps directory, the compilation process freezes at the following command: g++ -fpic -W1,--enabled-auto-image-base simbuild/micaz/pytossim.o simbuild/micaz/sim.o

[Tinyos-help] TOSSIM error

2010-03-04 Thread Gauresh Rane
Hey Kartik you have not installed or added the Pythin development library. If using UBUNTU, Go to synaptic packet manager and add insatll the python-devel something like library. That will remove the error. ___ Tinyos-help mailing list

[Tinyos-help] TOSSIM error

2010-03-01 Thread Kartik Siddhabathula
Hi All, I am getting the following error while trying to execute TOSSIM. /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:26:20: error: Python.h: No such file or directory /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:296: error: ISO C++ forbids declaration of ‘PyObject’ with no type

Re: [Tinyos-help] TOSSIM error

2010-03-01 Thread Mido
Try the steps in the Troubleshooting section: http://docs.tinyos.net/index.php/TOSSIM#Appendix_A:_Troubleshooting_TOSSIM_compilation You will be able to solve this problem. From: Kartik Siddhabathula [mailto:siddhabathulakar...@yahoo.com] Sent: Monday, March 01, 2010 11:38 AM To: 'TinyoS

Re: [Tinyos-help] TOSSIM with C++ Segmentation fault

2010-02-15 Thread Philip Levis
On Feb 12, 2010, at 7:36 AM, Laurynas Riliskis wrote: Hi, I have been using python interface to tossim, when I tested the same app (RadioCountToLeds) with c++ as it described in tutorial I get Segmentation fault directly after the last node send message. Any suggestions? Run it in gdb to

[Tinyos-help] TOSSIM with C++ Segmentation fault

2010-02-12 Thread Laurynas Riliskis
Hi, I have been using python interface to tossim, when I tested the same app (RadioCountToLeds) with c++ as it described in tutorial I get Segmentation fault directly after the last node send message. Any suggestions? L ___ Tinyos-help mailing list

Re: [Tinyos-help] TOSSIM SNR loss: why is packets checked twice and acknowledgements once?

2010-02-11 Thread Philip Levis
On Feb 9, 2010, at 7:15 PM, Morten Tranberg Hansen wrote: TinyOS users and authors of CpmModelC, The CpmModelC in tos/lib/tossim simulates packet loss based on a fixed SNR-PRR curve. A packet loss is determined by calls to shouldReceive(snr) and a lost acknowledgement is determined by

[Tinyos-help] TOSSIM SNR loss: why is packets checked twice and acknowledgements once?

2010-02-09 Thread Morten Tranberg Hansen
TinyOS users and authors of CpmModelC, The CpmModelC in tos/lib/tossim simulates packet loss based on a fixed SNR-PRR curve. A packet loss is determined by calls to shouldReceive(snr) and a lost acknowledgement is determined by calls to shouldAckReceive(snr). In the current implementation

[Tinyos-help] TOSSIM and mica2

2010-02-05 Thread sofia aparicio
Hello, I would like to know if TOSSIM is working with mica2. Otherwise, how can I see the dbg messages? Thank you very much. Sofia _ Los auténticos Hotmail y Messenger en tu

[Tinyos-help] TOSSIM

2010-02-03 Thread abbas angouti
Hi, I'm newer in TinyOs and nesC. Already I'm working on simulating a simple topology in nesC and python and TOSSIM. I have two nodes in my network and want to change the distance between two nodes to calculate some parameters like latency and reception rate. When the nodes are fixed, I can do

[Tinyos-help] TOSSIM Implementation in Large-scale Topologies (1000 motes)

2010-01-29 Thread Hsu Chih-Cheng
Hi, I'm working for simulation by TOSSIM in TinyOS 2.X (cygwin in windows XP). It works fine with 1000 nodes, but gives segmentation fault when more than 1000 nodes. I have modified Makerules: PFLAGS := -pthread $(PFLAGS) -fnesc-nido-tosnodes=*5000*-fnesc-cfile=$(BUILDDIR)/app.c and Makefile

[Tinyos-help] tossim on two nodes communication

2010-01-25 Thread Song Liu
Hi, I am trying to run a program on tossim, where two nodes (1,2) communicate with each other (sending and receiving packets). But the two nodes have different behaviors, one is sending packets periodically and another is sending when it receives the packet sent from the other node. I am

[Tinyos-help] TOSSIM problem with global variables defined in non-nesc files

2010-01-19 Thread renjie huang
Hi I have a question on T2 TOSSIM. We faced the following problem when using TOSSIM for simulation: If I define a variable or a array inside a non-nesc file (for example, *.h), all the simulated nodes will use the same memory for that variable or array. If I define the array inside a

Re: [Tinyos-help] TOSSIM problem with global variables defined in non-nesc files

2010-01-19 Thread Razvan Musaloiu-E.
Hi! On Tue, 19 Jan 2010, renjie huang wrote: Hi I have a question on T2 TOSSIM. We faced the following problem when using TOSSIM for simulation: If I define a variable or a array inside a non-nesc file (for example, *.h), all the simulated nodes will use the same memory for that variable

Re: [Tinyos-help] TOSSIM - reading nesC variables values from Python

2010-01-15 Thread Mark Proctor
Subject: [Tinyos-help] TOSSIM - reading nesC variables values from Python Hello, I am trying to read the value of a variable of my nesC code from python right after my TOSSIM simulation. In the TinyOS documentation it is said that getData method should return a python data type directly related

Re: [Tinyos-help] TOSSIM: Segmentation fault

2010-01-14 Thread Andrzej Biernacki
Hello! I had the same problem. Maybe the cause is similar. Note that for each node you have to invoke addNoiseTraceReading at least as many times as you want invoke t.runNextEvent. Hope it helps, Andrzej Biernacki On Tue, Jan 12, 2010 at 9:57 PM, YUSNAIDI MD YUSOF

[Tinyos-help] TOSSIM - reading nesC variables values from Python

2010-01-14 Thread Jose Francisco Mingorance Puga
Hello, I am trying to read the value of a variable of my nesC code from python right after my TOSSIM simulation. In the TinyOS documentation it is said that getData method should return a python data type directly related to the nesC type. However, I am trying to read a float_t or double_t

Re: [Tinyos-help] TOSSIM - reading nesC variables values from Python

2010-01-14 Thread Sylvain
Hello, Could you give your Python code ? On Thu, 2010-01-14 at 20:39 +0100, Jose Francisco Mingorance Puga wrote: Hello, I am trying to read the value of a variable of my nesC code from python right after my TOSSIM simulation. In the TinyOS documentation it is said that getData method

[Tinyos-help] TOSSIM: Segmentation fault

2010-01-13 Thread YUSNAIDI MD YUSOF
Hi All, Does anybody know why TOSSIM signals 'Segmentation fault' while simulating boot events. I got 2 nodes to boot using TOSSIM; when I limit the t.runNextEvent to 10, the simulation goes well; however, when I change the t.runNextEvent to say 100, the simulation gives an error

[Tinyos-help] Tossim make file issues

2010-01-12 Thread peng li
Hi There I updated the python version, and found applications which can work well in 2.5 version can't compile successfully under python 2.6. This is due to the irrevocable setting of python version (2.5) in corresponding makefiles (sim.extra, sim-sf.extra and sim-fast.extra), I am not sure

[Tinyos-help] TOSSIM Simualation problem

2009-12-25 Thread Ahmed Said
Hi All, I am new to tinyos, I am trying to go through the TOSSIM tutorial, I was able to compile the Radiosensetoleds application for simulation (make micaz sim), but my problem is that when i start the python interpreter and type import TOSSIM i get this error: Traceback (most recent call

Re: [Tinyos-help] TOSSIM Simualation problem

2009-12-25 Thread Marcus Autenrieth
Hi, On Fri, 25 Dec 2009 14:53:02 +0200 Ahmed Said am.s...@gmail.com wrote: Does any one know where is this function init_TOSSIM defined, I am new to python also, so my debugging capabilities are practically zero. Normally the build process should generate a sufficient .so file for python via

Re: [Tinyos-help] tossim link gain value

2009-12-16 Thread Paul Johnson
Viktor, You should look up some resources on free space loss/propagation models. They will give you a starting place on modeling gain or in reality, attenuation as a result of distance. The basic calculations will be something like this: Gain(dB) = TX Antenna/Power Gain(dB) + DistanceLoss(in

[Tinyos-help] tossim link gain value

2009-12-15 Thread Viktor Zsoldos
Hi, http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network says *|add(src, dest, gain)|*: Add a link from /src/ to /dest/ with /gain/. When /src/ transmits, /dest/ will receive a packet attenuated by the /gain/ value. How can I decide/calculate the normal, common gain values? For example

[Tinyos-help] Tossim and assembly code

2009-11-10 Thread sissou
Hello, I have a problem, I wrote a simple code which uses some inline assembly for the mica2 mote. When I compile it for mica2 it compile without any error but when I compile it for TOSSIM I have the error : error: unknown register name ‘r0’ in ‘asm’ Is there some limitations with TOSSIM that I

Re: [Tinyos-help] Tossim Make pc error

2009-11-04 Thread Janos Sallai
Pratik, TOSSIM in TinyOS 2.x is very different from TOSSIM in TinyOS 1.x, one minor piece of the changes being that the pc target does not exist any more. I suggest that you read the documentation at http://docs.tinyos.net/index.php/TOSSIM Janos On Wed, Nov 4, 2009 at 7:40 AM, Pratik Vimal

Re: [Tinyos-help] TOSSIM for tinyos2.x

2009-10-25 Thread mojtaba raznahan
Hi, Would you send me error you give? I just followed this link : http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Manual_installation_on_your_host_OS_with_RPMs Regards http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Manual_installation_on_your_host_OS_with_RPMs On Sun, Oct 25, 2009

[Tinyos-help] TOSSIM with Mica2

2009-10-14 Thread maha timraz
Hi I'm using mica2 motes from crossbow company . I want to simulate the surge reliable code which provided by crossbow . I want to ask if I can use TOSSIM to do that . I found a note that TOSSIM couldnt be used with mica2 . And if it is not posssible , is there any other simulator that

Re: [Tinyos-help] TOSSIM Help required

2009-10-04 Thread sissou
Hi, Yes you'll be able to use TOSSIM in the xbuntos system. Regards. Sylvain On Sun, 2009-10-04 at 00:29 +0530, nandini pandey wrote: hi folks, i have just got hold of the live cd of xbuntos i have a basic doubt can i work on tossim...if i don't have any hardware. the name so suggests

[Tinyos-help] TOSSIM Help required

2009-10-03 Thread nandini pandey
hi folks, i have just got hold of the live cd of xbuntosi have a basic doubt can i work on tossim...if i don't have any hardware. the name so suggests yet...just want o be sure by the time i install it on a desktop. pl help. thanx ___ Tinyos-help

Re: [Tinyos-help] TOSSIM and radio transmission power

2009-09-21 Thread Mohammed Billoo
Hi, Just curious, why do you want an alternative ? What's wrong with setting the transmit power within the nesC code using CC2420.setpower() ? Regards, -- Mohammed Billoo ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] TOSSIM and radio transmission power

2009-09-21 Thread Mark Proctor
As far as i can tell the cc2420 interface etc is only available when using hardware with that chip. If you want to use TOSSIM then it doesn't exist. Date: Mon, 21 Sep 2009 10:41:53 -0400 From: mohammed.bil...@gmail.com To: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] TOSSIM

[Tinyos-help] TOSSIM and radio transmission power

2009-09-20 Thread Mark Proctor
Hi, I am trying to find an alternative to CC2420Packet.setPower() that works in a TOSSIM simulation.I have spent a while searching but I can't find a way to do it in the actual nesc code for the node. So far I have been using Python to inspect variables and change the gain in the connection

[Tinyos-help] TOSSIM: Counter does not work.

2009-09-10 Thread Faisal Aslam
Hi, We have a 64 bit millisecond counter. It works fine on the motes but not in TOSSIM. I assume that it might not be implemented in TOSSIM. What alternative we can use that work both in TOSSIM and on mote (i.e mica2, micaz and Telosb). Following is our current code in the counter

Re: [Tinyos-help] tossim variable inspection

2009-08-21 Thread Razvan Musaloiu-E.
Hi! On Wed, 29 Jul 2009, Ricardo . wrote: I have the same problem. I have followed the instructions in the tutorial, but the result is exactly the same. I don't know what possibly goes wrong! :S Any one (except us) had the same problem? Can you please try the latest CVS? It contains a fix

Re: [Tinyos-help] TOSSIM

2009-08-20 Thread Razvan Musaloiu-E.
Hi! On Mon, 17 Aug 2009, sivagami amirthalingam wrote: Hello all, I want to analyze the performance of the CTP protocol using the parameter like PRR and no. of packets forwarded by each node. I am using TOSSIM simulator and 9 node grid topology. I counted no of packets forwarded in the

[Tinyos-help] TOSSIM

2009-08-17 Thread sivagami amirthalingam
Hello all,  I want to analyze the performance of the CTP protocol using the parameter like PRR and no. of packets forwarded by each node.   I am using TOSSIM simulator and 9 node grid topology. I counted no  of packets forwarded in the forward event of Intercept interface. The simulator gives

[Tinyos-help] TOSSIM: How long should runNextEvent() take ?

2009-08-17 Thread David
Hi, I'm trying to simulate something with tossim and I'm wondering how long a runNextEvent() call should take. When I call runNextEvent() from within Python the processor usage shoots up to about 100% and nothing happens untill I kill the Python process. Since I thought this might be

Re: [Tinyos-help] TOSSIM: How long should runNextEvent() take ?

2009-08-17 Thread David
My fault, had a neverending loop in the code. Sorry. Am 17.08.2009 um 16:34 schrieb David: Hi, I'm trying to simulate something with tossim and I'm wondering how long a runNextEvent() call should take. When I call runNextEvent() from within Python the processor usage shoots up to about 100%

Re: [Tinyos-help] TOSSIM compile error

2009-08-06 Thread Rémi Villé
2009/8/5 YUSNAIDI MD YUSOF yusnaidi.md-yu...@newcastle.ac.uk Hi All, I encountered a problem while compiling Blink application in TOSSIM/TinyOS-2.1/Fedora Linux. This is my first attempt to compile on TOSSIM since I have just installed the OS. I do really need a help here...Followings are

[Tinyos-help] TOSSIM compile error

2009-08-05 Thread YUSNAIDI MD YUSOF
Hi All, I encountered a problem while compiling Blink application in TOSSIM/TinyOS-2.1/Fedora Linux. This is my first attempt to compile on TOSSIM since I have just installed the OS. I do really need a help here...Followings are the error messages given after issuing 'make micaz sim':

Re: [Tinyos-help] tossim variable inspection

2009-07-29 Thread Ricardo .
I have the same problem. I have followed the instructions in the tutorial, but the result is exactly the same. I don't know what possibly goes wrong! :S Any one (except us) had the same problem? Cumps, -- Ricardo ___ Tinyos-help mailing list

Re: [Tinyos-help] tossim variable inspection

2009-07-23 Thread Philip Levis
I'll take a look. I think it's because the variable rewriting in TOSSIM has changed by the get() function hasn't been changed accordingly. I'll take a look on Monday. Phil On Jul 19, 2009, at 11:21 AM, Xiaogang Yang wrote: Hi,everyone: I face a urgent problem. I want to get variable

[Tinyos-help] TOSSIM

2009-07-21 Thread Mazid H Chowdhury
Dear all, I have come to know that Tinyos2.x does not have TinyViz. So if I simulate with TOSSIM, then how would it be possible to visualtize and get result of the simulation? I tried to work with BlinkToRadio application and Basestation. The Basestation LED1 blinks on connection, but I don't

[Tinyos-help] tossim variable inspection

2009-07-19 Thread Xiaogang Yang
Hi,everyone: I face a urgent problem. I want to get variable value from tossim, and follow the instruction of TOSSIM # This is an example script from the TOSSIM tutorials. # It can be used with any TinyOS application. from tinyos.tossim.TossimApp

[Tinyos-help] TOSSIM get value

2009-07-17 Thread Xiaogang Yang
Hi, I want to get variable value from tossim, and follow the instruction of TOSSIM # This is an example script from the TOSSIM tutorials. # It can be used with any TinyOS application. from tinyos.tossim.TossimApp import * from TOSSIM import * n

[Tinyos-help] TOSSIM Problem

2009-07-13 Thread koenigt
Hi, I want to modify some CC2420 files and then simulate everything with TOSSIM -micaz... To check whether it works I included a dbg statement, but when simulating the BlinkToRadio Application there is no debug output from the CC2420-Implementation. I suspect, that maybe my mod hasn't

[Tinyos-help] tossim and tinyos-2.x

2009-06-28 Thread leehan0406
hi all: I am trying to use make micaz sim to compile the TOSSIM ,and the output is below,there is a error : 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 -DUSE_DL_IMPORT -fpic -o build/micaz/sim.o -g

Re: [Tinyos-help] TOSSIM unpredictable execution

2009-06-25 Thread Philip Levis
On Jun 23, 2009, at 10:23 PM, Kumar, Vimal (ST-Student) wrote: Hi, I am trying to simulate a tree hierarchy of sensors, where the leaf nodes are sending data to their parents.The parents add up whatever they receive and send this one level up. This works fine at the first level when

<    1   2   3   4   5   6   7   >