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
1
vote
1 answer

How to transmit a message to particular nodes in tinyOS?

I am trying to implement a code in TINYOS TOSSIM, where node 1 transmits a message to node 2, then node 2 transmits to node 3, which transmits a message back to node 1. It seemed to be simple, everything goes well til the point where I have to…
ViniLL
  • 107
  • 1
  • 5
  • 14
1
vote
1 answer

Unable to compile TinyOs applications with avr-gcc 4.2.1 but able to compile with avr-gcc 3.3

i'm trying to compile TinyOs 1.x applications on my cygwin machine. I'm able to compile the applications of TinyOs 1.x using avr-gcc v3.3 but not with v4.2.1. I wanted to upgrade my avr-gcc from v3.3 to v4.2.1 as there are support for new…
1
vote
1 answer

Error while running Blink program

I am working in TinyOs in Ubuntu 16.04. When i run the Blink program, the following error occurs: [INFO] script 2538 bytes in ROM 56 bytes in RAM [INFO] size (toolchain): text data bss dec hex filename 2596 …
Rensi Sam
  • 118
  • 13
1
vote
1 answer

ACK with packet retransmission

Again I came across a doubt. I inserted in my implementation the use of ACK. In the function: AMSend.sendDone (message_t * bufPtr, error_t error) { if (call PacketAcknowledgements.wasAcked (bufPtr)) { dbg ("test", "SEND_ACK \ n"); …
ARSaraiva
  • 21
  • 2
1
vote
1 answer

Telosb Low Power Mode:

I'm working on a project that involves switching the state of the Telosb, i would like to know how to put the motes to "sleep" (low power) and how to wake the motes up.
1
vote
1 answer

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*…
Raffo
  • 1,642
  • 6
  • 24
  • 41
1
vote
1 answer

I am not able to create arrays in Nes-C language. any suggestions ?

Can anyone tell me how to create arrays in nes-c. Also i would like to print them. I just saw on google that this is a way but its giving me errors. uint8_t i;* uint8_t in[16] = …
1
vote
3 answers

tinyos make: *** No rule to make target 'telosb'. Stop

I installed tinyos on ubuntu 15.04 following this tutorial: http://tinyos.stanford.edu/tinyos-wiki/index.php/Automatic_installation My telosb is well detected: root@liberty:/opt/tinyos-release-tinyos-2_1_2/apps/Blink# motelist Reference Device …
tom
  • 55
  • 1
  • 9
1
vote
1 answer

nesC files using functions of C file

I help some help to understand while my source don't compile, the main errors report are : SerialC.nc:43: syntax error before `&' SerialC.nc:43: warning: return-type defaults to `int' SerialC.nc:43: conflicting types for `startList' In my…
user1687504
1
vote
1 answer

How to split up an array to specific size

I am about to implement some algorithm in telosb motes. What I need to do is, take a file and split it up in smaller objects and then splitting up the object to even smaller object called pages, like described in the figure below. After doing that,…
RamHS
  • 750
  • 6
  • 24
1
vote
1 answer

NesC / GMP Undefined Symbol

I am trying to make a NesC program to use with TOSSIM (TinyOS simulator) including the gmp library Here is a sample of my code event void Boot.booted() { //dbg("MAPC", "Booted\n"); //int g = 2; …
Crownless
  • 123
  • 1
  • 6
1
vote
1 answer

return type for event in TinyOS

I'm implementing a module using nesC for TinyOS. My modules uses interface Timer<> so I have to implement the event fired of the interface Timer, it is possible to return a value inside this implementation or an event must be always void?
Domenico
  • 89
  • 2
  • 9
1
vote
2 answers

Start TinyOS programming and simulation in Windows

I want to start programming nesC for wireless sensor network on TinyOS in Windows environment. So far, I installed Cygwin terminal, and don't know how to install those packages. To install the package, the command is like " rpm ***" but not sun…
Ji Li
  • 21
  • 1
1
vote
0 answers

TinyOS Simulator: make micaz sim, missing Platform File (TOSSIM)

I'm running Ubuntu 12.04 and I recently installed tinyOS like shown in the official wiki: Here Then I had some issues with TOSSIM and python support, so I followed this guide to troubleshoot: Here Anyway, I'm still getting a strange error when…
1
vote
1 answer

Setting RF power tinyos (telosb)

I'm working on a project where I have increase or decrease the RF power based on rssi value. The sender mote sends data and the receiver measures the rssi value. Based on that, I have to set the power of antenna. How can I achieve that? Thank you
Illuminati0x5B
  • 602
  • 7
  • 24
1
2
3
8 9