nesC

nesC

nesC (network embedded systems C), pronounced "NES-see", is a component-based, event-driven programming language used to build applications for the TinyOS platform. TinyOS is an operating environment designed to run on embedded devices used in distributed wireless sensor networks. nesC is built as an extension to the C programming language with components "wired" together to run applications on TinyOS.

The basic concepts behind nesC are:

  1. Separation of construction and composition: programs are built out of components, which are assembled ("wired") to form whole programs. Components have internal concurrency in the form of tasks. Threads of control may pass into a component through its interfaces. These threads are rooted either in a task or a hardware interrupt.
  2. Specification of component behaviour in terms of set of interfaces. Interfaces may be provided or used by components. The provided interfaces are intended to represent the functionality that the component provides to its user, the used interfaces represent the functionality the component needs to perform its job.
  3. Interfaces are bidirectional: they specify a set of functions to be implemented by the interface's provider (commands) and a set to be implemented by the interface's user (events). This allows a single interface to represent a complex interaction between components (e.g., registration of interest in some event, followed by a callback when that event happens). This is critical because all lengthy commands in TinyOS (e.g. send packet) are non-blocking; their completion is signaled through an event (send done). By specifying interfaces, a component cannot call the send command unless it provides an implementation of the sendDone event. Typically commands call downwards, i.e., from application components to those closer to the hardware, while events call upwards. Certain primitive events are bound to hardware interrupts.
  4. Components are statically linked to each other via their interfaces. This increases runtime efficiency, encourages robust design, and allows for better static analysis of programs.
  5. nesC is designed under the expectation that code will be generated by whole-program compilers. This should also allow for better code generation and analysis.

External links



Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • NesC — (network embedded systems C) is a component based, event driven programming language used to build applications for the TinyOS platform. TinyOS is an operating environment designed to run on embedded devices used in distributed Wireless Sensor… …   Wikipedia

  • NesC — (Network Embedded Systems C) es un dialecto del lenguaje de programación C optimizado para las limitaciones de memoria de las redes de sensores. Existen varias herramientas que completan y facilitan su uso, escritas en su mayoría en Java y en… …   Wikipedia Español

  • NesC — ist eine Erweiterung der Programmiersprache C, die speziell für TinyOS geschaffen wurde. Genutzt wird ein komponentenbasiertes Konzept. Komponenten sind funktionsorientierte Bausteine, vom Grundgedanken entsprechen sie endlichen Automaten. Das… …   Deutsch Wikipedia

  • nesC — ist eine Erweiterung der Programmiersprache C, die speziell für TinyOS geschaffen wurde. Genutzt wird ein komponentenbasiertes Konzept. Komponenten sind funktionsorientierte Bausteine, vom Grundgedanken entsprechen sie endlichen Automaten. Das… …   Deutsch Wikipedia

  • NesC — est un langage de programmation dérivé du langage C, fait pour minimiser l’utilisation de mémoire et de puissance de calcul par les capteurs, qui très souvent disposent de ressources très limitées (batterie de faible puissance et non changeable,… …   Wikipédia en Français

  • NESC — Non English Speaking Country (Governmental » US Government) Nesco, Inc. (Business » NASDAQ Symbols) * Naval Electronics Systems Command (non standard) (Governmental » Military) …   Abbreviations dictionary

  • NESC — • National Energy Software Center • National Electrical Safety Code • National Environmental Satellite Center (ESSA) ( > IEEE Standard Dictionary ) …   Acronyms

  • NESC — [1] National Energy Software Center [2] National Electrical Safety Code [3] National Environmental Satellite Center (ESSA) ( > IEEE Standard Dictionary ) …   Acronyms von A bis Z

  • NESC — NASA Engineering and Safety Center Contributor: MSFC …   NASA Acronyms

  • nesc — (L). Ignorant …   Dictionary of word roots and combining forms

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”