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

Cannot find Tiny OS source-code Repository

I cannot find Tiny-OS source-code's repository link on SVN Please help thanks :)
danish.ahmad
  • 135
  • 1
  • 8
0
votes
1 answer

how to get access and read message_t data tinyos

hello every one i want to ask you if you know a way to extract data from message_t in the oldest version of TinyOs there are TOS_Msg and TOS_MsgPtr but in message_t i could't find a way please help me and i want to know if there is any data type to…
0
votes
1 answer

Not sampling at 5 ms when I increase NREADINGS to 2 in the Oscilloscope application (TinyOS)

In the TinyOS Oscilloscope application on micaz motes, when I set the sampling rate to 5 ms with NREADINGS = 1, I notice the blinking of the green LED going really fast. But when I set NREADINGS = 2 and sampling rate to 5 ms, I notice the blinking…
0
votes
1 answer

Changing Nreadings tinyos

When I change Nreadings from 1 to 2 in the oscilloscope header file, I end up getting 4 bytes of data from one sensor. My doubt is whether these 4 bytes are in the form of 2 sets of 2 bytes at different instants? If so should I average these 2 sets…
0
votes
1 answer

Write data into flash using simulator TOSSIM

#define BITINIT \ uint8_t clrClkAndData = PORTD & ~0x28 #define BIT(n) \ PORTD = clrClkAndData; \ asm __volatile__ \ ( "sbrc %2," #n "\n" \ "\tsbi 18,3\n" \ "\tsbi 18,5\n" \ "\tsbic 16,2\n" \ "\tori %0,1<<" #n…
V_B
  • 9
  • 2
0
votes
0 answers

tinyOS light (send packet if on else no)

I am want to send packet if the light is on (on 500) not from (0) else not send. what I should to do ?? Please please help me on that event void Read.readDone(error_t result, uint16_t data) { if (result != SUCCESS) { data =…
salmann
  • 1
  • 1
0
votes
1 answer

Counting the number of transmissions in TinyOS 2.x

I'm trying to implement an application in NesC able to count the number of transmissions performed along the simulation, however I'm facing many difficulties. No approach that I tryed works. Could anyone help me? this is my application: module…
0
votes
2 answers

Some help required while working on Java and Cygwin together

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…
Hippo
  • 81
  • 1
  • 2
  • 6
0
votes
1 answer

SHA1 ERROR WHILE USING TinyECC in tinyos-2.x

I am using TinyOS-2.1.2 and to achieve security techniques I am using TinyECC-2.0. I want to use the SHA1 available in tinyecc. But, when I take the hash of a value say, uint8_t data=123; I use the three functions of sha given in SHA1.nc namely,…
0
votes
1 answer

Module does not receive data through UART, TinyOS Progeamming

Module does not receive data through UART, help with TinyOS Postby Telosb » Tue Jul 15, 2014 6:47 Dear Memebers, i am new to the tinyos programming. I am working with the KMoteB from: http://www.tinyosmall.com/product_p/100-101.htm I use the YETI2…
KmoteB
  • 1
  • 1
0
votes
1 answer

error in using sha1 function in tinyecc

When I try to use the SHA1 function in tinyecc-2.0 IN TINYOS-2.1.2, i get the following error: IN the configuration file I give, implementation { components DisseminationC as App; App.SHA1 -> SHA1M; } Here SHA1.nc is the interface file and…
0
votes
1 answer

TelosB configuration with GPS

how can you configure TelosB with GPS? Can you direct me to a link that can help me with programming the TelosB?
eramae
  • 23
  • 3
0
votes
1 answer

TinyOS: converting uint16_t and uint8_t into uint32_t

I'm having the following problem: I have an uint8_t h_MSB and uint16_t h_LSB and iwant to combine them into a uint32_t So here is my code: void parseHeader(MyPackage Header,uint32_t* timeStamp ){ (*timeStamp) = (Header->h_MSB <<16)|…
Anh Tuan Nguyen
  • 971
  • 3
  • 13
  • 28
0
votes
1 answer

Error while compiling tossim in tiny OS

When I try to compile TOSSIM in tiny OS v-2.0.2 , this is the error that it is giving me: # make micaz sim Makefile:2: /opt/tinyos-2.1.0/support/make/Makerules: No such file or directory make: *** No rule to make target…
Hick
  • 35,524
  • 46
  • 151
  • 243
0
votes
1 answer

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…
ferronrsmith
  • 1,110
  • 5
  • 28
  • 47
1 2 3
8 9