Wireless sensor network operating system TinyOS

Source: Internet
Author: User

TinyOS is a free and open source, component-based (component-based) operating system and platform for wireless sensor networks (WSN, wireless sensor network). TinyOS is an embedded operating system written using the NESC program as a result of a series of collaborative projects. Its first appearance was as a masterpiece of UC Berkeley and Intel Research collaborating labs, embedded in the smart micro-dust, and then slowly evolved into an international cooperative project, the TinyOS Alliance.

The TinyOS application is written in Nesc, which is a branch of C programming language optimized for the memory limitations of the perceptual network. Its complementary tools come mainly from Java form and shell script Front-ends. Other related libraries and tools, such as the Nesc compiler and the Atmel Avrbinutils Toolchains, are mostly written in C.

The TinyOS program is constructed by component-based software engineering software component, some of which represent the abstract concept of hardware, and the components are connected to each other by interfaces. TinyOS provides interfaces and components for common abstract descriptions (abstractions), such as packet Communication (packet communication), routing, Sensing (sensing), behavior (actuation), and storage.

TinyOS Full non-blocking: It is equipped with a separate stack. As a result, all I/O operations that last more than hundreds of microseconds are asynchronous and have callback capabilities (callback). To enable the local compiler to better optimize the cross-call boundary (optimize across calls boundaries), TinyOS uses the Nesc feature to connect to these callback calls as event (events). The non-blocking system allows the TinyOS to maintain a high degree of synergy (concurrency) under a single memory. It forces the program to write compound logic using stitching together many small event handlers method. To support higher computational volumes, TinyOS provides tasks that are smaller than deferred Procedure call and interrupt handler bottom halves.

A TinyOS build can publish a task that the operating system can put into a list to be executed later. The task is not prioritized and runs in the FIFO. This simple collaboration model is typical for I/O-centric applications, but the model is not very good for CPU-heavy applications because it leads to multiple requests to the OS for collaborative processing between threads (but it difficulty with Cpu-heavy Applications have led to several proposals for incorporating threads into the OS.).

The TinyOS code is statically connected to the program code and then with the GNU Toolchain. Compiled into a small binary system. Its alliance provides a complete development platform for the application of TinyOS.

http://www.tinyos.net/




This article from "It Technology Learning and communication" blog, declined reprint!

Wireless sensor network operating system TinyOS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.