📄 tinyos tutorials - tinyos documentation wiki.htm
字号:
Sequence</A></B></SPAN></H2>
<P>Lesson 6 details the boot sequence and, in doing so, answers the question,
"But where is main()?". </P><A name=Storage></A>
<H2><SPAN class=mw-headline><B>
<LI><A title=Storage
href="http://docs.tinyos.net/index.php/Storage">Storage</A></B></SPAN></H2>
<P>Lesson 7 introduces the TinyOS storage model. Sample applications
illustrate the use of the Mount, ConfigStorage, LogRead and LogWrite
interfaces. </P><A name=Resource_Arbitration_and_Power_Management></A>
<H2><SPAN class=mw-headline><B>
<LI><A title="Resource Arbitration and Power Management"
href="http://docs.tinyos.net/index.php/Resource_Arbitration_and_Power_Management">Resource
Arbitration and Power Management</A></B></SPAN></H2>
<P>Lesson 8 introduces the TinyOS resource arbitration and power management
model. There are two exercises in this tutorial. The first one illustrates how
to gain access to predefined shared resources. The second one illustrates how
to create your own shared resource. In both tutorials, the process for
controlling the power states of the resource is presented. </P><A
name=Concurrency></A>
<H2><SPAN class=mw-headline><B>
<LI><A class=new title=Concurrency
href="http://docs.tinyos.net/index.php?title=Concurrency&action=edit">Concurrency</A></B></SPAN></H2>
<P>Lesson 9 introduces the TinyOS concurrency model. Tasks are revisited and
async code is introduced. This tutorial is currently unfinished. </P><A
name=Platforms></A>
<H2><SPAN class=mw-headline><B>
<LI><A title=Platforms
href="http://docs.tinyos.net/index.php/Platforms">Platforms</A></B></SPAN></H2>
<P>Lesson 10 provides a better understanding of the difference between "make
micaz" and "make telosb," including how these commands map into underlying
files, directories, and definitions. It is not necessary for most TinyOS
developers, but is included as a starter's guide for people who wish to
understand the make system better or wish to design a new platform. </P><A
name=TOSSIM></A>
<H2><SPAN class=mw-headline><B>
<LI><A title=TOSSIM
href="http://docs.tinyos.net/index.php/TOSSIM">TOSSIM</A></B></SPAN></H2>
<P>Lesson 11 introduces TOSSIM, a TinyOS simulator. TOSSIM allows you to
compile your TinyOS applications into a simulation framework, where you can
perform reproducible tests and debug your code with standard development
tools. </P><A name=Network_Protocols></A>
<H2><SPAN class=mw-headline><B>
<LI><A title="Network Protocols"
href="http://docs.tinyos.net/index.php/Network_Protocols">Network
Protocols</A></B></SPAN></H2>
<P>Lesson 12 introduces two basic multihop protocols, Dissemination and
Collection. Dissemination reliably delivers small data items to every node in
a network, while collection delivers small data items from every node in a
network to designated collection roots. </P><A name=TinyOS_Toolchain></A>
<H2><SPAN class=mw-headline><B>
<LI><A title="TinyOS Toolchain"
href="http://docs.tinyos.net/index.php/TinyOS_Toolchain">TinyOS
Toolchain</A></B></SPAN></H2>
<P>Lesson 13 describes the details of the TinyOS toolchain, including the
build system, how to create your own Makefile, and how to find out more
information on the various tools included with TinyOS. </P><A
name=Building_a_simple_but_full-featured_application></A>
<H2><SPAN class=mw-headline><B>
<LI>Building a simple but full-featured application</B></SPAN></H2>
<P>Lesson 14 goes through the process of building a simple anti-theft
application using many of the features and services of TinyOS 2. Lesson 14 is
found in the tinyos-2.x/apps/AntiTheft directory. The powerpoint slides found
there (also available in pdf form) go over the basic principles of TinyOS, and
show how to build the accompanying AntiTheft application. Please start by
reading the README.txt file in the AntiTheft directory. </P>
<P>To run the AntiTheft demo you will need mica2 or micaz motes, and some
mts310 sensor boards (you can also use mts300 boards, though you will lose the
movement detection functionality). If you do not have this hardware, the
slides and AntiTheft code should still provide a good overview of TinyOS 2.
</P><A name=The_TinyOS_printf_Library></A>
<H2><SPAN class=mw-headline><B>
<LI><A title="The TinyOS printf Library"
href="http://docs.tinyos.net/index.php/The_TinyOS_printf_Library">The TinyOS
printf Library</A></B></SPAN></H2>
<P>Lesson 15 describes the details of using the TinyOS printf library to print
debug messages to your PC from a TinyOS application running on a mote. </P><A
name=Writing_Low-Power_Applications></A>
<H2><SPAN class=mw-headline><B>
<LI><A title="Writing Low-Power Applications"
href="http://docs.tinyos.net/index.php/Writing_Low-Power_Applications">Writing
Low-Power Applications</A></B></SPAN></H2>
<P>This lesson demonstrates how to write low power sensing applications in
TinyOS. At any given moment, the power consumption of a wireless sensor node
is a function of its microcontroller power state, whether the radio, flash,
and sensor peripherals are on, and what operations active peripherals are
performing. This tutorial shows you how to best utilize the features provided
by TinyOS to keep the power consumption of applications that use these devices
to a minumum. </P></LI></UL><A name=User_Contributed_Tutorials></A>
<H1><SPAN class=mw-headline>User Contributed Tutorials</SPAN></H1>
<UL><A name=Platform_Creation_and_Testing></A>
<H2><SPAN class=mw-headline><B>
<LI><A title="Platform Creation and Testing"
href="http://docs.tinyos.net/index.php/Platform_Creation_and_Testing">Platform
Creation and Testing</A></B></SPAN></H2></LI></UL><!-- Saved in parser cache with key tinyosdocs:pcache:idhash:6-0!1!0!!en!2!edit=0 and timestamp 20080402052632 -->
<DIV class=printfooter>Retrieved from "<A
href="http://docs.tinyos.net/index.php/TinyOS_Tutorials">http://docs.tinyos.net/index.php/TinyOS_Tutorials</A>"</DIV><!-- end content -->
<DIV class=visualClear></DIV></DIV></DIV></DIV>
<DIV id=column-one>
<DIV class=portlet id=p-cactions>
<H5>Views</H5>
<DIV class=pBody>
<UL>
<LI class=selected id=ca-nstab-main><A title="View the content page [c]"
accessKey=c
href="http://docs.tinyos.net/index.php/TinyOS_Tutorials">Article</A>
<LI class=new id=ca-talk><A title="Discussion about the content page [t]"
accessKey=t
href="http://docs.tinyos.net/index.php?title=Talk:TinyOS_Tutorials&action=edit">Discussion</A>
<LI id=ca-viewsource><A
title="This page is protected. You can view its source. [e]" accessKey=e
href="http://docs.tinyos.net/index.php?title=TinyOS_Tutorials&action=edit">View
source</A>
<LI id=ca-history><A title="Past versions of this page. [h]" accessKey=h
href="http://docs.tinyos.net/index.php?title=TinyOS_Tutorials&action=history">History</A>
</LI></UL></DIV></DIV>
<DIV class=portlet id=p-personal>
<H5>Personal tools</H5>
<DIV class=pBody>
<UL>
<LI id=pt-login><A
title="You are encouraged to log in, it is not mandatory however. [o]"
accessKey=o
href="http://docs.tinyos.net/index.php?title=Special:Userlogin&returnto=TinyOS_Tutorials">Log
in / create account</A> </LI></UL></DIV></DIV>
<DIV class=portlet id=p-logo><A title="Visit the Main Page [z]"
style="BACKGROUND-IMAGE: url(/images/tos-jwall-small.jpg)" accessKey=z
href="http://docs.tinyos.net/index.php/Main_Page"></A></DIV>
<SCRIPT type=text/javascript> if (window.isMSIE55) fixalpha(); </SCRIPT>
<DIV class=portlet id=p-navigation>
<H5>Navigation</H5>
<DIV class=pBody>
<UL>
<LI id=n-mainpage><A title="Visit the Main Page [z]" accessKey=z
href="http://docs.tinyos.net/index.php/Main_Page">Main Page</A>
<LI id=n-portal><A
title="About the project, what you can do, where to find things"
href="http://docs.tinyos.net/index.php/TinyOS_Documentation_Wiki:Community_Portal">Community
portal</A>
<LI id=n-currentevents><A
title="Find background information on current events"
href="http://docs.tinyos.net/index.php/Current_events">Current events</A>
<LI id=n-recentchanges><A title="The list of recent changes in the wiki. [r]"
accessKey=r
href="http://docs.tinyos.net/index.php/Special:Recentchanges">Recent
changes</A>
<LI id=n-randompage><A title="Load a random page [x]" accessKey=x
href="http://docs.tinyos.net/index.php/Special:Random">Random page</A>
<LI id=n-help><A title="The place to find out."
href="http://docs.tinyos.net/index.php/Help:Contents">Help</A>
<LI id=n-sitesupport><A title="Support us"
href="http://docs.tinyos.net/index.php/TinyOS_Documentation_Wiki:Site_support">Donations</A>
</LI></UL></DIV></DIV>
<DIV class=portlet id=p-search>
<H5><LABEL for=searchInput>Search</LABEL></H5>
<DIV class=pBody id=searchBody>
<FORM id=searchform action=/index.php/Special:Search>
<DIV><INPUT id=searchInput title="Search TinyOS Documentation Wiki [f]"
accessKey=f name=search> <INPUT class=searchButton id=searchGoButton type=submit value=Go name=go> <INPUT class=searchButton id=mw-searchButton type=submit value=Search name=fulltext>
</DIV></FORM></DIV></DIV>
<DIV class=portlet id=p-tb>
<H5>Toolbox</H5>
<DIV class=pBody>
<UL>
<LI id=t-whatlinkshere><A title="List of all wiki pages that link here [j]"
accessKey=j
href="http://docs.tinyos.net/index.php/Special:Whatlinkshere/TinyOS_Tutorials">What
links here</A>
<LI id=t-recentchangeslinked><A
title="Recent changes in pages linked from this page [k]" accessKey=k
href="http://docs.tinyos.net/index.php/Special:Recentchangeslinked/TinyOS_Tutorials">Related
changes</A>
<LI id=t-upload><A title="Upload images or media files [u]" accessKey=u
href="http://docs.tinyos.net/index.php/Special:Upload">Upload file</A>
<LI id=t-specialpages><A title="List of all special pages [q]" accessKey=q
href="http://docs.tinyos.net/index.php/Special:Specialpages">Special pages</A>
<LI id=t-print><A title="Printable version of this page [p]" accessKey=p
href="http://docs.tinyos.net/index.php?title=TinyOS_Tutorials&printable=yes">Printable
version</A>
<LI id=t-permalink><A title="Permanent link to this version of the page"
href="http://docs.tinyos.net/index.php?title=TinyOS_Tutorials&oldid=845">Permanent
link</A> </LI></UL></DIV></DIV></DIV><!-- end of the left (by default at least) column -->
<DIV class=visualClear></DIV>
<DIV id=footer>
<DIV id=f-poweredbyico><A href="http://www.mediawiki.org/"><IMG
alt="Powered by MediaWiki"
src="TinyOS Tutorials - TinyOS Documentation Wiki.files/poweredby_mediawiki_88x31.png"></A></DIV>
<UL id=f-list>
<LI id=lastmod>This page was last modified 01:53, 21 March 2008.
<LI id=viewcount>This page has been accessed 7,149 times.
<LI id=privacy><A title="TinyOS Documentation Wiki:Privacy policy"
href="http://docs.tinyos.net/index.php/TinyOS_Documentation_Wiki:Privacy_policy">Privacy
policy</A>
<LI id=about><A title="TinyOS Documentation Wiki:About"
href="http://docs.tinyos.net/index.php/TinyOS_Documentation_Wiki:About">About
TinyOS Documentation Wiki</A>
<LI id=disclaimer><A title="TinyOS Documentation Wiki:General disclaimer"
href="http://docs.tinyos.net/index.php/TinyOS_Documentation_Wiki:General_disclaimer">Disclaimers</A>
</LI></UL></DIV>
<SCRIPT type=text/javascript>if (window.runOnloadHook) runOnloadHook();</SCRIPT>
</DIV><!-- Served in 0.267 secs. --></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -