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

TinyOS: Command to retrieve logged data from flash memeory

I am using Telosb motes, with the help of tutorials, I could able to log the data into flash memory of the mote. But I dont know how to retrieve the logged data from flash memory. Is there any kind of command which has to be given at the linux…
0
votes
3 answers

TinyOS: RssiDemo

I'm trying to run the RssiDemo example of TinyOS which is situated under the apps/tutorials/RssiDemo folder. My problem is that when I try to generate the RssiMsg.java class with make i obtain the following message: clang: error: language not…
Gengi
  • 633
  • 5
  • 8
0
votes
1 answer

Compile error when creating packet

I'm studying THIS tutorial for tinyos and I wanted to try it out. I try to create the packet but it gives me the following error. I don't know what's wrong. It is probably something simple but I can't figure out what it is. #include "TestMsg.h" …
gyozo kudor
  • 6,284
  • 10
  • 53
  • 80
0
votes
1 answer

nesC error to divide two integer when the partial result is minor of 1

This is a part of my code to explain my problem: int64_t packet_tx=3; int64_t packet_rx=5; int64_t packet_loss; printf("Packet_loss: %d",((packet_tx-packet_rx)/packet_tx)*100); In this code is ever packet_tx>=packet_rx; The result is an integer…
Nunzio Meli
  • 89
  • 2
  • 2
  • 8
0
votes
2 answers

TinyOS nesC - typedef nx_struct dependence

I have a problem when i create a header file where i define three struct! The problem is a dependence between the struct. I try this like-c syntax but I receive an error when I compile the code. The error…
Nunzio Meli
  • 89
  • 2
  • 2
  • 8
0
votes
1 answer

Parameter passing to the TinyOS Timer.

I am completely new to the tinyos and related API. I have defined a timer and starting it as below. uses interface Timer as DelayTimer; call DelayTimer.startOneShot(TIMER_PERIOD_MILLI); Also defined a timer expiry handler as below, event…
AnilJ
  • 1,951
  • 2
  • 33
  • 60
0
votes
1 answer

Where to start for WSN development

I want to get my hands on WSN development. So far I have been working with TinyOS and TOSSIM and I have some familiarity with the basic concepts involved in WSN field. However, I want to slowly move to practice and actually start working with…
user804723
  • 329
  • 1
  • 3
  • 9
0
votes
3 answers

Strange behaviour of printf string format in C

I have the function below in nesCwhich is essentially same as C as far as I understood! event void AdaptiveSampling.dataAvailable(error_t result, float val, bool isRealData) { if(result == SUCCESS) { //converting raw ADC to…
Dumbo
  • 13,555
  • 54
  • 184
  • 288
0
votes
2 answers

avr-gcc: No such file or directory

I have been following the TinyOS tutorial at this link: http://www.cse.wustl.edu/~lu/cse521s/Slides/tutorial.pdf. I cannot get the final project code to compile in tinyos. I'm using windows xp with cygwin and all the latest rpms. When I try to…
0
votes
1 answer

cross product in TinyOs?

how can i make cross product between two vector in Tinyos (nesC)? if i have position=p1+x*ex+y*ey;; where ex,ey: are vector. i am searching for that but couldn't find any thing helped !!! so is there any helpful way to do this ? if i go to the…
Hana90
  • 943
  • 5
  • 17
  • 37
0
votes
1 answer

use serialforwarder data in another program

how can i build the serialforwarder or use it to forward the received data to another program to make some process? how to parse the data and use it as input data to another program such as Matlab or c# or java application. which protocol used to…
Hana90
  • 943
  • 5
  • 17
  • 37
0
votes
2 answers

dynamic array in NesC with Tinyos 1,x

i want to define dynamic array which i don't want to give it constant length ex: uint16_t array1[10]. need to dynamically grow when we insert new item. i want it suitable with TinyOs 1.x
Hana90
  • 943
  • 5
  • 17
  • 37
0
votes
1 answer

File handling in tinyos or tossim

I need to read data from a text file in a tinyos file (nesc file). I searched lot on Internet but couldn't find a way. Is there any way?
unknown_boundaries
  • 1,482
  • 3
  • 25
  • 47
0
votes
1 answer

how to read virtual serial port of MIB520

i need to read from my Pc the serial port that connected with MIB520 usb board ? if i know the sequence of the data received byte by byte then can i use C# or any tool to read this port ?? i have iris and MicAz motes that read gps packet then they…
Hana90
  • 943
  • 5
  • 17
  • 37
0
votes
1 answer

Module to wrap generic Timer

I am trying to write a module to wrap a generic Timer, but I would like to use this module to be able to wrap timers with arbitrary precision, without writing duplicated code. I wrote the module like that, but it complains that precision_tag is…
LtWorf
  • 7,286
  • 6
  • 31
  • 45
1 2 3
8
9