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
0 answers

Buggy output while running TestNetworkC.nc in TelosB i.e TinyOS

I am trying to analyze a network by measuring Throughput, Packet Delivery Ratio and Network Lifetime using TelosB. I am using TinyOS-2.1.1 for simulating and programming. As a base code, I am using the TestNetworkC.nc that comes with the OS. I have…
Irfanuddin
  • 2,295
  • 1
  • 15
  • 29
0
votes
1 answer

How to fire a onshot timer multiple times in TinyOs?

I am trying to write a simple program in TinyOS to implement 2 timers, one a periodic timer, and the other a oneshot timer. The periodic timer has to fire every 2 seconds and the oneshot timer should fire at 5th, 7th and 9th second respectively. I…
Irfanuddin
  • 2,295
  • 1
  • 15
  • 29
0
votes
2 answers

Receive and Send in Tinyos

I have a program comunication communication between two telosb. It is a example of tinyos: https://github.com/tinyos/tinyos-release/tree/tinyos-2_1_2/apps/RadioCountToLeds. This code will send and receive a value count, if the conditions meet, it…
0
votes
1 answer

What does it mean that footprint/core OS is 400 bytes?

I am researching TinyOS for a school assignment and read that the "core OS is 400 bytes", and another source saying "The footprint of TinyOS is 400 bytes" What exactly does this mean? Is it the actual space it occupies on harddrive? How big ia a…
0
votes
0 answers

In nesC can command AMSend.send and event Receive.receive work at the same time?

Although i used interface PacketAcknowledgements,i still found i can't guarantee the communication between within one hop... In my experiment,i only use two motes,every 1 second each node send one packet to the other,then i discovered the command…
ybk1996
  • 1
  • 1
0
votes
0 answers

questions about PacketAcknowledgements in nesC,TinyOS

In order to learn how to use the interface PacketAcknowledgements,i try to modify the example in apps/RadioCountToLeds,but there are some problem,the transmit of data can't be done and it seems there is no ack back to the sender. the file…
ybk1996
  • 1
  • 1
0
votes
0 answers

Failed to parse message file:Requested alignment is not a power of 2

I'm trying to build a standard program in tinyos. The Makefile looks like this: COMPONENT=TestSerialAppC BUILD_EXTRA_DEPS += TestSerial.class CLEAN_EXTRA = *.class TestSerialMsg.java CFLAGS += -I$(TOSDIR)/lib/T2Hack TestSerial.class: $(wildcard…
Owen
  • 57
  • 3
  • 11
0
votes
2 answers

field 'info' must be a network type

I'm a beginner and I try to create a struct in nesc for a tinyos app, but i have this error that i don't know how to fix. Any ideas? The code of the struct is: typedef nx_struct Message { nx_uint16_t ID float info; } messaget;
user3121051
  • 21
  • 1
  • 6
0
votes
1 answer

Error while trying to compile in TinyOS

I was trying to run Blink application in TinyOS installed in Ubuntu16.06. `make telosb reinstallbsl,/dev/ttyUSB0` It is showing that ../../support/make/Makerules:56: Old TinyOS environment variables detected. This version of the TinyOS make…
Rensi Sam
  • 118
  • 13
0
votes
1 answer

TinyOS not compiling/uploading to TelosB mote

I'm running into a problem attempting to upload the "blink" app onto the motes. I can't seem to run the command make telosb reinstall bsl,/dev/ttUSB0 or make telosb reinstall while in the apps/Blink directory, which is preventing me from moving on…
l joyce
  • 1
  • 2
0
votes
1 answer

TOSSIM for windows

I am new to "Wireless Sensor Network". I need to be familiar with the simulators and emulators so I decided to use TOSSIM. So, can anyone provide with the documentation or tutorials for windows?
user6491909
0
votes
3 answers

import error no module named tos when run a python in raspberry pi3

I have install tinyos on a raspberry pi3 successfully, but had many problems: 1-when make any application other than the tinyos apps like Blink i have the following error: /root/tinyos-main/support/make/Makerules:56: Old TinyOS environment…
0
votes
1 answer

how to receive diffrent types of messages in NesC

I'm a bigginer in NesC langage and I want to learn how to reveive diffrent messages, in my case I have to send hello msg and other type of msg but at the reception I don't know how to specify the received msg if it is a hello ar other I did this for…
lyly
  • 1
  • 1
0
votes
1 answer

How to disable built in CRC (Cyclic Redundancy Check) from Tinyos?

Any one guide me how I disable built in CRC from Tinyos?
0
votes
1 answer

Transmition of an 1D array of more than 20 bytes to receiver node

I am using tinyOs (nesC) for communication between telosB motes. I am unable to send a 1D array of more that 20 bytes size to the receiver even if I initialize it using uint32_t. Can anyone help?
krahim1
  • 1
  • 1
1 2 3
8 9