Questions tagged [tinyos]

TinyOS is an open source and free operating system under BSD license targetting low-power wireless devices, such as those used in sensor networks, ubiquitous computing, personal area networks, smart buildings, and smart meters.

What is TinyOS ?

TinyOS is an open source and free operating system under BSD license targetting low-power wireless devices, such as those used in sensor networks, ubiquitous computing, personal area networks, smart buildings, and smart meters. Fundamentally, it is a work scheduler and a collection of drivers for microcontrollers and other integrated circuits commonly used in wireless embedded platforms.

Programming languages

TinyOS applications are written in the programming language nesC, a dialect of the C language optimized for the memory limits of sensor networks. Its supplementary tools are mainly in the form of Java and shell script front-ends.

References

127 questions
0
votes
1 answer

Telosb Mote Time taken by Turning Radio off

I am having trouble with telosb Mote, because I don't know how much time it takes when a command to turn it off is executed. Can anybody help me out, please?
0
votes
1 answer

I want my multihopOscilloscope to send data through radio and Serial port as well

I am trying to modify the multihop Oscilloscope program so that the sink node is able to send data both to UART and radio medium as well. As far as researched, I found out that the same hardware is used for sending packets via UART and radio too. In…
0
votes
1 answer

Error in compiling tkn154 test applications for TOSSIM

I am trying to compile the example applications under tinyos-2.1.2/apps/tests/tkn154. The applications compile without any error for both telosb and micaz motes (using make telosb or make micaz). However, I get a number of issues (attached below)…
0
votes
1 answer

Some problems on tinyos on the lesson Mote-PC serial communication

I'm now facing some problems maybe about java when learning tinyos. Also there is some settings about my java and the tinyos.sh //.bashrc # Start TinyOS environment pathing export TOSROOT=/opt/tinyos-2.1.2 export…
0
votes
1 answer

TinyOs nesc Packet acknowledge

I want to write a mote-mote radio communication program, and want the receiver acknowledges back to the sender. I know the PacketAcknowledgements is recommended, but there are some questions I'm not sure about this interface. 1. If I use it in the…
Fan
  • 189
  • 1
  • 3
  • 11
0
votes
1 answer

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…
Magnus
  • 1,222
  • 1
  • 12
  • 25
0
votes
1 answer

Pointer error when compiling nesc

I have the following method/event in nesc. I am getting an error event message_t* Receive.receive(message_t* bufPtr, void* payload, uint8_t len) { dbg("RadioCountToLedsC", "Received packet of length %hhu.\n", len); radio_count_msg_t* adammsg =…
chevybow
  • 9,959
  • 6
  • 24
  • 39
0
votes
1 answer

TinyOS Mote to PC Communication Error in HplAtm128UartC

Good Morning, I'm trying to use TinyOS for a WSN. I'm using the app folder where there are: - BaseStation - BaseStation 15.4 - test/TestSerial but for all app when i do "make iris" it generate the error: In component HplAtm128UartC': …
0
votes
1 answer

Tiny OS timer not resetting

I'am currently working on tinyos and I Am trying to reset timer lets say to 2 seconds when it is running at 45 seconds but it is not working, i can't figure out why, can someone help me figure it out here is the code: printf("timer before…
warl0ck
  • 3,356
  • 4
  • 27
  • 57
0
votes
1 answer

Passing data on to packet for transmission using readstream

I am using the readstream interface to sample at 100hz, I have been able to integrate the interface into Oscilloscope application. I just have a doubt in the way I pass on the buffer value on to the packet to be transmitted . Currently this is how I…
0
votes
0 answers

attaining 100% packet transmissions at high frequency

Using the Oscilloscope file I am trying to sample at a rate of 10ms using tinyos with micaz motes.If I sample at 10ms which means I should get 100 packets/second,I get only 50 packets/second successfully received and displayed on the terminal…
0
votes
1 answer

how to get Rssi value in tossim smulator

I am using TinyOS 2.1.0 under Xubuntos in my project. I want to get the RSSI values in my simulation using TOSSIM as simulator. I used the command call CC2420Packet.getRssi(msg) The component is successfully buit. But when I built it for the…
0
votes
1 answer

How to code dokuwiki that will show live data acquisition (sending and receiving of data)of telosb motes?

I'm working on a project on using dokuwiki to show live data acquisition reading of telosb motes. im using windows 7, so the motes are configured on cygwin. I dont know how to connect the wiki and the telosb.
0
votes
2 answers

interface 2420Packet not found Tinyos

every time i tried to get the Rssi value from a received packet i get this erreur interface 2420Packet not found my code is message_localization_t msg=(message_localization_t *) Packet->data; int_8 Rssi_Value=call CC240Packet.getRssi(msg); And i…
0
votes
0 answers

How to o get the Rssi value for a given packet

How to get the Rssi value for a given packet by using the CC2420Packet.getRssi() method or any method on tinyos 2.0. I used CC2420Packet.getRssi() but I got this error: interface CC2420Packet not found
1 2 3
8 9