- 1、本文档共48页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
TinyOS编程入门材料
Getting Started Guide
Rev. B, August 2004
Document 7430-0022-05
© 2002-2004 Crossbow Technology, Inc. All rights reserved.
Information in this document is subject to change without notice.
Crossbow and SoftSensor are registered trademarks and DMU is a trademark of Crossbow
Technology, Inc. Other product and trade names are trademarks or registered trademarks of their
respective holders.
Wireless Sensor Networks Getting Started Guide
Table of Contents
1 Mesh Networking Right Out-of-the-Box 4
1.1 Installing the Surge-View Folder onto Your PC5
1.2 Preparing the Sensor Nodes and Base Station 6
1.3 SerialForwarder7
1.4 Running the Surge GUI8
1.5 Analyzing Network-data with Stats 10
1.6 Reviewing Network Topology and Yield with HistoryViewer 11
2 Installation of TinyOS 13
2.1 What You Need for Installation 13
2.2 Installing TinyOS 1.1.0, Development Tools, and TinyOS 1.1.7 Updates..13
2.3 TinyOS PC Tools Verification16
3 Programing Environment Customization 17
3.1 Setting Aliases17
3.2 Compiling TinyOS Applications17
3.3 Programming Boards18
3.4 Installing TinyOS Applications into a Mote 19
3.5 Setting the Group ID and Node Address for the Mote Network20
3.6 Radio Frequencies 20
3.7 The MakeXbowlocal File 21
4 Introduction to TinyOS and NesC 24
4.1 TinyOS Programming philosophy 24
4.2 Concurrency Model25
4.3 An Example Application: Blink25
4.4 Compiling the Blink Application26
4.5 Programming a Mote and Running Blink 26
4.6 Generating the Component Structure Documentation 27
4.7 Radio Communications28
文档评论(0)