⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moteapifunctions.html

📁 MatLab图像传感器网络仿真平台WiSNAP
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./moteapifunctions_files/filelist.xml">
<link rel=Edit-Time-Data href="./moteapifunctions_files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Wireless Image Sensor Network Application Platform</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Stephan Hengstler</o:Author>
  <o:LastAuthor>Stephan Hengstler</o:LastAuthor>
  <o:Revision>54</o:Revision>
  <o:TotalTime>61</o:TotalTime>
  <o:Created>2005-03-02T06:58:00Z</o:Created>
  <o:LastSaved>2005-03-14T06:11:00Z</o:LastSaved>
  <o:Pages>3</o:Pages>
  <o:Words>486</o:Words>
  <o:Characters>2773</o:Characters>
  <o:Company>@home</o:Company>
  <o:Lines>23</o:Lines>
  <o:Paragraphs>5</o:Paragraphs>
  <o:CharactersWithSpaces>3405</o:CharactersWithSpaces>
  <o:Version>9.6926</o:Version>
 </o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
h1
	{margin-right:0in;
	mso-margin-top-alt:auto;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:1;
	font-size:24.0pt;
	font-family:"Times New Roman";}
h2
	{mso-style-next:Normal;
	margin-right:0in;
	mso-margin-top-alt:auto;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	page-break-after:avoid;
	mso-outline-level:2;
	font-size:18.0pt;
	font-family:"Times New Roman";
	font-weight:normal;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Courier New";
	mso-fareast-font-family:"Courier New";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>

<script language="JavaScript">
function slipInNewDest(cname){ 
  if ((navigator.appName == 'Microsoft Internet Explorer') && (navigator.appVersion.substring(0,1) == '2' )) {window.location = cname.toLowerCase()+".html";}
  else {window.document.f2.action=cname.toLowerCase()+".html";}
}
</script>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]--><!-- $Revision: 1.4 $  $Date: 1998/09/11 19:57:07 $ --><!-- $Log: imagesto.html,v $# Revision 1.4  1998/09/11  19:57:07  thornton# Online doc for R11## Related Records: 50212## Revision 1.3  1998/09/08  17:24:52  thornton# Online doc for R11## Related Records: 49911# --><!-- DOCNAME: Image Processing Toolbox --><!-- HEADSTUFF -->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
<!-- NAVBARTOP -->

<div class=Section1>

<table border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;
 mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
 <tr>
  <td valign=top style='background:#9BD0E0;padding:0in 0in 0in 0in;-moz-background-clip: initial;
  -moz-background-inline-policy: initial;-moz-background-origin: initial;
  background-position-x:0%;background-position-y:
  50%;background-attachment:
  scroll;background-repeat:repeat'>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<span
  style='font-size:12.0pt'><B>Wireless Sensor Networks Lab - Stanford University</B></font><br>
<span
  style='font-size:15.0pt'>WiSNAP</font><br><span
  style='font-size:15.0pt'>Wireless Image Sensor Network Application Platform</span><u1:p></u1:p><o:p></o:p></p>
  </td>
  <td valign=top style='background:#9BD0E0;padding:0in 0in 0in 0in;-moz-background-clip: initial;
  -moz-background-inline-policy: initial;-moz-background-origin: initial;
  background-position-x:0%;background-position-y:
  50%;background-attachment:
  scroll;background-repeat:repeat'>
  <form name=f2 onsubmit="slipInNewDest(f2.cmdname.value)">
  <p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:right'>&nbsp;&nbsp;<b>Go to function:</b> <INPUT TYPE="text" SIZE="12" NAME="cmdname"></p>
  </form>
  </td>
  <td valign=top style='background:#9BD0E0;padding:0in 0in 0in 0in;-moz-background-clip: initial;
  -moz-background-inline-policy: initial;-moz-background-origin: initial;
  background-position-x:0%;background-position-y:
  50%;background-attachment:
  scroll;background-repeat:repeat'>
  <p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:right'>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.html"
  target="_top">Index</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="contents.html"
  target="_top">Contents</a>&nbsp;</p>
  </td>
 </tr>
</table>

<p class=MsoNormal><span style='display:none;mso-hide:all'><u1:p></u1:p><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>

<table border=0 cellpadding=0 width="100%" style='width:100.0%;mso-cellspacing:
 1.5pt;mso-padding-alt:0in 0in 0in 0in'>
 <tr>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><u1:p></u1:p><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
  </td>
 </tr>
</table>

<h1>Wireless Mote API: Functions</h1>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>WiSNAP's
Wireless Mote API provides the following functions to interface with wireless
motes.</p>

<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>


<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>


<h2><a name=open></a>Function: open</h2>

<p class=MsoNormal>Opens a communications session with the wireless mote.</p>

<h3>Syntax</h3>

<pre>handle = wireless_mote_api(device,'open',port)</pre>

<h3>Input(s)</h3>

<table border=1 cellpadding=0 width="100%" style='width:100.0%;mso-cellspacing:
 1.5pt;mso-padding-alt:0in 0in 0in 0in'>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'><pre>device</pre></td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal>Wireless mote device (string):<br>
  'CC2420DB': Chipcon CC2420DB wireless mote.</p>
  </td>
 </tr>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'><pre>port</pre></td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal>Communications port (string).</p>
  </td>
 </tr>
</table>

<h3>Output(s)</h3>

<table border=1 cellpadding=0 width="100%" style='width:100.0%;mso-cellspacing:
 1.5pt;mso-padding-alt:0in 0in 0in 0in'>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'><pre>handle</pre></td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal>Device handle (positive integer).</p>
  </td>
 </tr>
</table>

<h3>Example(s)</h3>

<pre style='margin-left:30.0pt'>mhandle = wireless_mote_api('CC2420DB','open','COM2')</pre>

<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>


<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>


<h2><a name=init></a>Function: init</h2>

<p class=MsoNormal>Initializes the wireless mote.</p>

<h3>Syntax</h3>

<pre>status = wireless_mote_api(device,'init',handle,PhyInfo)</pre>

<h3>Input(s)</h3>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -