tinyos

TinyOS CC2420ReceiveP

I want to hold onto packets that fail the crc check. To do this I have commented out a section of the CC2420RecieveP readDone function that checks the msb bit of the LQI byte in the received buffer. I think this is working, However, once I receive the packet in my own receive function I send it through the serial component (not just th...

Running TinyOS SerialForwarder and Oscilloscope displays blank screen

I'm working through the Oscilloscope tutorial on tinyos.net. First I run: $ java net.tinyos.sf.SerialForwarder -comm /dev/ttyUSB0:tmote & The gui for serialforwarder pops up but nothing is in the display area. When I enter ./run in /Oscilloscope/java/ Again the gui pops up but nothing is displayed. I can run Listener and see that the ...

Tinyos Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

Hi, When I use make command, like make mica2, in TinyOS. The following problem will occured: Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n umber in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.Secure...

Are event in tinyos signaled inside the stack?

I wanted to ask something that I think is not clearly specified in the tinyos2 programming manual. When a command or task signals an interface event are the wired functions called immediately, i.e. in the same callstack, or are these signaled events "posted" for later execution? I tend to believe it's the former one, but just to clarify...

Difference between Send.nc and SendMsg.nc

What is the difference between Send and SendMsg interface in tinyos? ...

no rules to make target 'micaz'

Hello everyone, I am a new in Tinyos. I am following the tinyos Tutorial lesson 3: Mote-mote radio communication. When I use 'make' to compile the program BlinkToRadio in lesson 3, I got a error message: make: *** No rule to make target 'micaz'. Stop. But when I compile the program Blink, it works. So I dont think its the problem i...

TInyOS 1.x Generating an error when compiling BLINK

root@everton-laptop:/opt/tinyos-1.x/apps/Blink# make pc compiling Blink to a pc binary ncc -o build/pc/main.exe -g -O0 -board=micasb -pthread -target=pc -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -fnesc-nido-tosnodes=1000 -fnesc-cfile=build/pc/app.c Blink.nc -lm In file included from /opt/tinyos-1.x/tos/platform/pc/packet_...

Some help required while working on Java and Cygwin together

Hello .. I am new to java and also cygwin . I do not have in detailed knowledge of both . I need some help.. I simple steps i will try to explain my problem. 1) I am working on tinyOS . its open source OS , used for wireless sensor networks. It provides java libraries to work on communication (PC to sensor) 2) I am working on windo...

BaseStation Example modifications

For the BaseStation example, I would like to add a functionality of sending a packet from itself to a remote mote with the appropriate ID number as a signal to start flushing packets to the base station. However, I’m not sure what’s the easiest way of going about it. It would be greatly appreciated to hear some suggestions. Thanks in adv...

Integrating multiple tutorial projects into one single project.

I’m trying to combine the attached two projects into one single project (available here and here). Basically, the receiver project is modified from the ParrotPacket example. I would like it to behave as normal initially once the power switch is turned on for the micaz motes. After 10 seconds from the mote stop receiving packets from anot...

Tinyos reception after second reply doesn't work.

I'm in trouble with my nesC code. In my code I send a first packet using AMSend.send(AM_BROADCAST_ADDR, &packet, sizeof(rd_message)). After that, when a message is received in function event message_t* Receive.receive(message_t* bufPtr, void* payload, uint8_t len){ a reply is generated and sent successfully, but the other nodes are not ...

Heterogenous application simulation running TOSSIM

I'm planning on building a sensor network using at least two different applications - one application to sense and send data and another to collect data at the root of an ad-hoc network, for example. Is it possible to simulate this in TOSSIM? The docs only show how to simulate a network running one application. ...

how to visualize measurement in 3d?

Hi. I need to make a 3d model and connect sensors output data to the model. I can parse sensor data to get meaningful information from sensors; like those door have been opened; light switched on; but I have no idea how to make 3d model and to interact with it for sensors end. (for example when when sensors inidicate that doors have open...