http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/network/ble/nimble_setup/index.html ---------------------------------------------------------------------- diff --git a/latest/network/ble/nimble_setup/index.html b/latest/network/ble/nimble_setup/index.html index 40c3949..81b1ce1 100644 --- a/latest/network/ble/nimble_setup/index.html +++ b/latest/network/ble/nimble_setup/index.html @@ -480,9 +480,12 @@ bletest blinky ffs2native slinky pkg.type: app pkg.deps: - - "@apache-mynewt-core/libs/baselibc" - - "@apache-mynewt-core/libs/console/full" - - "@apache-mynewt-core/libs/os" + - "@apache-mynewt-core/kernel/os" + - "@apache-mynewt-core/hw/hal" + - "@apache-mynewt-core/sys/console/full" + - "@apache-mynewt-core/sys/log/full" + - "@apache-mynewt-core/sys/stats/full" + - "@apache-mynewt-core/net/nimble/transport/ram" - "@apache-mynewt-core/net/nimble/controller" - "@apache-mynewt-core/net/nimble/host" </pre></div> @@ -497,7 +500,7 @@ pkg.deps: <span style="color: #000000">main</span>(<span style="color: #A90D91">void</span>) { <span style="color: #177500">/* Initialize OS */</span> - <span style="color: #000000">os_init</span>(); + <span style="color: #000000">os_init</span>(<span style="color: #A90D91">NULL</span>); <span style="color: #177500">/* Start the OS */</span> <span style="color: #000000">os_start</span>();
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/newt/command_list/newt_sync/index.html ---------------------------------------------------------------------- diff --git a/latest/newt/command_list/newt_sync/index.html b/latest/newt/command_list/newt_sync/index.html index 6b4469f..2242b85 100644 --- a/latest/newt/command_list/newt_sync/index.html +++ b/latest/newt/command_list/newt_sync/index.html @@ -512,10 +512,11 @@ <h4 id="flags">Flags:</h4> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -f, --force Force overwrite of existing remote repository +</pre></div> + -#### Global Flags: -```no-highlight - -h, --help Help for newt commands +<h4 id="global-flags">Global Flags:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -h, --help Help for newt commands -j, --jobs int Number of concurrent build jobs (default 8) -l, --loglevel string Log level (default "WARN") -o, --outfile string Filename to tee output to http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/newtmgr/command_list/newtmgr_config/index.html ---------------------------------------------------------------------- diff --git a/latest/newtmgr/command_list/newtmgr_config/index.html b/latest/newtmgr/command_list/newtmgr_config/index.html new file mode 100644 index 0000000..a78bd46 --- /dev/null +++ b/latest/newtmgr/command_list/newtmgr_config/index.html @@ -0,0 +1,551 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + + <!-- This is broken by doc revisioning. + <link rel="canonical" href="http://mynewt.apache.org/newtmgr/command_list/newtmgr_config/"> --> + <link rel="shortcut icon" href="../../../img/favicon.ico"> + + <title>newtmgr config - Apache Mynewt</title> + + <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> + <link rel="stylesheet" href="../../../css/highlight.css"> + <link href="../../../css/base.css" rel="stylesheet"> + <link href="../../../css/custom.css" rel="stylesheet"> + <link href="../../../css/v2.css" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> + <link href="../../../extra.css" rel="stylesheet"> + + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> + <![endif]--> + + + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-72162311-1', 'auto'); + ga('send', 'pageview'); + </script> + + </head> + + + <body class="newtmgr config"> + + + <div class="container"> + <div class="row v2-main-banner"> + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b2</a> released (Feb 15, 2017) + </div> + </div> + </div> +</div> + + + + + + + + +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> + <div class="container"> + <!-- Collapsed navigation --> + <div class="navbar-header"> + <!-- Expander button --> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Expanded navigation --> + <div class="navbar-collapse collapse"> + <!-- Main navigation --> + <ul class="nav navbar-nav navbar-right"> + <li + class="" +> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> + </li> + <li + class="important" +> + <a href="/quick-start/">Quick Start</a> + </li> + <li + class="" +> + <a href="/about/">About</a> + </li> + <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li + class="active" +> + <a href="/latest/os/introduction">Documentation</a> + </li> + <li + class="" +> + <a href="/download/">Download</a> + </li> + <li + class="" +> + <a href="/community/">Community</a> + </li> + <li + class="" +> + <a href="/events/">Events</a> + </li> + </ul> + + <!-- Search, Navigation and Repo links --> + <ul class="nav navbar-nav navbar-right"> + + </ul> + </div> + </div> +</nav> + + + + <div class="container"> + + <div class="row"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="top"> + <div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> + <div class="form-group"> + <input type="text" name="q" class="form-control" placeholder="Search documentation" /> + </div> + </form> + </div> + </div> + <ul class="toc-nav"> + <li class="doc-version"> +<select class="form-control" onchange="if (this.value) window.location.href=this.value"> + + <option + value="/develop/os/introduction" + selected="selected" + > + Version: develop (latest) + </option> + + <option + value="/v0_9_0/os/introduction" + + > + Version: 0.9.0 + </option> + +</select> +</li> + + + + + + + + + + + + + + + + + + + + + + <li ><a href="../../../os/introduction/">Mynewt Documentation</a> + + + <ul> + + + + + + + + <li ><a href="../../../os/get_started/get_started/">Basic Setup</a> + + + </li> + + + + + + <li > + <a href="../../../os/get_started/vocabulary/">Concepts</a> + </li> + + + + + + + + <li ><a href="../../../os/tutorials/tutorials/">Tutorials</a> + + + </li> + + + + + + + + <li ><a href="../../../os/os_user_guide/">OS User Guide</a> + + + </li> + + + + + + + + <li><a href=" + ../../../network/ble/ble_intro/ +">BLE User Guide</a> + + + </li> + + + + + + + + <li ><a href="../../../newt/newt_intro/">Newt Tool Guide</a> + + + </li> + + + + + + + + <li ><a href="../../overview/">Newt Manager Guide</a> + + + <ul> + + + + + + + + <li><a href=" + ./ +">Command Guide</a> + + + <ul> + + + + <li class="active"> + <a href="./">newtmgr config</a> + </li> + + + + + + <li > + <a href="../newtmgr_conn/">newtmgr conn</a> + </li> + + + + + + <li > + <a href="../newtmgr_crash/">newtmgr crash</a> + </li> + + + + + + <li > + <a href="../newtmgr_datetime/">newtmgr datetime</a> + </li> + + + + + + <li > + <a href="../newtmgr_echo/">newtmgr echo</a> + </li> + + + + + + <li > + <a href="../newtmgr_fs/">newtmgr fs</a> + </li> + + + + + + <li > + <a href="../newtmgr_image/">newtmgr image</a> + </li> + + + + + + <li > + <a href="../newtmgr_logs/">newtmgr log</a> + </li> + + + + + + <li > + <a href="../newtmgr_mpstats/">newtmgr mpstats</a> + </li> + + + + + + <li > + <a href="../newtmgr_reset/">newtmgr reset</a> + </li> + + + + + + <li > + <a href="../newtmgr_run/">newtmgr run</a> + </li> + + + + + + <li > + <a href="../newtmgr_stat/">newtmgr stat</a> + </li> + + + + + + <li > + <a href="../newtmgr_taskstats/">newtmgr taskstats</a> + </li> + + + + </ul> + + </li> + + + + + + <li > + <a href="../../installing/">Install</a> + </li> + + + + </ul> + + </li> + + + + </ul> + + </li> + + + + + + + + <li><a href=" + ../../../faq/how_to_edit_docs/ +">Appendix</a> + + + </li> + + + + </ul> +</div></div> + + <div class="col-md-9" role="main"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs pull-right"> + <li><a href="/latest/os/introduction">Docs</a></li> + + + + <li>» <a href="../../overview/">Newt Manager Guide</a></li> + + + + <li>» Command Guide</li> + + + + <li>» newtmgr config</li> + + + + </ul> +</div> + </div> + + <h2 id="newtmgr-config"><font color="#F2853F" style="font-size:24pt">newtmgr config </font></h2> +<p>Read and write config values on a device.</p> +<h4 id="usage">Usage:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr config <var-name> [var-value] -c <conn_profile> [flags] +</pre></div> + + +<h4 id="global-flags">Global Flags:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use. + -h, --help Help for newtmgr commands + -l, --loglevel string log level to use (default "info") + -t, --trace print all bytes transmitted and received +</pre></div> + + +<h4 id="description">Description</h4> +<p>Reads and sets the value for the <code>var-name</code> config variable on a device. Specify a <code>var-value</code> to set the value for the <code>var-name</code> variable. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p> +<h4 id="examples">Examples</h4> +<table> +<thead> +<tr> +<th>Sub-command</th> +<th>Usage</th> +<th>Explanation</th> +</tr> +</thead> +<tbody> +<tr> +<td></td> +<td>newtmgr config myvar -c profile01</td> +<td>Reads the <code>myvar</code> config variable value from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td> +</tr> +<tr> +<td></td> +<td>newtmgr config myvar 2 -c profile01</td> +<td>Sets the <code>myvar</code> config variable to the value <code>2</code> on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td> +</tr> +</tbody> +</table> + + <div class="row"> + + + + +<ul class="nav nav-pills" style="margin-bottom: 10px"> + <li> + + <a href=../../overview/> + <span class="fa fa-arrow-left"></span> + Previous: Newt Manager Guide + </a> + + </li> + <li class="pull-right"> + + <a href=../newtmgr_conn/> + Next: newtmgr conn + <span class="fa fa-arrow-right"></span> + </a> + + </li> +</ul> + </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Apache Mynewt (incubating) is available under Apache License, version 2.0.</p> + + </div> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> + <small class="footnote"> + MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. + </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> + </div> + </div> +</footer> + </div> + </div> + + + </div> + + <script src="../../../js/jquery-1.10.2.min.js"></script> + <script src="../../../js/bootstrap-3.0.3.min.js"></script> + <script src="../../../js/highlight.pack.js"></script> + <script src="../../../js/base.js"></script> + <script src="../../../js/custom.js"></script> + + </body> +</html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/newtmgr/command_list/newtmgr_conn/index.html ---------------------------------------------------------------------- diff --git a/latest/newtmgr/command_list/newtmgr_conn/index.html b/latest/newtmgr/command_list/newtmgr_conn/index.html new file mode 100644 index 0000000..e903d22 --- /dev/null +++ b/latest/newtmgr/command_list/newtmgr_conn/index.html @@ -0,0 +1,583 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + + <!-- This is broken by doc revisioning. + <link rel="canonical" href="http://mynewt.apache.org/newtmgr/command_list/newtmgr_conn/"> --> + <link rel="shortcut icon" href="../../../img/favicon.ico"> + + <title>newtmgr conn - Apache Mynewt</title> + + <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> + <link rel="stylesheet" href="../../../css/highlight.css"> + <link href="../../../css/base.css" rel="stylesheet"> + <link href="../../../css/custom.css" rel="stylesheet"> + <link href="../../../css/v2.css" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> + <link href="../../../extra.css" rel="stylesheet"> + + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> + <![endif]--> + + + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-72162311-1', 'auto'); + ga('send', 'pageview'); + </script> + + </head> + + + <body class="newtmgr conn"> + + + <div class="container"> + <div class="row v2-main-banner"> + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b2</a> released (Feb 15, 2017) + </div> + </div> + </div> +</div> + + + + + + + + +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> + <div class="container"> + <!-- Collapsed navigation --> + <div class="navbar-header"> + <!-- Expander button --> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Expanded navigation --> + <div class="navbar-collapse collapse"> + <!-- Main navigation --> + <ul class="nav navbar-nav navbar-right"> + <li + class="" +> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> + </li> + <li + class="important" +> + <a href="/quick-start/">Quick Start</a> + </li> + <li + class="" +> + <a href="/about/">About</a> + </li> + <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li + class="active" +> + <a href="/latest/os/introduction">Documentation</a> + </li> + <li + class="" +> + <a href="/download/">Download</a> + </li> + <li + class="" +> + <a href="/community/">Community</a> + </li> + <li + class="" +> + <a href="/events/">Events</a> + </li> + </ul> + + <!-- Search, Navigation and Repo links --> + <ul class="nav navbar-nav navbar-right"> + + </ul> + </div> + </div> +</nav> + + + + <div class="container"> + + <div class="row"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="top"> + <div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> + <div class="form-group"> + <input type="text" name="q" class="form-control" placeholder="Search documentation" /> + </div> + </form> + </div> + </div> + <ul class="toc-nav"> + <li class="doc-version"> +<select class="form-control" onchange="if (this.value) window.location.href=this.value"> + + <option + value="/develop/os/introduction" + selected="selected" + > + Version: develop (latest) + </option> + + <option + value="/v0_9_0/os/introduction" + + > + Version: 0.9.0 + </option> + +</select> +</li> + + + + + + + + + + + + + + + + + + + + + + <li ><a href="../../../os/introduction/">Mynewt Documentation</a> + + + <ul> + + + + + + + + <li ><a href="../../../os/get_started/get_started/">Basic Setup</a> + + + </li> + + + + + + <li > + <a href="../../../os/get_started/vocabulary/">Concepts</a> + </li> + + + + + + + + <li ><a href="../../../os/tutorials/tutorials/">Tutorials</a> + + + </li> + + + + + + + + <li ><a href="../../../os/os_user_guide/">OS User Guide</a> + + + </li> + + + + + + + + <li><a href=" + ../../../network/ble/ble_intro/ +">BLE User Guide</a> + + + </li> + + + + + + + + <li ><a href="../../../newt/newt_intro/">Newt Tool Guide</a> + + + </li> + + + + + + + + <li ><a href="../../overview/">Newt Manager Guide</a> + + + <ul> + + + + + + + + <li><a href=" + ../newtmgr_config/ +">Command Guide</a> + + + <ul> + + + + <li > + <a href="../newtmgr_config/">newtmgr config</a> + </li> + + + + + + <li class="active"> + <a href="./">newtmgr conn</a> + </li> + + + + + + <li > + <a href="../newtmgr_crash/">newtmgr crash</a> + </li> + + + + + + <li > + <a href="../newtmgr_datetime/">newtmgr datetime</a> + </li> + + + + + + <li > + <a href="../newtmgr_echo/">newtmgr echo</a> + </li> + + + + + + <li > + <a href="../newtmgr_fs/">newtmgr fs</a> + </li> + + + + + + <li > + <a href="../newtmgr_image/">newtmgr image</a> + </li> + + + + + + <li > + <a href="../newtmgr_logs/">newtmgr log</a> + </li> + + + + + + <li > + <a href="../newtmgr_mpstats/">newtmgr mpstats</a> + </li> + + + + + + <li > + <a href="../newtmgr_reset/">newtmgr reset</a> + </li> + + + + + + <li > + <a href="../newtmgr_run/">newtmgr run</a> + </li> + + + + + + <li > + <a href="../newtmgr_stat/">newtmgr stat</a> + </li> + + + + + + <li > + <a href="../newtmgr_taskstats/">newtmgr taskstats</a> + </li> + + + + </ul> + + </li> + + + + + + <li > + <a href="../../installing/">Install</a> + </li> + + + + </ul> + + </li> + + + + </ul> + + </li> + + + + + + + + <li><a href=" + ../../../faq/how_to_edit_docs/ +">Appendix</a> + + + </li> + + + + </ul> +</div></div> + + <div class="col-md-9" role="main"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs pull-right"> + <li><a href="/latest/os/introduction">Docs</a></li> + + + + <li>» <a href="../../overview/">Newt Manager Guide</a></li> + + + + <li>» <a href="../newtmgr_config/">Command Guide</a></li> + + + + <li>» newtmgr conn</li> + + + + </ul> +</div> + </div> + + <h2 id="newtmgr-conn"><font color="#F2853F" style="font-size:24pt">newtmgr conn </font></h2> +<p>Manage newtmgr connection profiles.</p> +<h4 id="usage">Usage:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr conn [command] [flags] +</pre></div> + + +<h4 id="global-flags">Global Flags:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use. + -h, --help Help for newtmgr commands + -l, --loglevel string log level to use (default "info") + -t, --trace print all bytes transmitted and received +</pre></div> + + +<h4 id="description">Description</h4> +<p>The conn command provides subcommands to add, delete, and view configuration profiles.</p> +<table> +<thead> +<tr> +<th>Sub-command</th> +<th>Explanation</th> +</tr> +</thead> +<tbody> +<tr> +<td>add</td> +<td>The newtmgr conn add <conn_profile> <var-name=var-value> command creates a connection profile named <code>conn_profile</code>. A profile consists of these variables: <ul><li><code>name</code>: Connection name. Defaults to <code>conn_profile</code> when the variable is not set in the command. </li><li><code>type</code>: Connection type. Valid types are: <code>serial</code>, <code>oic_serial</code>, <code>ble</code>, <code>oic_ble</code>, <code>udp</code>, <code>oic_udp</code>.</li><li><code>connstring</code>: The physical or virtual port to use for the connection.</li><li><code>addrtype</code>: Device address type. Use with type <code>ble</code>.</li><li><code>addr</code>: Device address. Use with type <code>ble</code>.</ul></td> +</tr> +<tr> +<td>delete</td> +<td>The newtmgr conn delete <conn_profile> command deletes the <code>conn_profile</code> connection profile.</td> +</tr> +<tr> +<td>show</td> +<td>The newtmgr conn show [conn_profile] command shows the information for the <code>conn_profile</code> connection profile. It shows information for all the connection profiles if <code>conn_profile</code> is not specified.</td> +</tr> +</tbody> +</table> +<h4 id="examples">Examples</h4> +<table> +<thead> +<tr> +<th>Sub-command</th> +<th>Usage</th> +<th>Explanation</th> +</tr> +</thead> +<tbody> +<tr> +<td>add</td> +<td>newtmgr conn add myserial02 type=serial connstring=/dev/ttys002</td> +<td>Creates a connection profile for the serial port /dev/ttys002 and names it <code>myserial02</code></td> +</tr> +<tr> +<td>delete</td> +<td>newtmgr conn delete myserial02</td> +<td>Deletes the connection profile named <code>myserial02</code></td> +</tr> +<tr> +<td>show</td> +<td>newtmgr conn show myserial01</td> +<td>Displays the information for the <code>myserial01</code> connection profile.</td> +</tr> +<tr> +<td>show</td> +<td>newtmgr conn show</td> +<td>Displays the information for all connection profiles.</td> +</tr> +</tbody> +</table> + + <div class="row"> + + + + +<ul class="nav nav-pills" style="margin-bottom: 10px"> + <li> + + <a href=../newtmgr_config/> + <span class="fa fa-arrow-left"></span> + Previous: newtmgr config + </a> + + </li> + <li class="pull-right"> + + <a href=../newtmgr_crash/> + Next: newtmgr crash + <span class="fa fa-arrow-right"></span> + </a> + + </li> +</ul> + </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Apache Mynewt (incubating) is available under Apache License, version 2.0.</p> + + </div> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> + <small class="footnote"> + MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. + </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> + </div> + </div> +</footer> + </div> + </div> + + + </div> + + <script src="../../../js/jquery-1.10.2.min.js"></script> + <script src="../../../js/bootstrap-3.0.3.min.js"></script> + <script src="../../../js/highlight.pack.js"></script> + <script src="../../../js/base.js"></script> + <script src="../../../js/custom.js"></script> + + </body> +</html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/newtmgr/command_list/newtmgr_crash/index.html ---------------------------------------------------------------------- diff --git a/latest/newtmgr/command_list/newtmgr_crash/index.html b/latest/newtmgr/command_list/newtmgr_crash/index.html new file mode 100644 index 0000000..28ac160 --- /dev/null +++ b/latest/newtmgr/command_list/newtmgr_crash/index.html @@ -0,0 +1,551 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + + <!-- This is broken by doc revisioning. + <link rel="canonical" href="http://mynewt.apache.org/newtmgr/command_list/newtmgr_crash/"> --> + <link rel="shortcut icon" href="../../../img/favicon.ico"> + + <title>newtmgr crash - Apache Mynewt</title> + + <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> + <link rel="stylesheet" href="../../../css/highlight.css"> + <link href="../../../css/base.css" rel="stylesheet"> + <link href="../../../css/custom.css" rel="stylesheet"> + <link href="../../../css/v2.css" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> + <link href="../../../extra.css" rel="stylesheet"> + + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> + <![endif]--> + + + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-72162311-1', 'auto'); + ga('send', 'pageview'); + </script> + + </head> + + + <body class="newtmgr crash"> + + + <div class="container"> + <div class="row v2-main-banner"> + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b2</a> released (Feb 15, 2017) + </div> + </div> + </div> +</div> + + + + + + + + +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> + <div class="container"> + <!-- Collapsed navigation --> + <div class="navbar-header"> + <!-- Expander button --> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Expanded navigation --> + <div class="navbar-collapse collapse"> + <!-- Main navigation --> + <ul class="nav navbar-nav navbar-right"> + <li + class="" +> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> + </li> + <li + class="important" +> + <a href="/quick-start/">Quick Start</a> + </li> + <li + class="" +> + <a href="/about/">About</a> + </li> + <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li + class="active" +> + <a href="/latest/os/introduction">Documentation</a> + </li> + <li + class="" +> + <a href="/download/">Download</a> + </li> + <li + class="" +> + <a href="/community/">Community</a> + </li> + <li + class="" +> + <a href="/events/">Events</a> + </li> + </ul> + + <!-- Search, Navigation and Repo links --> + <ul class="nav navbar-nav navbar-right"> + + </ul> + </div> + </div> +</nav> + + + + <div class="container"> + + <div class="row"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="top"> + <div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> + <div class="form-group"> + <input type="text" name="q" class="form-control" placeholder="Search documentation" /> + </div> + </form> + </div> + </div> + <ul class="toc-nav"> + <li class="doc-version"> +<select class="form-control" onchange="if (this.value) window.location.href=this.value"> + + <option + value="/develop/os/introduction" + selected="selected" + > + Version: develop (latest) + </option> + + <option + value="/v0_9_0/os/introduction" + + > + Version: 0.9.0 + </option> + +</select> +</li> + + + + + + + + + + + + + + + + + + + + + + <li ><a href="../../../os/introduction/">Mynewt Documentation</a> + + + <ul> + + + + + + + + <li ><a href="../../../os/get_started/get_started/">Basic Setup</a> + + + </li> + + + + + + <li > + <a href="../../../os/get_started/vocabulary/">Concepts</a> + </li> + + + + + + + + <li ><a href="../../../os/tutorials/tutorials/">Tutorials</a> + + + </li> + + + + + + + + <li ><a href="../../../os/os_user_guide/">OS User Guide</a> + + + </li> + + + + + + + + <li><a href=" + ../../../network/ble/ble_intro/ +">BLE User Guide</a> + + + </li> + + + + + + + + <li ><a href="../../../newt/newt_intro/">Newt Tool Guide</a> + + + </li> + + + + + + + + <li ><a href="../../overview/">Newt Manager Guide</a> + + + <ul> + + + + + + + + <li><a href=" + ../newtmgr_config/ +">Command Guide</a> + + + <ul> + + + + <li > + <a href="../newtmgr_config/">newtmgr config</a> + </li> + + + + + + <li > + <a href="../newtmgr_conn/">newtmgr conn</a> + </li> + + + + + + <li class="active"> + <a href="./">newtmgr crash</a> + </li> + + + + + + <li > + <a href="../newtmgr_datetime/">newtmgr datetime</a> + </li> + + + + + + <li > + <a href="../newtmgr_echo/">newtmgr echo</a> + </li> + + + + + + <li > + <a href="../newtmgr_fs/">newtmgr fs</a> + </li> + + + + + + <li > + <a href="../newtmgr_image/">newtmgr image</a> + </li> + + + + + + <li > + <a href="../newtmgr_logs/">newtmgr log</a> + </li> + + + + + + <li > + <a href="../newtmgr_mpstats/">newtmgr mpstats</a> + </li> + + + + + + <li > + <a href="../newtmgr_reset/">newtmgr reset</a> + </li> + + + + + + <li > + <a href="../newtmgr_run/">newtmgr run</a> + </li> + + + + + + <li > + <a href="../newtmgr_stat/">newtmgr stat</a> + </li> + + + + + + <li > + <a href="../newtmgr_taskstats/">newtmgr taskstats</a> + </li> + + + + </ul> + + </li> + + + + + + <li > + <a href="../../installing/">Install</a> + </li> + + + + </ul> + + </li> + + + + </ul> + + </li> + + + + + + + + <li><a href=" + ../../../faq/how_to_edit_docs/ +">Appendix</a> + + + </li> + + + + </ul> +</div></div> + + <div class="col-md-9" role="main"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs pull-right"> + <li><a href="/latest/os/introduction">Docs</a></li> + + + + <li>» <a href="../../overview/">Newt Manager Guide</a></li> + + + + <li>» <a href="../newtmgr_config/">Command Guide</a></li> + + + + <li>» newtmgr crash</li> + + + + </ul> +</div> + </div> + + <h2 id="newtmgr-crash"><font color="#F2853F" style="font-size:24pt">newtmgr crash </font></h2> +<p>Send a crash command to a device.</p> +<h4 id="usage">Usage:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr crash <div0|jump0|ref0|assert|wdog> -c <conn_profile>; [flags] +</pre></div> + + +<h4 id="global-flags">Global Flags:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use. + -h, --help Help for newtmgr commands + -l, --loglevel string log level to use (default "info") + -t, --trace print all bytes transmitted and received +</pre></div> + + +<h4 id="description">Description</h4> +<p>Sends a crash command to a device to run one of the following crash tests: <code>div0</code>, <code>jump0</code>, <code>ref0</code>, <code>assert</code>, <code>wdog</code>. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p> +<h4 id="examples">Examples</h4> +<table> +<thead> +<tr> +<th>Sub-command</th> +<th>Usage</th> +<th>Explanation</th> +</tr> +</thead> +<tbody> +<tr> +<td></td> +<td>newtmgr crash div0<br>-c profile01</td> +<td>Sends a request to a device to execute a divide by 0 test. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td> +</tr> +<tr> +<td></td> +<td>newtmgr crash ref0<br>-c profile01</td> +<td>Sends a request to a device to execute a nil pointer reference test. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td> +</tr> +</tbody> +</table> + + <div class="row"> + + + + +<ul class="nav nav-pills" style="margin-bottom: 10px"> + <li> + + <a href=../newtmgr_conn/> + <span class="fa fa-arrow-left"></span> + Previous: newtmgr conn + </a> + + </li> + <li class="pull-right"> + + <a href=../newtmgr_datetime/> + Next: newtmgr datetime + <span class="fa fa-arrow-right"></span> + </a> + + </li> +</ul> + </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Apache Mynewt (incubating) is available under Apache License, version 2.0.</p> + + </div> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> + <small class="footnote"> + MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. + </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> + </div> + </div> +</footer> + </div> + </div> + + + </div> + + <script src="../../../js/jquery-1.10.2.min.js"></script> + <script src="../../../js/bootstrap-3.0.3.min.js"></script> + <script src="../../../js/highlight.pack.js"></script> + <script src="../../../js/base.js"></script> + <script src="../../../js/custom.js"></script> + + </body> +</html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/newtmgr/command_list/newtmgr_datetime/index.html ---------------------------------------------------------------------- diff --git a/latest/newtmgr/command_list/newtmgr_datetime/index.html b/latest/newtmgr/command_list/newtmgr_datetime/index.html new file mode 100644 index 0000000..ff5f619 --- /dev/null +++ b/latest/newtmgr/command_list/newtmgr_datetime/index.html @@ -0,0 +1,557 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + + <!-- This is broken by doc revisioning. + <link rel="canonical" href="http://mynewt.apache.org/newtmgr/command_list/newtmgr_datetime/"> --> + <link rel="shortcut icon" href="../../../img/favicon.ico"> + + <title>newtmgr datetime - Apache Mynewt</title> + + <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> + <link rel="stylesheet" href="../../../css/highlight.css"> + <link href="../../../css/base.css" rel="stylesheet"> + <link href="../../../css/custom.css" rel="stylesheet"> + <link href="../../../css/v2.css" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> + <link href="../../../extra.css" rel="stylesheet"> + + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> + <![endif]--> + + + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-72162311-1', 'auto'); + ga('send', 'pageview'); + </script> + + </head> + + + <body class="newtmgr datetime"> + + + <div class="container"> + <div class="row v2-main-banner"> + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b2</a> released (Feb 15, 2017) + </div> + </div> + </div> +</div> + + + + + + + + +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> + <div class="container"> + <!-- Collapsed navigation --> + <div class="navbar-header"> + <!-- Expander button --> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Expanded navigation --> + <div class="navbar-collapse collapse"> + <!-- Main navigation --> + <ul class="nav navbar-nav navbar-right"> + <li + class="" +> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> + </li> + <li + class="important" +> + <a href="/quick-start/">Quick Start</a> + </li> + <li + class="" +> + <a href="/about/">About</a> + </li> + <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li + class="active" +> + <a href="/latest/os/introduction">Documentation</a> + </li> + <li + class="" +> + <a href="/download/">Download</a> + </li> + <li + class="" +> + <a href="/community/">Community</a> + </li> + <li + class="" +> + <a href="/events/">Events</a> + </li> + </ul> + + <!-- Search, Navigation and Repo links --> + <ul class="nav navbar-nav navbar-right"> + + </ul> + </div> + </div> +</nav> + + + + <div class="container"> + + <div class="row"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="top"> + <div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> + <div class="form-group"> + <input type="text" name="q" class="form-control" placeholder="Search documentation" /> + </div> + </form> + </div> + </div> + <ul class="toc-nav"> + <li class="doc-version"> +<select class="form-control" onchange="if (this.value) window.location.href=this.value"> + + <option + value="/develop/os/introduction" + selected="selected" + > + Version: develop (latest) + </option> + + <option + value="/v0_9_0/os/introduction" + + > + Version: 0.9.0 + </option> + +</select> +</li> + + + + + + + + + + + + + + + + + + + + + + <li ><a href="../../../os/introduction/">Mynewt Documentation</a> + + + <ul> + + + + + + + + <li ><a href="../../../os/get_started/get_started/">Basic Setup</a> + + + </li> + + + + + + <li > + <a href="../../../os/get_started/vocabulary/">Concepts</a> + </li> + + + + + + + + <li ><a href="../../../os/tutorials/tutorials/">Tutorials</a> + + + </li> + + + + + + + + <li ><a href="../../../os/os_user_guide/">OS User Guide</a> + + + </li> + + + + + + + + <li><a href=" + ../../../network/ble/ble_intro/ +">BLE User Guide</a> + + + </li> + + + + + + + + <li ><a href="../../../newt/newt_intro/">Newt Tool Guide</a> + + + </li> + + + + + + + + <li ><a href="../../overview/">Newt Manager Guide</a> + + + <ul> + + + + + + + + <li><a href=" + ../newtmgr_config/ +">Command Guide</a> + + + <ul> + + + + <li > + <a href="../newtmgr_config/">newtmgr config</a> + </li> + + + + + + <li > + <a href="../newtmgr_conn/">newtmgr conn</a> + </li> + + + + + + <li > + <a href="../newtmgr_crash/">newtmgr crash</a> + </li> + + + + + + <li class="active"> + <a href="./">newtmgr datetime</a> + </li> + + + + + + <li > + <a href="../newtmgr_echo/">newtmgr echo</a> + </li> + + + + + + <li > + <a href="../newtmgr_fs/">newtmgr fs</a> + </li> + + + + + + <li > + <a href="../newtmgr_image/">newtmgr image</a> + </li> + + + + + + <li > + <a href="../newtmgr_logs/">newtmgr log</a> + </li> + + + + + + <li > + <a href="../newtmgr_mpstats/">newtmgr mpstats</a> + </li> + + + + + + <li > + <a href="../newtmgr_reset/">newtmgr reset</a> + </li> + + + + + + <li > + <a href="../newtmgr_run/">newtmgr run</a> + </li> + + + + + + <li > + <a href="../newtmgr_stat/">newtmgr stat</a> + </li> + + + + + + <li > + <a href="../newtmgr_taskstats/">newtmgr taskstats</a> + </li> + + + + </ul> + + </li> + + + + + + <li > + <a href="../../installing/">Install</a> + </li> + + + + </ul> + + </li> + + + + </ul> + + </li> + + + + + + + + <li><a href=" + ../../../faq/how_to_edit_docs/ +">Appendix</a> + + + </li> + + + + </ul> +</div></div> + + <div class="col-md-9" role="main"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs pull-right"> + <li><a href="/latest/os/introduction">Docs</a></li> + + + + <li>» <a href="../../overview/">Newt Manager Guide</a></li> + + + + <li>» <a href="../newtmgr_config/">Command Guide</a></li> + + + + <li>» newtmgr datetime</li> + + + + </ul> +</div> + </div> + + <h2 id="newtmgr-datetime"><font color="#F2853F" style="font-size:24pt">newtmgr datetime </font></h2> +<p>Manage datetime on a device.</p> +<h4 id="usage">Usage:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr datetime [datetime-value] -c <conn_profile> [flags] +</pre></div> + + +<h4 id="global-flags">Global Flags:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use. + -h, --help Help for newtmgr commands + -l, --loglevel string log level to use (default "info") + -t, --trace print all bytes transmitted and received +</pre></div> + + +<h4 id="description">Description</h4> +<p>Reads or sets the datetime on a device. Specify a <code>datetime-value</code> in the command to set the datetime on the device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p> +<p><strong>Note</strong>: You must specify the <code>datetime-value</code> in the RFC 3339 format. </p> +<h4 id="examples">Examples</h4> +<table> +<thead> +<tr> +<th>Sub-command</th> +<th>Usage</th> +<th>Explanation</th> +</tr> +</thead> +<tbody> +<tr> +<td></td> +<td>newtmgr datetime<br>-c profile01</td> +<td>Reads the datetime value from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td> +</tr> +<tr> +<td></td> +<td>newtmgr datetime 2017-03-01T22:44:00<br>-c profile01</td> +<td>Sets the datetime on a device to March 1st 2017 22:44:00 UTC. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td> +</tr> +<tr> +<td></td> +<td>newtmgr datetime 2017-03-01T22:44:00-08:00<br>-c profile01</td> +<td>Sets the datetime on a device to March 1st 2017 22:44:00 PST. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td> +</tr> +</tbody> +</table> + + <div class="row"> + + + + +<ul class="nav nav-pills" style="margin-bottom: 10px"> + <li> + + <a href=../newtmgr_crash/> + <span class="fa fa-arrow-left"></span> + Previous: newtmgr crash + </a> + + </li> + <li class="pull-right"> + + <a href=../newtmgr_echo/> + Next: newtmgr echo + <span class="fa fa-arrow-right"></span> + </a> + + </li> +</ul> + </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Apache Mynewt (incubating) is available under Apache License, version 2.0.</p> + + </div> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> + <small class="footnote"> + MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. + </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> + </div> + </div> +</footer> + </div> + </div> + + + </div> + + <script src="../../../js/jquery-1.10.2.min.js"></script> + <script src="../../../js/bootstrap-3.0.3.min.js"></script> + <script src="../../../js/highlight.pack.js"></script> + <script src="../../../js/base.js"></script> + <script src="../../../js/custom.js"></script> + + </body> +</html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/newtmgr/command_list/newtmgr_echo/index.html ---------------------------------------------------------------------- diff --git a/latest/newtmgr/command_list/newtmgr_echo/index.html b/latest/newtmgr/command_list/newtmgr_echo/index.html new file mode 100644 index 0000000..dc0ed1e --- /dev/null +++ b/latest/newtmgr/command_list/newtmgr_echo/index.html @@ -0,0 +1,546 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + + <!-- This is broken by doc revisioning. + <link rel="canonical" href="http://mynewt.apache.org/newtmgr/command_list/newtmgr_echo/"> --> + <link rel="shortcut icon" href="../../../img/favicon.ico"> + + <title>newtmgr echo - Apache Mynewt</title> + + <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> + <link rel="stylesheet" href="../../../css/highlight.css"> + <link href="../../../css/base.css" rel="stylesheet"> + <link href="../../../css/custom.css" rel="stylesheet"> + <link href="../../../css/v2.css" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> + <link href="../../../extra.css" rel="stylesheet"> + + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> + <![endif]--> + + + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-72162311-1', 'auto'); + ga('send', 'pageview'); + </script> + + </head> + + + <body class="newtmgr echo"> + + + <div class="container"> + <div class="row v2-main-banner"> + <a class="logo-cell" href="/"> + <img class="logo" src="/img/logo.png"> + </a> + <div class="tagline-cell"> + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + <div class="news-cell"> + <div class="well"> + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b2</a> released (Feb 15, 2017) + </div> + </div> + </div> +</div> + + + + + + + + +<nav id="navbar" class="navbar navbar-inverse affix-top" data-spy="affix" data-offset-top="150" role="navigation"> + <div class="container"> + <!-- Collapsed navigation --> + <div class="navbar-header"> + <!-- Expander button --> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Expanded navigation --> + <div class="navbar-collapse collapse"> + <!-- Main navigation --> + <ul class="nav navbar-nav navbar-right"> + <li + class="" +> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> + </li> + <li + class="important" +> + <a href="/quick-start/">Quick Start</a> + </li> + <li + class="" +> + <a href="/about/">About</a> + </li> + <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li + class="active" +> + <a href="/latest/os/introduction">Documentation</a> + </li> + <li + class="" +> + <a href="/download/">Download</a> + </li> + <li + class="" +> + <a href="/community/">Community</a> + </li> + <li + class="" +> + <a href="/events/">Events</a> + </li> + </ul> + + <!-- Search, Navigation and Repo links --> + <ul class="nav navbar-nav navbar-right"> + + </ul> + </div> + </div> +</nav> + + + + <div class="container"> + + <div class="row"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="top"> + <div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> + <div class="form-group"> + <input type="text" name="q" class="form-control" placeholder="Search documentation" /> + </div> + </form> + </div> + </div> + <ul class="toc-nav"> + <li class="doc-version"> +<select class="form-control" onchange="if (this.value) window.location.href=this.value"> + + <option + value="/develop/os/introduction" + selected="selected" + > + Version: develop (latest) + </option> + + <option + value="/v0_9_0/os/introduction" + + > + Version: 0.9.0 + </option> + +</select> +</li> + + + + + + + + + + + + + + + + + + + + + + <li ><a href="../../../os/introduction/">Mynewt Documentation</a> + + + <ul> + + + + + + + + <li ><a href="../../../os/get_started/get_started/">Basic Setup</a> + + + </li> + + + + + + <li > + <a href="../../../os/get_started/vocabulary/">Concepts</a> + </li> + + + + + + + + <li ><a href="../../../os/tutorials/tutorials/">Tutorials</a> + + + </li> + + + + + + + + <li ><a href="../../../os/os_user_guide/">OS User Guide</a> + + + </li> + + + + + + + + <li><a href=" + ../../../network/ble/ble_intro/ +">BLE User Guide</a> + + + </li> + + + + + + + + <li ><a href="../../../newt/newt_intro/">Newt Tool Guide</a> + + + </li> + + + + + + + + <li ><a href="../../overview/">Newt Manager Guide</a> + + + <ul> + + + + + + + + <li><a href=" + ../newtmgr_config/ +">Command Guide</a> + + + <ul> + + + + <li > + <a href="../newtmgr_config/">newtmgr config</a> + </li> + + + + + + <li > + <a href="../newtmgr_conn/">newtmgr conn</a> + </li> + + + + + + <li > + <a href="../newtmgr_crash/">newtmgr crash</a> + </li> + + + + + + <li > + <a href="../newtmgr_datetime/">newtmgr datetime</a> + </li> + + + + + + <li class="active"> + <a href="./">newtmgr echo</a> + </li> + + + + + + <li > + <a href="../newtmgr_fs/">newtmgr fs</a> + </li> + + + + + + <li > + <a href="../newtmgr_image/">newtmgr image</a> + </li> + + + + + + <li > + <a href="../newtmgr_logs/">newtmgr log</a> + </li> + + + + + + <li > + <a href="../newtmgr_mpstats/">newtmgr mpstats</a> + </li> + + + + + + <li > + <a href="../newtmgr_reset/">newtmgr reset</a> + </li> + + + + + + <li > + <a href="../newtmgr_run/">newtmgr run</a> + </li> + + + + + + <li > + <a href="../newtmgr_stat/">newtmgr stat</a> + </li> + + + + + + <li > + <a href="../newtmgr_taskstats/">newtmgr taskstats</a> + </li> + + + + </ul> + + </li> + + + + + + <li > + <a href="../../installing/">Install</a> + </li> + + + + </ul> + + </li> + + + + </ul> + + </li> + + + + + + + + <li><a href=" + ../../../faq/how_to_edit_docs/ +">Appendix</a> + + + </li> + + + + </ul> +</div></div> + + <div class="col-md-9" role="main"> + <div class="doc-header"> + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs pull-right"> + <li><a href="/latest/os/introduction">Docs</a></li> + + + + <li>» <a href="../../overview/">Newt Manager Guide</a></li> + + + + <li>» <a href="../newtmgr_config/">Command Guide</a></li> + + + + <li>» newtmgr echo</li> + + + + </ul> +</div> + </div> + + <h2 id="newtmgr-echo"><font color="#F2853F" style="font-size:24pt">newtmgr echo </font></h2> +<p>Send data to a device and display the echoed back data.</p> +<h4 id="usage">Usage:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr echo <text> -c <conn_profile> [flags] +</pre></div> + + +<h4 id="global-flags">Global Flags:</h4> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use + -h, --help Help for newtmgr commands + -l, --loglevel string log level to use (default "info") + -t, --trace print all bytes transmitted and received +</pre></div> + + +<h4 id="description">Description</h4> +<p>Sends the <code>text</code> to a device and outputs the text response from the device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device. </p> +<h4 id="examples">Examples</h4> +<table> +<thead> +<tr> +<th>Sub-command</th> +<th>Usage</th> +<th>Explanation</th> +</tr> +</thead> +<tbody> +<tr> +<td></td> +<td>newtmgr echo hello<br>-c profile01</td> +<td>Sends the text 'hello' to a device and displays the echoed back data. Newtmgr connects to the device over a connection specified in the <code>profile01</code> profile.</td> +</tr> +</tbody> +</table> + + <div class="row"> + + + + +<ul class="nav nav-pills" style="margin-bottom: 10px"> + <li> + + <a href=../newtmgr_datetime/> + <span class="fa fa-arrow-left"></span> + Previous: newtmgr datetime + </a> + + </li> + <li class="pull-right"> + + <a href=../newtmgr_fs/> + Next: newtmgr fs + <span class="fa fa-arrow-right"></span> + </a> + + </li> +</ul> + </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Apache Mynewt (incubating) is available under Apache License, version 2.0.</p> + + </div> + <div class="col-xs-12"> + <div class="logos"> + <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> + <small class="footnote"> + MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. + </small> + <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> + </div> + </div> +</footer> + </div> + </div> + + + </div> + + <script src="../../../js/jquery-1.10.2.min.js"></script> + <script src="../../../js/bootstrap-3.0.3.min.js"></script> + <script src="../../../js/highlight.pack.js"></script> + <script src="../../../js/base.js"></script> + <script src="../../../js/custom.js"></script> + + </body> +</html> \ No newline at end of file
