You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2017/03/17 22:47:44 UTC
[1/9] incubator-mynewt-site git commit: Added newtmgr command
descriptions. Fixed BLE app tutorial errors
Repository: incubator-mynewt-site
Updated Branches:
refs/heads/asf-site 86a273816 -> 377e70929
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/newtmgr/command_list/newtmgr_run/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/command_list/newtmgr_run/index.html b/latest/newtmgr/command_list/newtmgr_run/index.html
new file mode 100644
index 0000000..7e0ea3e
--- /dev/null
+++ b/latest/newtmgr/command_list/newtmgr_run/index.html
@@ -0,0 +1,574 @@
+<!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_run/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr run - 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 run">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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 run</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-run"><font color="#F2853F" style="font-size:24pt">newtmgr run </font></h2>
+<p>Run test procedures on a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr run [command] -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>The run command provides subcommands to run test procedures on a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>list</td>
+<td>The newtmgr run list command lists the registered tests on a device.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>The newtmgr run test [all|testname] [token-value] command runs the <code>testname</code> test or all tests on a device. All tests are run if <code>all</code> or no <code>testname</code> is specified. If a <code>token-value</code> is specified, the token value is output with the log messages.</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>list</td>
+<td>newtmgr run<br>list -c profile01</td>
+<td>Lists all the registered tests on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>newtmgr run <br>test all<br>201612161220<br>-c profile01</td>
+<td>Runs all the tests on a device. Outputs the <code>201612161220</code> token with the log messages. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>newtmgr run <br>test mynewtsanity<br>-c profile01</td>
+<td>Runs the <code>mynewtsanity</code> test 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=../newtmgr_reset/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr reset
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_stat/>
+ Next: newtmgr stat
+ <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_stat/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/command_list/newtmgr_stat/index.html b/latest/newtmgr/command_list/newtmgr_stat/index.html
new file mode 100644
index 0000000..a63d84d
--- /dev/null
+++ b/latest/newtmgr/command_list/newtmgr_stat/index.html
@@ -0,0 +1,614 @@
+<!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_stat/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr stat - 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 stat">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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 stat</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-stat"><font color="#F2853F" style="font-size:24pt">newtmgr stat</font></h2>
+<p>Read statistics from a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr stat [stats_name] -c <conn_profile> [flags]
+ newtmgr stat [command] -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>Displays statistic for the Stats named <code>stats_name</code> from a device. You can use the <code>list</code> subcommand to get a list of the Stats names from the device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td></td>
+<td>The newtmgr stat [stats_name] command displays the statistics for the <code>stats_name</code> Stats from a device. It displays the list of Stats names if a <code>stats_name</code> value is not specified.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>The newtmgr stat list command displays the list of Stats names from a device.</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></td>
+<td>newtmgr stat ble_att -c profile01</td>
+<td>Displays the <code>ble_att</code> statistics on 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 stat -c profile01</td>
+<td>Displays the list of Stats names from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>newtmgr stat list -c profile01</td>
+<td>Displays the list of Stats names from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+</tbody>
+</table>
+<p>Here are some example outputs for the <code>myble</code> application from the <a href="../../../os/tutorials/add_newtmgr/">Enabling Newt Manager in any app</a> tutiorial:</p>
+<p>The statistics for the ble_att Stats:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newtmgr stat ble_att -c myserial
+Return Code = 0
+Stats Name: ble_att
+ read_type_req_rx: 0
+ read_rsp_rx: 0
+ read_group_type_rsp_tx: 0
+ prep_write_rsp_tx: 0
+ find_type_value_req_tx: 0
+ read_type_rsp_rx: 0
+ read_mult_req_rx: 0
+ notify_req_tx: 0
+ indicate_req_tx: 0
+
+ ...
+ write_cmd_rx: 0
+ prep_write_rsp_rx: 0
+ read_type_rsp_tx: 0
+ read_req_tx: 0
+ read_mult_req_tx: 0
+ read_group_type_req_rx: 0
+ write_rsp_tx: 0
+ exec_write_rsp_rx: 0
+</pre></div>
+
+
+<p>The list of Stats names:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newtmgr stat -c myserial
+[stat ble_l2cap ble_att ble_gap ble_gattc ble_gatts ble_hs ble_ll_conn ble_ll ble_phy]
+Return Code = 0
+</pre></div>
+
+
+<p>The list of Stats names using the list subcommand:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newtmgr stat list -c myserial
+[stat ble_l2cap ble_att ble_gap ble_gattc ble_gatts ble_hs ble_ll_conn ble_ll ble_phy]
+Return Code = 0
+</pre></div>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newtmgr_run/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr run
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_taskstats/>
+ Next: newtmgr taskstats
+ <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_taskstats/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/command_list/newtmgr_taskstats/index.html b/latest/newtmgr/command_list/newtmgr_taskstats/index.html
new file mode 100644
index 0000000..c62c94d
--- /dev/null
+++ b/latest/newtmgr/command_list/newtmgr_taskstats/index.html
@@ -0,0 +1,564 @@
+<!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_taskstats/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr taskstats - 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 taskstats">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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 taskstats</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-taskstats"><font color="#F2853F" style="font-size:24pt">newtmgr taskstats </font></h2>
+<p>Read task statistics from a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr taskstats -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 displays the task statistics from a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device. It lists the following statistics for each task: </p>
+<ul>
+<li><strong>task</strong>: Task name</li>
+<li><strong>pri</strong>: Task priority</li>
+<li><strong>runtime</strong>: The time (ms) that the task has been running for</li>
+<li><strong>csw</strong>: Number of times the task has switched context</li>
+<li><strong>stksz</strong>: Stack size allocated for the task </li>
+<li><strong>stkuse</strong>: Actual stack size the task uses</li>
+<li><strong>last_checkin</strong>: Last sanity checkin with the <a href="../../../os/core_os/sanity/sanity/">Sanity Task</a></li>
+<li><strong>next_checkin</strong>: Next sanity checkin</li>
+</ul>
+<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 taskstats<br>-c profile0</td>
+<td>Reads and displays the task statistics from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+</tbody>
+</table>
+<p>Here is an example output for the <code>myble</code> application from the <a href="../../../os/tutorials/add_newtmgr/">Enabling Newt Manager in any app</a> tutiorial:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">newtmgr taskstats -c myserial
+Return Code = 0
+ task pri tid runtime csw stksz stkuse last_checkin next_checkin
+ idle 255 0 151917 47 64 34 0 0
+ main 127 1 2 59 512 188 0 0
+ ble_ll 0 2 0 14 80 56 0 0
+</pre></div>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newtmgr_stat/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr stat
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../../installing/>
+ Next: Install
+ <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/installing/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/installing/index.html b/latest/newtmgr/installing/index.html
index d08100d..d7ae0b6 100644
--- a/latest/newtmgr/installing/index.html
+++ b/latest/newtmgr/installing/index.html
@@ -276,6 +276,19 @@
+
+
+ <li><a href="
+ ../command_list/newtmgr_config/
+">Command Guide</a>
+
+
+ </li>
+
+
+
+
+
<li class="active">
<a href="./">Install</a>
</li>
@@ -401,9 +414,9 @@ from github.com and then run <code>go install</code> again. </p>
<ul class="nav nav-pills" style="margin-bottom: 10px">
<li>
- <a href=../overview/>
+ <a href=../command_list/newtmgr_taskstats/>
<span class="fa fa-arrow-left"></span>
- Previous: Newt Manager Guide
+ Previous: newtmgr taskstats
</a>
</li>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/newtmgr/overview/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/overview/index.html b/latest/newtmgr/overview/index.html
index a740f45..792c800 100644
--- a/latest/newtmgr/overview/index.html
+++ b/latest/newtmgr/overview/index.html
@@ -276,6 +276,19 @@
+
+
+ <li><a href="
+ ../command_list/newtmgr_config/
+">Command Guide</a>
+
+
+ </li>
+
+
+
+
+
<li >
<a href="../installing/">Install</a>
</li>
@@ -333,340 +346,30 @@
</div>
<h2 id="newt-manager">Newt Manager</h2>
-<p>Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote instances of Mynewt OS. </p>
-<h2 id="description">Description</h2>
-<h2 id="command-list">Command List</h2>
+<p>Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS. It uses a connection profile to establish a connection with a device and sends command requests to the device. The tool follows the same command structure as the <a href="../../newt/newt_ops/">newt tool</a>. </p>
<h3 id="available-high-level-commands">Available high-level commands</h3>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> help Lists commands and flags available
- conn Manage newtmgr connection profiles
- echo Send data to remote endpoint using newtmgr, and receive data back
- image Manage images on remote instance
- stat Read statistics from a remote endpoint
- taskstats Read statistics from a remote endpoint
- mpstats Read statistics from a remote endpoint
- config Read or write config value on target
-</pre></div>
-
-
-<h3 id="available-flags">Available Flags</h3>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --connection string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>newtmgr -caditi03 taskstats</td>
-<td></td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<h3 id="help"><em>help</em></h3>
-<h4 id="usage">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr help [input1]
-</pre></div>
-
-
-<p>You can also use "newtmgr [command] --help" to display the help text for a newtmgr command.</p>
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --connection string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Available Flags</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>taskstats</td>
-<td>newtmgr -cprofile1 taskstats</td>
-<td>Run the taskstats subcommand on the device connected via the 'profile1' connection</td>
-</tr>
-</tbody>
-</table>
-<h3 id="conn"><em>conn</em></h3>
-<h4 id="usage_1">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr conn [flags]
- newtmgr conn [command]
-</pre></div>
-
-
-<p>Available commands: </p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> add Add a newtmgr connection profile
- delete Delete a newtmgr connection profile
- show Show newtmgr connection profiles
-</pre></div>
-
-
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Description</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>add</td>
-<td>Adds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication.</td>
-</tr>
-<tr>
-<td>delete</td>
-<td>Deletes a connection profile associated with the given name</td>
-</tr>
-<tr>
-<td>show</td>
-<td>List the specified or all the connection profiles with the name, connection type, and the controlling terminal or port.</td>
-</tr>
-</tbody>
-</table>
-<p>Examples</p>
-<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>Adds a newtmgr connection profile for the serial port /dev/ttys002 and names it 'myserial02'</td>
-</tr>
-<tr>
-<td>delete</td>
-<td>newtmgr conn delete myserial02</td>
-<td>Deletes the connection profile named 'myserial02'</td>
-</tr>
-<tr>
-<td>show</td>
-<td>newtmgr conn show myserial01</td>
-<td>Shows the details of the profile named 'myserial01'</td>
-</tr>
-<tr>
-<td>show</td>
-<td>newtmgr conn show</td>
-<td>Shows all the current profiles defined</td>
-</tr>
-</tbody>
-</table>
-<h3 id="echo"><em>echo</em></h3>
-<h4 id="usage_2">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr echo [flags] [text]
-</pre></div>
-
-
-<p>This command sends the text to the remote device at the other end of the connection specified with the -c flag and outputs the text when it gets a response from the device. If the device is not responding or if the connection profile is invalid it displays errors. </p>
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>echo</td>
-<td>newtmgr echo -c profile01 hello</td>
-<td>Sends the string 'hello' to the remote device over the connection profile 'profile01' and receives the string back and displays it.</td>
-</tr>
-</tbody>
-</table>
-<h3 id="image"><em>image</em></h3>
-<h4 id="usage_3">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr image [flags]
- newtmgr image [command]
-</pre></div>
-
-
-<p>Available commands: </p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> list Show target images
- upload Upload image to target
- boot Which image to boot
- fileupload Upload file to target
- filedownload Download file from target
-</pre></div>
-
-
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Description</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>list</td>
-<td>Adds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication.</td>
-</tr>
-<tr>
-<td>upload</td>
-<td>Deletes a connection profile associated with the given name</td>
-</tr>
-<tr>
-<td>boot</td>
-<td>Specify the image to boot</td>
-</tr>
-<tr>
-<td>fileupload</td>
-<td>upload file to the remote target</td>
-</tr>
-<tr>
-<td>filedownload</td>
-<td>download/retrieve file from remote target</td>
-</tr>
-</tbody>
-</table>
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>list</td>
-<td>newtmgr list</td>
-<td></td>
-</tr>
-<tr>
-<td>upload</td>
-<td>newtmgr upload</td>
-<td></td>
-</tr>
-<tr>
-<td>boot</td>
-<td>newtmgr boot</td>
-<td></td>
-</tr>
-<tr>
-<td>fileupload</td>
-<td>newtmgr fileupload</td>
-<td></td>
-</tr>
-<tr>
-<td>filedownload</td>
-<td>newtmgr filedownload</td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<h3 id="stat"><em>stat</em></h3>
-<h4 id="usage_4">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr stat [flags]
- newtmgr stat [command]
-</pre></div>
-
-
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>stat</td>
-<td>newtmgr stat</td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<h3 id="taskstats"><em>taskstats</em></h3>
-<h4 id="usage_5">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr taskstats [flags]
- newtmgr taskstats [command]
-</pre></div>
-
-
-<p>Lists all the tasks running on the remote endpoint at the end of the specified connection and for each task lists statistics such as priority, task id, runtime (how long the task has been running in ms), context switch count, stack size allocated, actual stack usage, last sanity checkin, next sanity check-in. </p>
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>stat</td>
-<td>newtmgr taskstats -c profile01</td>
-<td>Lists all the tasks running on the remote device at the end of connection named 'profile01'</td>
-</tr>
-</tbody>
-</table>
-<p>Example output</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newtmgr -c profile01 taskstats
-Return Code = 0
- idle (prio=255 tid=0 runtime=3299340 cswcnt=280342 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- os_sanity (prio=254 tid=1 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- shell (prio=3 tid=2 runtime=0 cswcnt=165 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- uart_poller (prio=0 tid=3 runtime=0 cswcnt=279368 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- newtmgr (prio=4 tid=4 runtime=0 cswcnt=14 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- task1 (prio=1 tid=5 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- task2 (prio=2 tid=6 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
+<p>The following are the high-level newtmgr commands. Some of these commands have subcommands. You can use the -h flag to get help for each command. See the documentation for each command in this guide if you need more information and examples.</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">Available Commands:
+
+ config Read or write a config value on a device
+ conn Manage newtmgr connection profiles
+ crash Send a crash command to a device
+ datetime Manage datetime on a device
+ echo Send data to a device and display the echoed back data
+ fs Access files on a device
+ image Manage images on a device
+ log Manage logs on a device
+ mpstats Read memory pool statistics from a device
+ reset Send reset request to a device
+ run Run test procedures on a device
+ stat Read statistics from a device
+ taskstats Read task statistics from a device
+
+Flags:
+ -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>
<div class="row">
@@ -685,8 +388,8 @@ Return Code = 0
</li>
<li class="pull-right">
- <a href=../installing/>
- Next: Install
+ <a href=../command_list/newtmgr_config/>
+ Next: newtmgr config
<span class="fa fa-arrow-right"></span>
</a>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/os/tutorials/add_newtmgr/index.html
----------------------------------------------------------------------
diff --git a/latest/os/tutorials/add_newtmgr/index.html b/latest/os/tutorials/add_newtmgr/index.html
index 3b2d2cc..25206b0 100644
--- a/latest/os/tutorials/add_newtmgr/index.html
+++ b/latest/os/tutorials/add_newtmgr/index.html
@@ -557,7 +557,7 @@ application <code>syscfg.yml</code> file:</p>
</pre></div>
-<p>The first five configuration settings enable support for the Newt Manager <code>log</code>, <code>stats</code>, <code>config</code>, <code>crash</code>,
+<p>The first five configuration settings enable support for the Newt Manager <code>log</code>, <code>stat</code>, <code>config</code>, <code>crash</code>,
and <code>run</code> commands. The <code>SHELL_TASK</code> setting enables the shell for serial transport.</p>
<p>Note that you may need to override additional configuration settings that are specific to each package to customize the
package functionality.</p>
@@ -613,7 +613,7 @@ $ newt load myble
<h3 id="set-up-a-connection-profile">Set Up a Connection Profile</h3>
<p>The newtmgr tool requires a connection profile in order to connect to your board. If you have not done so,
-follow the <a href="../../../newtmgr/overview/">instructions</a> for setting up your connection profile.</p>
+follow the <a href="../../../newtmgr/command_list/newtmgr_conn/">instructions</a> for setting up your connection profile.</p>
<p><br></p>
<h3 id="connecting-with-your-application">Connecting with Your Application</h3>
<p>Once you have a connection profile set up, you can connect to your device with <code>newtmgr -c myconn <command></code> to run commands in your application. </p>
@@ -661,6 +661,7 @@ and <code>syscfg.yml</code> files as follows:</p>
<li>Add the <code>mgmt/newtmgr/transport/ble</code> package to <code>pkg.deps</code> parameter to enable BLE transport.</li>
<li>Add the <code>mgmt/newtmgr/transport/nmgr_shell</code> package to
the <code>pkg.deps</code> parameter, and add <code>SHELL_TASK: 1</code> to the <code>syscfg.vals</code> parameter to enable serial transport.</li>
+<li>Add the <code>mgmt/newtmgr/transport/nmgr_uart</code> package, and add <code>SHELL_TASK: 1</code> to enable serial communication over a UARTport.</li>
</ul>
<p><br></p>
<h4 id="oicmgr-framework-options">Oicmgr Framework Options</h4>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/sitemap.xml
----------------------------------------------------------------------
diff --git a/latest/sitemap.xml b/latest/sitemap.xml
index 608248e..bc7ade4 100644
--- a/latest/sitemap.xml
+++ b/latest/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -13,7 +13,7 @@
<url>
<loc>http://mynewt.apache.org/pages/ble/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -22,7 +22,7 @@
<url>
<loc>http://mynewt.apache.org/quick-start/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -30,7 +30,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -38,7 +38,7 @@
<url>
<loc>http://mynewt.apache.org/talks/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -46,7 +46,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -54,7 +54,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -62,7 +62,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -71,7 +71,7 @@
<url>
<loc>http://mynewt.apache.org/os/introduction/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -83,7 +83,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -123,13 +123,13 @@
<url>
<loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/sitemap.xml
----------------------------------------------------------------------
diff --git a/sitemap.xml b/sitemap.xml
index 21d5305..6fae896 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -13,13 +13,13 @@
<url>
<loc>http://mynewt.apache.org/pages/ble/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/pages/securitybullets/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -28,7 +28,7 @@
<url>
<loc>http://mynewt.apache.org/quick-start/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -36,7 +36,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -44,7 +44,7 @@
<url>
<loc>http://mynewt.apache.org/talks/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -52,7 +52,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -60,7 +60,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -68,7 +68,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -77,7 +77,7 @@
<url>
<loc>http://mynewt.apache.org/os/introduction/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -89,7 +89,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -129,13 +129,13 @@
<url>
<loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/v0_9_0/sitemap.xml
----------------------------------------------------------------------
diff --git a/v0_9_0/sitemap.xml b/v0_9_0/sitemap.xml
index 21d5305..6fae896 100644
--- a/v0_9_0/sitemap.xml
+++ b/v0_9_0/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -13,13 +13,13 @@
<url>
<loc>http://mynewt.apache.org/pages/ble/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/pages/securitybullets/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -28,7 +28,7 @@
<url>
<loc>http://mynewt.apache.org/quick-start/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -36,7 +36,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -44,7 +44,7 @@
<url>
<loc>http://mynewt.apache.org/talks/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -52,7 +52,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -60,7 +60,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -68,7 +68,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -77,7 +77,7 @@
<url>
<loc>http://mynewt.apache.org/os/introduction/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -89,7 +89,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -129,13 +129,13 @@
<url>
<loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
[7/9] incubator-mynewt-site git commit: Added newtmgr command
descriptions. Fixed BLE app tutorial errors
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/develop/network/ble/nimble_setup/index.html
----------------------------------------------------------------------
diff --git a/develop/network/ble/nimble_setup/index.html b/develop/network/ble/nimble_setup/index.html
index a1522bc..0ba6a55 100644
--- a/develop/network/ble/nimble_setup/index.html
+++ b/develop/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/develop/newt/command_list/newt_sync/index.html
----------------------------------------------------------------------
diff --git a/develop/newt/command_list/newt_sync/index.html b/develop/newt/command_list/newt_sync/index.html
index fd21b3e..7c723f7 100644
--- a/develop/newt/command_list/newt_sync/index.html
+++ b/develop/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/develop/newtmgr/command_list/newtmgr_config/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_config/index.html b/develop/newtmgr/command_list/newtmgr_config/index.html
new file mode 100644
index 0000000..f7c585f
--- /dev/null
+++ b/develop/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="/develop/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/develop/newtmgr/command_list/newtmgr_conn/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_conn/index.html b/develop/newtmgr/command_list/newtmgr_conn/index.html
new file mode 100644
index 0000000..68d38b2
--- /dev/null
+++ b/develop/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="/develop/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/develop/newtmgr/command_list/newtmgr_crash/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_crash/index.html b/develop/newtmgr/command_list/newtmgr_crash/index.html
new file mode 100644
index 0000000..7bf594a
--- /dev/null
+++ b/develop/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="/develop/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/develop/newtmgr/command_list/newtmgr_datetime/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_datetime/index.html b/develop/newtmgr/command_list/newtmgr_datetime/index.html
new file mode 100644
index 0000000..77d5adc
--- /dev/null
+++ b/develop/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="/develop/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/develop/newtmgr/command_list/newtmgr_echo/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_echo/index.html b/develop/newtmgr/command_list/newtmgr_echo/index.html
new file mode 100644
index 0000000..7ce44c0
--- /dev/null
+++ b/develop/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="/develop/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
[6/9] incubator-mynewt-site git commit: Added newtmgr command
descriptions. Fixed BLE app tutorial errors
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/develop/newtmgr/command_list/newtmgr_fs/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_fs/index.html b/develop/newtmgr/command_list/newtmgr_fs/index.html
new file mode 100644
index 0000000..cd8c1d4
--- /dev/null
+++ b/develop/newtmgr/command_list/newtmgr_fs/index.html
@@ -0,0 +1,569 @@
+<!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_fs/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr fs - 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 fs">
+
+
+ <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 >
+ <a href="../newtmgr_echo/">newtmgr echo</a>
+ </li>
+
+
+
+
+
+ <li class="active">
+ <a href="./">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="/develop/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 fs</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-fs"><font color="#F2853F" style="font-size:24pt">newtmgr fs</font></h2>
+<p>Access files on a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr fs [command] -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>The fs command provides the subcommands to download a file from and upload a file to a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>download</td>
+<td>The newtmgr download <src-filename> <dst-filename> command downloads the file named <src-filename> from a device and names it <dst-filename> on your host.</td>
+</tr>
+<tr>
+<td>upload</td>
+<td>The newtmgr upload <src-filename> <dst-filename> command uploads the file named <src-filename> to a device and names the file <dst-filename> on the device.</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>download</td>
+<td>newtmgr fs download /cfg/mfg mfg.txt -c profile01</td>
+<td>Downloads the file name <code>/cfg/mfg</code> from a device and names the file <code>mfg.txt</code> on your host. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>upload</td>
+<td>newtmgr fs upload mymfg.txt /cfg/mfg -c profile01</td>
+<td>Uploads the file name <code>mymfg.txt</code> to a device and names the file <code>cfg/mfg</code> on the 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=../newtmgr_echo/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr echo
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_image/>
+ Next: newtmgr image
+ <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/develop/newtmgr/command_list/newtmgr_image/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_image/index.html b/develop/newtmgr/command_list/newtmgr_image/index.html
new file mode 100644
index 0000000..36bfd77
--- /dev/null
+++ b/develop/newtmgr/command_list/newtmgr_image/index.html
@@ -0,0 +1,646 @@
+<!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_image/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr image - 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 image">
+
+
+ <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 >
+ <a href="../newtmgr_echo/">newtmgr echo</a>
+ </li>
+
+
+
+
+
+ <li >
+ <a href="../newtmgr_fs/">newtmgr fs</a>
+ </li>
+
+
+
+
+
+ <li class="active">
+ <a href="./">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="/develop/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 image</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-image"><font color="#F2853F" style="font-size:24pt">newtmgr image </font></h2>
+<p>Manage images on a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr image [command] -c <connection_profile> [flags]
+</pre></div>
+
+
+<h4 id="flags">Flags:</h4>
+<p>The coredownload subcommand uses the following local flags:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -n, --bytes uint32 Number of bytes of the core to download
+ -e, --elfify Create an ELF file
+ --offset unint32 Offset of the core file to start the download
+</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 image command provides subcommands to manage core and image files on a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>confirm</td>
+<td>The newtmgr image confirm [hex-image-hash] command makes an image setup permanent on a device. If a <code>hex-image-hash</code> hash value is specified, Mynewt permanently switches to the image identified by the hash value. If a hash value is not specified, the current image is made permanent.</td>
+</tr>
+<tr>
+<td>coreconvert</td>
+<td>The newtmgr image coreconvert <core-filename> <elf-file> command converts the <code>core-filename</code> core file to an ELF format and names it <code>elf-file</code>. <br><br> <strong>Note</strong>: This command does not download the core file from a device. The core file must exist on your host.</td>
+</tr>
+<tr>
+<td>coredownload</td>
+<td>The newtmgr image coredownload <core-filename> command downloads the core file from a device and names the file <code>core-filename</code> on your host. Use the local flags under Flags to customize the command.</td>
+</tr>
+<tr>
+<td>coreerase</td>
+<td>The newtmgr image coreerase command erases the core file on a device.</td>
+</tr>
+<tr>
+<td>corelist</td>
+<td>The newtmgr image corelist command lists the core(s) on a device.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>The newtmgr image list command displays information for the images on a device.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>The newtmgr test <hex-image-hash> command tests the image, identified by the <code>hex-image-hash</code> hash value, on next reboot.</td>
+</tr>
+<tr>
+<td>upload</td>
+<td>The newtmgr image upload <image-file> command uploads the <code>image-file</code> image file to a device.</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>confirm</td>
+<td>newtmgr confirm<br>-c profile01</td>
+<td>Makes the current image setup on a device permanent. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>confirm</td>
+<td>newtmgr confirm<br>be9699809a049...73d77f<br>-c profile01</td>
+<td>Makes the image, identified by the <code>be9699809a049...73d77f</code> hash value, setup on a device permanent. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>coreconvert</td>
+<td>newtmgr image coreconvert mycore mycore.elf</td>
+<td>Converts the <code>mycore</code> file to the ELF format and saves it in the <code>mycore.elf</code> file.</td>
+</tr>
+<tr>
+<td>coredownload</td>
+<td>newtmgr image coredownload <br>mycore -c profile01</td>
+<td>Downloads the core from a device and saves it in the <code>mycore</code> file. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>coredownload</td>
+<td>newtmgr image coredownload <br>mycore -e <br>-c profile01</td>
+<td>Downloads the core from a device, converts the core file into the ELF format, and saves it in the <code>mycore</code> file. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>coredownload</td>
+<td>newtmgr image coredownload <br>mycore <br>--offset 10 -n 30<br>-c profile01</td>
+<td>Downloads 30 bytes, starting at offset 10, of the core from a device and saves it in the <code>mycore</code> file. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>coreerase</td>
+<td>newtmgr image coreerase <br>-c profile01</td>
+<td>Erases the core file on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>corelist</td>
+<td>newtmgr image corelist<br>-c profile01</td>
+<td>Lists the core files on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>newtmgr image list<br>-c profile01</td>
+<td>Lists the images on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>newtmgr image test <br>be9699809a049...73d77f</td>
+<td>Tests the image, identified by the <code>be9699809a049...73d77f</code> hash value, during the next reboot on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>upload</td>
+<td>newtmgr image <br>upload bletiny.img<br>-c profile01</td>
+<td>Uploads the <code>bletiny.img</code> image to 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=../newtmgr_fs/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr fs
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_logs/>
+ Next: newtmgr log
+ <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/develop/newtmgr/command_list/newtmgr_logs/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_logs/index.html b/develop/newtmgr/command_list/newtmgr_logs/index.html
new file mode 100644
index 0000000..babc39b
--- /dev/null
+++ b/develop/newtmgr/command_list/newtmgr_logs/index.html
@@ -0,0 +1,596 @@
+<!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_logs/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr log - 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 log">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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="/develop/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 log</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-log"><font color="#F2853F" style="font-size:24pt">newtmgr log </font></h2>
+<p>Manage logs on a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr log [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 log command provides subcommands to manage logs on a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>clear</td>
+<td>The newtmgr log clear command clears the logs on a device.</td>
+</tr>
+<tr>
+<td>level_list</td>
+<td>The newtmgr level_list command shows the log levels on a device.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>The newtmgr log list command shows the log names on a device.</td>
+</tr>
+<tr>
+<td>module_list</td>
+<td>The newtmgr log module_list command shows the log module names on a device.</td>
+</tr>
+<tr>
+<td>show</td>
+<td>The newtmgr log show command shows the logs on a device.</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>clear</td>
+<td>newtmgr log clear<br>-c profile01</td>
+<td>Clears the logs on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>level_list</td>
+<td>newtmgr log level_list <br>-c profile01</td>
+<td>Shows the log levels on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>newtmgr log list<br>-c profile01</td>
+<td>Shows the log names on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>module_list</td>
+<td>newtmgr log module_list<br>-c profile01</td>
+<td>Shows the log module names on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>show</td>
+<td>newtmgr log show<br>-c profile01</td>
+<td>Shows the logs 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=../newtmgr_image/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr image
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_mpstats/>
+ Next: newtmgr mpstats
+ <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/develop/newtmgr/command_list/newtmgr_mpstats/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_mpstats/index.html b/develop/newtmgr/command_list/newtmgr_mpstats/index.html
new file mode 100644
index 0000000..f2d73f9
--- /dev/null
+++ b/develop/newtmgr/command_list/newtmgr_mpstats/index.html
@@ -0,0 +1,573 @@
+<!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_mpstats/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr mpstats - 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 mpstats">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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="/develop/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 mpstats</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-mpstats"><font color="#F2853F" style="font-size:24pt">newtmgr mpstats </font></h2>
+<p>Read memory pool statistics from a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr mpstats -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 displays the memory pool statistics from a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device. It lists the following statistics for each memory pool: </p>
+<ul>
+<li><strong>name</strong>: Memory pool name</li>
+<li><strong>blksz</strong>: Size (number of bytes) of each memory block </li>
+<li><strong>cnt</strong>: Number of blocks allocated for the pool</li>
+<li><strong>free</strong>: Number of free blocks </li>
+<li><strong>min</strong>: The lowest number of free blocks that were available</li>
+</ul>
+<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 mpstats -c profile01</td>
+<td>Reads and displays the memory pool statistics from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+</tbody>
+</table>
+<p>Here is an example output for the <code>myble</code> application from the <a href="../../../os/tutorials/add_newtmgr/">Enabling Newt Manager in any app</a> tutiorial:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">newtmgr mpstats -c myserial
+Return Code = 0
+ name blksz cnt free min
+ ble_l2cap_sig_proc_pool 20 1 1 1
+ ble_att_svr_prep_entry_pool 12 64 64 64
+ ble_hci_ram_evt_hi_pool 72 2 2 1
+ ble_hs_hci_ev_pool 16 10 10 9
+ ble_att_svr_entry_pool 20 75 0 0
+ ble_gattc_proc_pool 56 4 4 4
+ bletiny_dsc_pool 28 64 64 64
+ ble_hs_conn_pool 84 1 1 1
+ ble_gap_update 24 1 1 1
+ bletiny_svc_pool 32 32 32 32
+ ble_gatts_clt_cfg_pool 12 2 1 1
+ msys_1 292 12 9 6
+ ble_hci_ram_evt_lo_pool 72 8 8 8
+ ble_l2cap_chan_pool 24 3 3 3
+ bletiny_chr_pool 36 64 64 64
+</pre></div>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newtmgr_logs/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr log
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_reset/>
+ Next: newtmgr reset
+ <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/develop/newtmgr/command_list/newtmgr_reset/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_reset/index.html b/develop/newtmgr/command_list/newtmgr_reset/index.html
new file mode 100644
index 0000000..ea63066
--- /dev/null
+++ b/develop/newtmgr/command_list/newtmgr_reset/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_reset/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr reset - 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 reset">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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="/develop/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 reset</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-reset"><font color="#F2853F" style="font-size:24pt">newtmgr reset </font></h2>
+<p>Send a reset request to a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr reset <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>Resets a 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 reset<br>-c profile01</td>
+<td>Resets 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=../newtmgr_mpstats/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr mpstats
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_run/>
+ Next: newtmgr run
+ <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
[2/9] incubator-mynewt-site git commit: Added newtmgr command
descriptions. Fixed BLE app tutorial errors
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/newtmgr/command_list/newtmgr_fs/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/command_list/newtmgr_fs/index.html b/latest/newtmgr/command_list/newtmgr_fs/index.html
new file mode 100644
index 0000000..1dc2e2f
--- /dev/null
+++ b/latest/newtmgr/command_list/newtmgr_fs/index.html
@@ -0,0 +1,569 @@
+<!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_fs/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr fs - 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 fs">
+
+
+ <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 >
+ <a href="../newtmgr_echo/">newtmgr echo</a>
+ </li>
+
+
+
+
+
+ <li class="active">
+ <a href="./">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 fs</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-fs"><font color="#F2853F" style="font-size:24pt">newtmgr fs</font></h2>
+<p>Access files on a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr fs [command] -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>The fs command provides the subcommands to download a file from and upload a file to a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>download</td>
+<td>The newtmgr download <src-filename> <dst-filename> command downloads the file named <src-filename> from a device and names it <dst-filename> on your host.</td>
+</tr>
+<tr>
+<td>upload</td>
+<td>The newtmgr upload <src-filename> <dst-filename> command uploads the file named <src-filename> to a device and names the file <dst-filename> on the device.</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>download</td>
+<td>newtmgr fs download /cfg/mfg mfg.txt -c profile01</td>
+<td>Downloads the file name <code>/cfg/mfg</code> from a device and names the file <code>mfg.txt</code> on your host. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>upload</td>
+<td>newtmgr fs upload mymfg.txt /cfg/mfg -c profile01</td>
+<td>Uploads the file name <code>mymfg.txt</code> to a device and names the file <code>cfg/mfg</code> on the 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=../newtmgr_echo/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr echo
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_image/>
+ Next: newtmgr image
+ <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_image/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/command_list/newtmgr_image/index.html b/latest/newtmgr/command_list/newtmgr_image/index.html
new file mode 100644
index 0000000..ce1cde9
--- /dev/null
+++ b/latest/newtmgr/command_list/newtmgr_image/index.html
@@ -0,0 +1,646 @@
+<!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_image/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr image - 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 image">
+
+
+ <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 >
+ <a href="../newtmgr_echo/">newtmgr echo</a>
+ </li>
+
+
+
+
+
+ <li >
+ <a href="../newtmgr_fs/">newtmgr fs</a>
+ </li>
+
+
+
+
+
+ <li class="active">
+ <a href="./">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 image</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-image"><font color="#F2853F" style="font-size:24pt">newtmgr image </font></h2>
+<p>Manage images on a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr image [command] -c <connection_profile> [flags]
+</pre></div>
+
+
+<h4 id="flags">Flags:</h4>
+<p>The coredownload subcommand uses the following local flags:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -n, --bytes uint32 Number of bytes of the core to download
+ -e, --elfify Create an ELF file
+ --offset unint32 Offset of the core file to start the download
+</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 image command provides subcommands to manage core and image files on a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>confirm</td>
+<td>The newtmgr image confirm [hex-image-hash] command makes an image setup permanent on a device. If a <code>hex-image-hash</code> hash value is specified, Mynewt permanently switches to the image identified by the hash value. If a hash value is not specified, the current image is made permanent.</td>
+</tr>
+<tr>
+<td>coreconvert</td>
+<td>The newtmgr image coreconvert <core-filename> <elf-file> command converts the <code>core-filename</code> core file to an ELF format and names it <code>elf-file</code>. <br><br> <strong>Note</strong>: This command does not download the core file from a device. The core file must exist on your host.</td>
+</tr>
+<tr>
+<td>coredownload</td>
+<td>The newtmgr image coredownload <core-filename> command downloads the core file from a device and names the file <code>core-filename</code> on your host. Use the local flags under Flags to customize the command.</td>
+</tr>
+<tr>
+<td>coreerase</td>
+<td>The newtmgr image coreerase command erases the core file on a device.</td>
+</tr>
+<tr>
+<td>corelist</td>
+<td>The newtmgr image corelist command lists the core(s) on a device.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>The newtmgr image list command displays information for the images on a device.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>The newtmgr test <hex-image-hash> command tests the image, identified by the <code>hex-image-hash</code> hash value, on next reboot.</td>
+</tr>
+<tr>
+<td>upload</td>
+<td>The newtmgr image upload <image-file> command uploads the <code>image-file</code> image file to a device.</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>confirm</td>
+<td>newtmgr confirm<br>-c profile01</td>
+<td>Makes the current image setup on a device permanent. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>confirm</td>
+<td>newtmgr confirm<br>be9699809a049...73d77f<br>-c profile01</td>
+<td>Makes the image, identified by the <code>be9699809a049...73d77f</code> hash value, setup on a device permanent. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>coreconvert</td>
+<td>newtmgr image coreconvert mycore mycore.elf</td>
+<td>Converts the <code>mycore</code> file to the ELF format and saves it in the <code>mycore.elf</code> file.</td>
+</tr>
+<tr>
+<td>coredownload</td>
+<td>newtmgr image coredownload <br>mycore -c profile01</td>
+<td>Downloads the core from a device and saves it in the <code>mycore</code> file. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>coredownload</td>
+<td>newtmgr image coredownload <br>mycore -e <br>-c profile01</td>
+<td>Downloads the core from a device, converts the core file into the ELF format, and saves it in the <code>mycore</code> file. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>coredownload</td>
+<td>newtmgr image coredownload <br>mycore <br>--offset 10 -n 30<br>-c profile01</td>
+<td>Downloads 30 bytes, starting at offset 10, of the core from a device and saves it in the <code>mycore</code> file. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>coreerase</td>
+<td>newtmgr image coreerase <br>-c profile01</td>
+<td>Erases the core file on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>corelist</td>
+<td>newtmgr image corelist<br>-c profile01</td>
+<td>Lists the core files on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>newtmgr image list<br>-c profile01</td>
+<td>Lists the images on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>newtmgr image test <br>be9699809a049...73d77f</td>
+<td>Tests the image, identified by the <code>be9699809a049...73d77f</code> hash value, during the next reboot on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>upload</td>
+<td>newtmgr image <br>upload bletiny.img<br>-c profile01</td>
+<td>Uploads the <code>bletiny.img</code> image to 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=../newtmgr_fs/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr fs
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_logs/>
+ Next: newtmgr log
+ <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_logs/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/command_list/newtmgr_logs/index.html b/latest/newtmgr/command_list/newtmgr_logs/index.html
new file mode 100644
index 0000000..a1ab4ec
--- /dev/null
+++ b/latest/newtmgr/command_list/newtmgr_logs/index.html
@@ -0,0 +1,596 @@
+<!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_logs/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr log - 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 log">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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 log</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-log"><font color="#F2853F" style="font-size:24pt">newtmgr log </font></h2>
+<p>Manage logs on a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr log [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 log command provides subcommands to manage logs on a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>clear</td>
+<td>The newtmgr log clear command clears the logs on a device.</td>
+</tr>
+<tr>
+<td>level_list</td>
+<td>The newtmgr level_list command shows the log levels on a device.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>The newtmgr log list command shows the log names on a device.</td>
+</tr>
+<tr>
+<td>module_list</td>
+<td>The newtmgr log module_list command shows the log module names on a device.</td>
+</tr>
+<tr>
+<td>show</td>
+<td>The newtmgr log show command shows the logs on a device.</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>clear</td>
+<td>newtmgr log clear<br>-c profile01</td>
+<td>Clears the logs on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>level_list</td>
+<td>newtmgr log level_list <br>-c profile01</td>
+<td>Shows the log levels on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>newtmgr log list<br>-c profile01</td>
+<td>Shows the log names on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>module_list</td>
+<td>newtmgr log module_list<br>-c profile01</td>
+<td>Shows the log module names on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>show</td>
+<td>newtmgr log show<br>-c profile01</td>
+<td>Shows the logs 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=../newtmgr_image/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr image
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_mpstats/>
+ Next: newtmgr mpstats
+ <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_mpstats/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/command_list/newtmgr_mpstats/index.html b/latest/newtmgr/command_list/newtmgr_mpstats/index.html
new file mode 100644
index 0000000..dec7237
--- /dev/null
+++ b/latest/newtmgr/command_list/newtmgr_mpstats/index.html
@@ -0,0 +1,573 @@
+<!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_mpstats/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr mpstats - 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 mpstats">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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 mpstats</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-mpstats"><font color="#F2853F" style="font-size:24pt">newtmgr mpstats </font></h2>
+<p>Read memory pool statistics from a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr mpstats -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 displays the memory pool statistics from a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device. It lists the following statistics for each memory pool: </p>
+<ul>
+<li><strong>name</strong>: Memory pool name</li>
+<li><strong>blksz</strong>: Size (number of bytes) of each memory block </li>
+<li><strong>cnt</strong>: Number of blocks allocated for the pool</li>
+<li><strong>free</strong>: Number of free blocks </li>
+<li><strong>min</strong>: The lowest number of free blocks that were available</li>
+</ul>
+<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 mpstats -c profile01</td>
+<td>Reads and displays the memory pool statistics from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+</tbody>
+</table>
+<p>Here is an example output for the <code>myble</code> application from the <a href="../../../os/tutorials/add_newtmgr/">Enabling Newt Manager in any app</a> tutiorial:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">newtmgr mpstats -c myserial
+Return Code = 0
+ name blksz cnt free min
+ ble_l2cap_sig_proc_pool 20 1 1 1
+ ble_att_svr_prep_entry_pool 12 64 64 64
+ ble_hci_ram_evt_hi_pool 72 2 2 1
+ ble_hs_hci_ev_pool 16 10 10 9
+ ble_att_svr_entry_pool 20 75 0 0
+ ble_gattc_proc_pool 56 4 4 4
+ bletiny_dsc_pool 28 64 64 64
+ ble_hs_conn_pool 84 1 1 1
+ ble_gap_update 24 1 1 1
+ bletiny_svc_pool 32 32 32 32
+ ble_gatts_clt_cfg_pool 12 2 1 1
+ msys_1 292 12 9 6
+ ble_hci_ram_evt_lo_pool 72 8 8 8
+ ble_l2cap_chan_pool 24 3 3 3
+ bletiny_chr_pool 36 64 64 64
+</pre></div>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newtmgr_logs/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr log
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_reset/>
+ Next: newtmgr reset
+ <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_reset/index.html
----------------------------------------------------------------------
diff --git a/latest/newtmgr/command_list/newtmgr_reset/index.html b/latest/newtmgr/command_list/newtmgr_reset/index.html
new file mode 100644
index 0000000..710651c
--- /dev/null
+++ b/latest/newtmgr/command_list/newtmgr_reset/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_reset/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr reset - 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 reset">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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 reset</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-reset"><font color="#F2853F" style="font-size:24pt">newtmgr reset </font></h2>
+<p>Send a reset request to a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr reset <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>Resets a 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 reset<br>-c profile01</td>
+<td>Resets 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=../newtmgr_mpstats/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr mpstats
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_run/>
+ Next: newtmgr run
+ <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
[3/9] incubator-mynewt-site git commit: Added newtmgr command
descriptions. Fixed BLE app tutorial errors
Posted by ad...@apache.org.
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
[5/9] incubator-mynewt-site git commit: Added newtmgr command
descriptions. Fixed BLE app tutorial errors
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/develop/newtmgr/command_list/newtmgr_run/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_run/index.html b/develop/newtmgr/command_list/newtmgr_run/index.html
new file mode 100644
index 0000000..bf8e92a
--- /dev/null
+++ b/develop/newtmgr/command_list/newtmgr_run/index.html
@@ -0,0 +1,574 @@
+<!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_run/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr run - 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 run">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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="/develop/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 run</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-run"><font color="#F2853F" style="font-size:24pt">newtmgr run </font></h2>
+<p>Run test procedures on a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr run [command] -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>The run command provides subcommands to run test procedures on a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>list</td>
+<td>The newtmgr run list command lists the registered tests on a device.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>The newtmgr run test [all|testname] [token-value] command runs the <code>testname</code> test or all tests on a device. All tests are run if <code>all</code> or no <code>testname</code> is specified. If a <code>token-value</code> is specified, the token value is output with the log messages.</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>list</td>
+<td>newtmgr run<br>list -c profile01</td>
+<td>Lists all the registered tests on a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>newtmgr run <br>test all<br>201612161220<br>-c profile01</td>
+<td>Runs all the tests on a device. Outputs the <code>201612161220</code> token with the log messages. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>test</td>
+<td>newtmgr run <br>test mynewtsanity<br>-c profile01</td>
+<td>Runs the <code>mynewtsanity</code> test 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=../newtmgr_reset/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr reset
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_stat/>
+ Next: newtmgr stat
+ <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/develop/newtmgr/command_list/newtmgr_stat/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_stat/index.html b/develop/newtmgr/command_list/newtmgr_stat/index.html
new file mode 100644
index 0000000..ab6d05e
--- /dev/null
+++ b/develop/newtmgr/command_list/newtmgr_stat/index.html
@@ -0,0 +1,614 @@
+<!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_stat/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr stat - 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 stat">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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="/develop/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 stat</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-stat"><font color="#F2853F" style="font-size:24pt">newtmgr stat</font></h2>
+<p>Read statistics from a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr stat [stats_name] -c <conn_profile> [flags]
+ newtmgr stat [command] -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>Displays statistic for the Stats named <code>stats_name</code> from a device. You can use the <code>list</code> subcommand to get a list of the Stats names from the device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device.</p>
+<table>
+<thead>
+<tr>
+<th>Sub-command</th>
+<th>Explanation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td></td>
+<td>The newtmgr stat [stats_name] command displays the statistics for the <code>stats_name</code> Stats from a device. It displays the list of Stats names if a <code>stats_name</code> value is not specified.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>The newtmgr stat list command displays the list of Stats names from a device.</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></td>
+<td>newtmgr stat ble_att -c profile01</td>
+<td>Displays the <code>ble_att</code> statistics on 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 stat -c profile01</td>
+<td>Displays the list of Stats names from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+<tr>
+<td>list</td>
+<td>newtmgr stat list -c profile01</td>
+<td>Displays the list of Stats names from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+</tbody>
+</table>
+<p>Here are some example outputs for the <code>myble</code> application from the <a href="../../../os/tutorials/add_newtmgr/">Enabling Newt Manager in any app</a> tutiorial:</p>
+<p>The statistics for the ble_att Stats:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newtmgr stat ble_att -c myserial
+Return Code = 0
+Stats Name: ble_att
+ read_type_req_rx: 0
+ read_rsp_rx: 0
+ read_group_type_rsp_tx: 0
+ prep_write_rsp_tx: 0
+ find_type_value_req_tx: 0
+ read_type_rsp_rx: 0
+ read_mult_req_rx: 0
+ notify_req_tx: 0
+ indicate_req_tx: 0
+
+ ...
+ write_cmd_rx: 0
+ prep_write_rsp_rx: 0
+ read_type_rsp_tx: 0
+ read_req_tx: 0
+ read_mult_req_tx: 0
+ read_group_type_req_rx: 0
+ write_rsp_tx: 0
+ exec_write_rsp_rx: 0
+</pre></div>
+
+
+<p>The list of Stats names:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newtmgr stat -c myserial
+[stat ble_l2cap ble_att ble_gap ble_gattc ble_gatts ble_hs ble_ll_conn ble_ll ble_phy]
+Return Code = 0
+</pre></div>
+
+
+<p>The list of Stats names using the list subcommand:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newtmgr stat list -c myserial
+[stat ble_l2cap ble_att ble_gap ble_gattc ble_gatts ble_hs ble_ll_conn ble_ll ble_phy]
+Return Code = 0
+</pre></div>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newtmgr_run/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr run
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../newtmgr_taskstats/>
+ Next: newtmgr taskstats
+ <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/develop/newtmgr/command_list/newtmgr_taskstats/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/command_list/newtmgr_taskstats/index.html b/develop/newtmgr/command_list/newtmgr_taskstats/index.html
new file mode 100644
index 0000000..d234c71
--- /dev/null
+++ b/develop/newtmgr/command_list/newtmgr_taskstats/index.html
@@ -0,0 +1,564 @@
+<!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_taskstats/"> -->
+ <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+ <title>newtmgr taskstats - 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 taskstats">
+
+
+ <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 >
+ <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 class="active">
+ <a href="./">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="/develop/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 taskstats</li>
+
+
+
+ </ul>
+</div>
+ </div>
+
+ <h2 id="newtmgr-taskstats"><font color="#F2853F" style="font-size:24pt">newtmgr taskstats </font></h2>
+<p>Read task statistics from a device.</p>
+<h4 id="usage">Usage:</h4>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr taskstats -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 displays the task statistics from a device. Newtmgr uses the <code>conn_profile</code> connection profile to connect to the device. It lists the following statistics for each task: </p>
+<ul>
+<li><strong>task</strong>: Task name</li>
+<li><strong>pri</strong>: Task priority</li>
+<li><strong>runtime</strong>: The time (ms) that the task has been running for</li>
+<li><strong>csw</strong>: Number of times the task has switched context</li>
+<li><strong>stksz</strong>: Stack size allocated for the task </li>
+<li><strong>stkuse</strong>: Actual stack size the task uses</li>
+<li><strong>last_checkin</strong>: Last sanity checkin with the <a href="../../../os/core_os/sanity/sanity/">Sanity Task</a></li>
+<li><strong>next_checkin</strong>: Next sanity checkin</li>
+</ul>
+<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 taskstats<br>-c profile0</td>
+<td>Reads and displays the task statistics from a device. Newtmgr connects to the device over a connection specified in the <code>profile01</code> connection profile.</td>
+</tr>
+</tbody>
+</table>
+<p>Here is an example output for the <code>myble</code> application from the <a href="../../../os/tutorials/add_newtmgr/">Enabling Newt Manager in any app</a> tutiorial:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">newtmgr taskstats -c myserial
+Return Code = 0
+ task pri tid runtime csw stksz stkuse last_checkin next_checkin
+ idle 255 0 151917 47 64 34 0 0
+ main 127 1 2 59 512 188 0 0
+ ble_ll 0 2 0 14 80 56 0 0
+</pre></div>
+
+ <div class="row">
+
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+ <li>
+
+ <a href=../newtmgr_stat/>
+ <span class="fa fa-arrow-left"></span>
+ Previous: newtmgr stat
+ </a>
+
+ </li>
+ <li class="pull-right">
+
+ <a href=../../installing/>
+ Next: Install
+ <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/develop/newtmgr/installing/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/installing/index.html b/develop/newtmgr/installing/index.html
index 314ad59..b534ec9 100644
--- a/develop/newtmgr/installing/index.html
+++ b/develop/newtmgr/installing/index.html
@@ -276,6 +276,19 @@
+
+
+ <li><a href="
+ ../command_list/newtmgr_config/
+">Command Guide</a>
+
+
+ </li>
+
+
+
+
+
<li class="active">
<a href="./">Install</a>
</li>
@@ -401,9 +414,9 @@ from github.com and then run <code>go install</code> again. </p>
<ul class="nav nav-pills" style="margin-bottom: 10px">
<li>
- <a href=../overview/>
+ <a href=../command_list/newtmgr_taskstats/>
<span class="fa fa-arrow-left"></span>
- Previous: Newt Manager Guide
+ Previous: newtmgr taskstats
</a>
</li>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/develop/newtmgr/overview/index.html
----------------------------------------------------------------------
diff --git a/develop/newtmgr/overview/index.html b/develop/newtmgr/overview/index.html
index a45051f..5b21425 100644
--- a/develop/newtmgr/overview/index.html
+++ b/develop/newtmgr/overview/index.html
@@ -276,6 +276,19 @@
+
+
+ <li><a href="
+ ../command_list/newtmgr_config/
+">Command Guide</a>
+
+
+ </li>
+
+
+
+
+
<li >
<a href="../installing/">Install</a>
</li>
@@ -333,340 +346,30 @@
</div>
<h2 id="newt-manager">Newt Manager</h2>
-<p>Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote instances of Mynewt OS. </p>
-<h2 id="description">Description</h2>
-<h2 id="command-list">Command List</h2>
+<p>Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS. It uses a connection profile to establish a connection with a device and sends command requests to the device. The tool follows the same command structure as the <a href="../../newt/newt_ops/">newt tool</a>. </p>
<h3 id="available-high-level-commands">Available high-level commands</h3>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> help Lists commands and flags available
- conn Manage newtmgr connection profiles
- echo Send data to remote endpoint using newtmgr, and receive data back
- image Manage images on remote instance
- stat Read statistics from a remote endpoint
- taskstats Read statistics from a remote endpoint
- mpstats Read statistics from a remote endpoint
- config Read or write config value on target
-</pre></div>
-
-
-<h3 id="available-flags">Available Flags</h3>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --connection string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>newtmgr -caditi03 taskstats</td>
-<td></td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<h3 id="help"><em>help</em></h3>
-<h4 id="usage">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr help [input1]
-</pre></div>
-
-
-<p>You can also use "newtmgr [command] --help" to display the help text for a newtmgr command.</p>
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --connection string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Available Flags</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>taskstats</td>
-<td>newtmgr -cprofile1 taskstats</td>
-<td>Run the taskstats subcommand on the device connected via the 'profile1' connection</td>
-</tr>
-</tbody>
-</table>
-<h3 id="conn"><em>conn</em></h3>
-<h4 id="usage_1">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr conn [flags]
- newtmgr conn [command]
-</pre></div>
-
-
-<p>Available commands: </p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> add Add a newtmgr connection profile
- delete Delete a newtmgr connection profile
- show Show newtmgr connection profiles
-</pre></div>
-
-
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Description</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>add</td>
-<td>Adds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication.</td>
-</tr>
-<tr>
-<td>delete</td>
-<td>Deletes a connection profile associated with the given name</td>
-</tr>
-<tr>
-<td>show</td>
-<td>List the specified or all the connection profiles with the name, connection type, and the controlling terminal or port.</td>
-</tr>
-</tbody>
-</table>
-<p>Examples</p>
-<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>Adds a newtmgr connection profile for the serial port /dev/ttys002 and names it 'myserial02'</td>
-</tr>
-<tr>
-<td>delete</td>
-<td>newtmgr conn delete myserial02</td>
-<td>Deletes the connection profile named 'myserial02'</td>
-</tr>
-<tr>
-<td>show</td>
-<td>newtmgr conn show myserial01</td>
-<td>Shows the details of the profile named 'myserial01'</td>
-</tr>
-<tr>
-<td>show</td>
-<td>newtmgr conn show</td>
-<td>Shows all the current profiles defined</td>
-</tr>
-</tbody>
-</table>
-<h3 id="echo"><em>echo</em></h3>
-<h4 id="usage_2">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr echo [flags] [text]
-</pre></div>
-
-
-<p>This command sends the text to the remote device at the other end of the connection specified with the -c flag and outputs the text when it gets a response from the device. If the device is not responding or if the connection profile is invalid it displays errors. </p>
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>echo</td>
-<td>newtmgr echo -c profile01 hello</td>
-<td>Sends the string 'hello' to the remote device over the connection profile 'profile01' and receives the string back and displays it.</td>
-</tr>
-</tbody>
-</table>
-<h3 id="image"><em>image</em></h3>
-<h4 id="usage_3">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr image [flags]
- newtmgr image [command]
-</pre></div>
-
-
-<p>Available commands: </p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> list Show target images
- upload Upload image to target
- boot Which image to boot
- fileupload Upload file to target
- filedownload Download file from target
-</pre></div>
-
-
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Description</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>list</td>
-<td>Adds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication.</td>
-</tr>
-<tr>
-<td>upload</td>
-<td>Deletes a connection profile associated with the given name</td>
-</tr>
-<tr>
-<td>boot</td>
-<td>Specify the image to boot</td>
-</tr>
-<tr>
-<td>fileupload</td>
-<td>upload file to the remote target</td>
-</tr>
-<tr>
-<td>filedownload</td>
-<td>download/retrieve file from remote target</td>
-</tr>
-</tbody>
-</table>
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>list</td>
-<td>newtmgr list</td>
-<td></td>
-</tr>
-<tr>
-<td>upload</td>
-<td>newtmgr upload</td>
-<td></td>
-</tr>
-<tr>
-<td>boot</td>
-<td>newtmgr boot</td>
-<td></td>
-</tr>
-<tr>
-<td>fileupload</td>
-<td>newtmgr fileupload</td>
-<td></td>
-</tr>
-<tr>
-<td>filedownload</td>
-<td>newtmgr filedownload</td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<h3 id="stat"><em>stat</em></h3>
-<h4 id="usage_4">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr stat [flags]
- newtmgr stat [command]
-</pre></div>
-
-
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>stat</td>
-<td>newtmgr stat</td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<h3 id="taskstats"><em>taskstats</em></h3>
-<h4 id="usage_5">Usage:</h4>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> newtmgr taskstats [flags]
- newtmgr taskstats [command]
-</pre></div>
-
-
-<p>Lists all the tasks running on the remote endpoint at the end of the specified connection and for each task lists statistics such as priority, task id, runtime (how long the task has been running in ms), context switch count, stack size allocated, actual stack usage, last sanity checkin, next sanity check-in. </p>
-<p>Flags:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> -c, --conn string connection profile to use.
- -l, --loglevel string log level to use (default WARN.)
-</pre></div>
-
-
-<p>Examples</p>
-<table>
-<thead>
-<tr>
-<th>Sub-command</th>
-<th>Usage</th>
-<th>Explanation</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>stat</td>
-<td>newtmgr taskstats -c profile01</td>
-<td>Lists all the tasks running on the remote device at the end of connection named 'profile01'</td>
-</tr>
-</tbody>
-</table>
-<p>Example output</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newtmgr -c profile01 taskstats
-Return Code = 0
- idle (prio=255 tid=0 runtime=3299340 cswcnt=280342 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- os_sanity (prio=254 tid=1 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- shell (prio=3 tid=2 runtime=0 cswcnt=165 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- uart_poller (prio=0 tid=3 runtime=0 cswcnt=279368 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- newtmgr (prio=4 tid=4 runtime=0 cswcnt=14 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- task1 (prio=1 tid=5 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
- task2 (prio=2 tid=6 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)
+<p>The following are the high-level newtmgr commands. Some of these commands have subcommands. You can use the -h flag to get help for each command. See the documentation for each command in this guide if you need more information and examples.</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">Available Commands:
+
+ config Read or write a config value on a device
+ conn Manage newtmgr connection profiles
+ crash Send a crash command to a device
+ datetime Manage datetime on a device
+ echo Send data to a device and display the echoed back data
+ fs Access files on a device
+ image Manage images on a device
+ log Manage logs on a device
+ mpstats Read memory pool statistics from a device
+ reset Send reset request to a device
+ run Run test procedures on a device
+ stat Read statistics from a device
+ taskstats Read task statistics from a device
+
+Flags:
+ -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>
<div class="row">
@@ -685,8 +388,8 @@ Return Code = 0
</li>
<li class="pull-right">
- <a href=../installing/>
- Next: Install
+ <a href=../command_list/newtmgr_config/>
+ Next: newtmgr config
<span class="fa fa-arrow-right"></span>
</a>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/develop/os/tutorials/add_newtmgr/index.html
----------------------------------------------------------------------
diff --git a/develop/os/tutorials/add_newtmgr/index.html b/develop/os/tutorials/add_newtmgr/index.html
index 6476bed..a720489 100644
--- a/develop/os/tutorials/add_newtmgr/index.html
+++ b/develop/os/tutorials/add_newtmgr/index.html
@@ -557,7 +557,7 @@ application <code>syscfg.yml</code> file:</p>
</pre></div>
-<p>The first five configuration settings enable support for the Newt Manager <code>log</code>, <code>stats</code>, <code>config</code>, <code>crash</code>,
+<p>The first five configuration settings enable support for the Newt Manager <code>log</code>, <code>stat</code>, <code>config</code>, <code>crash</code>,
and <code>run</code> commands. The <code>SHELL_TASK</code> setting enables the shell for serial transport.</p>
<p>Note that you may need to override additional configuration settings that are specific to each package to customize the
package functionality.</p>
@@ -613,7 +613,7 @@ $ newt load myble
<h3 id="set-up-a-connection-profile">Set Up a Connection Profile</h3>
<p>The newtmgr tool requires a connection profile in order to connect to your board. If you have not done so,
-follow the <a href="../../../newtmgr/overview/">instructions</a> for setting up your connection profile.</p>
+follow the <a href="../../../newtmgr/command_list/newtmgr_conn/">instructions</a> for setting up your connection profile.</p>
<p><br></p>
<h3 id="connecting-with-your-application">Connecting with Your Application</h3>
<p>Once you have a connection profile set up, you can connect to your device with <code>newtmgr -c myconn <command></code> to run commands in your application. </p>
@@ -661,6 +661,7 @@ and <code>syscfg.yml</code> files as follows:</p>
<li>Add the <code>mgmt/newtmgr/transport/ble</code> package to <code>pkg.deps</code> parameter to enable BLE transport.</li>
<li>Add the <code>mgmt/newtmgr/transport/nmgr_shell</code> package to
the <code>pkg.deps</code> parameter, and add <code>SHELL_TASK: 1</code> to the <code>syscfg.vals</code> parameter to enable serial transport.</li>
+<li>Add the <code>mgmt/newtmgr/transport/nmgr_uart</code> package, and add <code>SHELL_TASK: 1</code> to enable serial communication over a UARTport.</li>
</ul>
<p><br></p>
<h4 id="oicmgr-framework-options">Oicmgr Framework Options</h4>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/develop/sitemap.xml
----------------------------------------------------------------------
diff --git a/develop/sitemap.xml b/develop/sitemap.xml
index 608248e..bc7ade4 100644
--- a/develop/sitemap.xml
+++ b/develop/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -13,7 +13,7 @@
<url>
<loc>http://mynewt.apache.org/pages/ble/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -22,7 +22,7 @@
<url>
<loc>http://mynewt.apache.org/quick-start/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -30,7 +30,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -38,7 +38,7 @@
<url>
<loc>http://mynewt.apache.org/talks/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -46,7 +46,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -54,7 +54,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -62,7 +62,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -71,7 +71,7 @@
<url>
<loc>http://mynewt.apache.org/os/introduction/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -83,7 +83,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -123,13 +123,13 @@
<url>
<loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2017-03-07</lastmod>
+ <lastmod>2017-03-17</lastmod>
<changefreq>daily</changefreq>
</url>
[8/9] incubator-mynewt-site git commit: Added newtmgr command
descriptions. Fixed BLE app tutorial errors
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/develop/mkdocs/search_index.json
----------------------------------------------------------------------
diff --git a/develop/mkdocs/search_index.json b/develop/mkdocs/search_index.json
index c6dfaad..719ffa4 100644
--- a/develop/mkdocs/search_index.json
+++ b/develop/mkdocs/search_index.json
@@ -1492,7 +1492,7 @@
},
{
"location": "/os/tutorials/add_newtmgr/",
- "text": "Enabling Newt Manager in Your Application\n\n\n\nIn order for your application to communicate with the newtmgr tool and process Newt Manager commands, you must \nenable Newt Manager device management and the support to process Newt Manager commands \nin your application. This tutorial explains how to add the support to your application.\n\n\nThis tutorial assumes that you have read the \nDevice Management with Newt Manager\n\nguide and are familiar with the \nnewtmgr\n and \noicmgr\n frameworks and all the options that are available \nto customize your application.\n\n\nThis tutorial shows you how to configure your application to:\n\n\n\n\nUse the newtmgr framework.\n\n\nUse serial transport to communicate with the newtmgr tool.\n\n\nSupport all Newt Manager commands.\n\n\n\n\nSee \nOther Configuration Options\n on how to customize your application.\n\n\n\n\nPrerequisites\n\n\nEnsure that you have met the following prerequisites before continuing with this tuto
rial:\n\n\n\n\nInstall the \nnewt tool\n. \n\n\nInstall the \nnewtmgr tool\n.\n\n\nHave Internet connectivity to fetch remote Mynewt components.\n\n\nInstall the \ncompiler tools\n to \nsupport native compiling to build the project this tutorial creates. \n\n\nHave a cable to establish a serial USB connection between the board and the laptop.\n\n\n\n\n\n\nUse an Existing Project\n\n\nWe assume that you have worked through at least some of the other tutorials and have an existing project.\nIn this example, we modify the \nble_tiny\n project to enable Newt Manager support. \nWe call our application \nmyble\n. You can create the application using any name you choose. \n\n\nModify Package Dependencies and Configurations\n\n\nAdd the following packages to the \npkg.deps\n parameter in your target or application \npkg.yml\n file:\n\n\npkg.deps:\n - mgmt/newtmgr\n - mgmt/newtmgr/transport/nmgr_shell\n - mgmt/imgmgr\n - sys/log/full\n - sys/stats/full\n - sys/config\n
- test/crash_test\n - test/runtest\n\n\n\n\n\nEach package provides the following Newt Manager functionality:\n\n\n\n\nmgmt/newtmgr\n: Supports the newtmgr framework and the \nNewt Manager \necho\n, \ntaskstats\n \nmpstats\n, \ndatetime\n, and \nreset\n commands.\n\n\nmgmt/newtmgr/transport/nmgr_shell\n: Supports serial transport.\n\n\nmgmt/imgmgr\n: Supports the \nnewtmgr image\n command \n\n\nsys/log/full\n : Supports the \nnewtmgr log\n command.\n\n\nsys/stats/full\n: Supports the \nnewtmgr stat\n command. \n\n\nsys/config\n: Supports the \nnewtmgr config\n command. \n\n\ntest/crash_test\n: Supports the \nnewtmgr crash\n command. \n\n\ntest/runtest\n: Supports the \nnewt run\n command.\n\n\n\n\nAdd the following configuration setting values to the \nsyscfg.vals\n parameter in the target or \napplication \nsyscfg.yml\n file:\n\n\nsyscfg.vals:\n LOG_NEWTMGR: 1\n STATS_NEWTMGR: 1\n CONFIG_NEWTMGR: 1\n CRASH_TEST_NEWTMGR: 1\n RUNTEST_NEWTMGR: 1\n SHELL_TASK: 1\n
\n\n\n\n\nThe first five configuration settings enable support for the Newt Manager \nlog\n, \nstats\n, \nconfig\n, \ncrash\n, \nand \nrun\n commands. The \nSHELL_TASK\n setting enables the shell for serial transport.\n\n\nNote that you may need to override additional configuration settings that are specific to each package to customize the \npackage functionality.\n\n\n\n\nModify the Source\n\n\nBy default, the \nmgmt\n package uses the Mynewt default event queue to receive request events from the newtmgr tool. These events are processed in the context of the application main task. \n\n\nYou can specify a different event queue for the package to use. If you choose to use a dedicated event queue, you must create a task to process events from this event queue. The \nmgmt\n package executes and handles newtmgr request events in the context of this task. The \nmgmt\n package exports the \nmgmt_evq_set()\n function that allows you to specify an event queue. \n\n\nThis example uses th
e Mynewt default event queue and you do not need to modify your application source. \n\n\nIf you choose to use a different event queue, see \nEvents and Event Queues\n for details on how to initialize an event queue and create a task to process the events. You will also need to modify your \nmain.c\n to add the call to the \nmgmt_evq_set()\n function as follows:\n\n\nAdd the \nmgmt/mgmt.h\n header file: \n\n\n#include \nmgmt/mgmt.h\n\n\n\n\n\n\n\nAdd the call to specify the event queue. In the \nmain()\n function, scroll down to the \nwhile (1)\n loop and add the following statement above the loop: \n\n\nmgmt_evq_set(\nmy_eventq)\n\n\n\n\n\nwhere \nmy_eventq\n is an event queue that you have initialized.\n\n\nBuild the Targets\n\n\nBuild the two targets as follows:\n\n\n$ newt build nrf52_boot\n\nsnip\n\nApp successfully built: ./bin/nrf52_boot/apps/boot/boot.elf\n$ newt build myble\nCompiling hci_common.c\nCompiling util.c\nArchiving nimble.a\nCompiling os.c\n\nsnip\n\n\n\n\n\n\n
\n\nCreate the Application Image\n\n\nGenerate a signed application image for the \nmyble\n target. You can use any version number you choose.\n\n\n$ newt create-image myble 1.0.0\nApp image successfully generated: ./bin/makerbeacon/apps/bletiny/bletiny.img\nBuild manifest: ./bin/makerbeacon/apps/bletiny/manifest.json\n\n\n\n\n\n\n\nLoad the Image\n\n\nEnsure the USB connector is in place and the power LED on the board is lit. Turn the power switch on your board off, \nthen back on to reset the board after loading the image.\n\n\n$ newt load nrf52_boot\n$ newt load myble\n\n\n\n\n\nSet Up a Connection Profile\n\n\nThe newtmgr tool requires a connection profile in order to connect to your board. If you have not done so, \nfollow the \ninstructions\n for setting up your connection profile.\n\n\n\n\nConnecting with Your Application\n\n\nOnce you have a connection profile set up, you can connect to your device with \nnewtmgr -c myconn \ncommand\n to run commands in your application. \n\
n\nIssue the \necho\n command to ensure that your application is communicating with the newtmgr tool:\n\n\n# newtmgr -c myconn echo hello\nhello\n\n\n\n\n\nTest your application to ensure that it can process a Newt Manager command that is supported by a different package.\nIssue the \nstat\n command to see the BLE stats. \n\n\nnewtmgr -c myconn stat ble_att\nReturn Code = 0\nStats Name: ble_att\n prep_write_req_tx: 0\n indicate_req_tx: 0\n write_rsp_tx: 0\n find_info_req_tx: 0\n read_rsp_rx: 0\n read_group_type_rsp_tx: 0\n indicate_req_rx: 0\n find_type_value_rsp_tx: 0\n\n ...\n\n read_req_rx: 0\n read_type_req_rx: 0\n notify_req_tx: 0\n mtu_rsp_tx: 0\n find_type_value_req_rx: 0\n read_blob_rsp_rx: 0\n read_group_type_req_tx: 0\n exec_write_req_tx: 0\n\n\n\n\n\nYour application is now able to communicate with the newtmgr tool.\n\n\nOther Configuration Options\n\n\nThis section explains how to customize your application to use other Newt Manager protocol options
.\n\n\nNewtmgr Framework Transport Protocol Options\n\n\nThe newtmgr framework currently supports BLE and serial transport protocols. \nTo configure the transport protocols that are supported, modify the \npkg.yml\n \nand \nsyscfg.yml\n files as follows:\n\n\n\n\nAdd the \nmgmt/newtmgr/transport/ble\n package to \npkg.deps\n parameter to enable BLE transport.\n\n\nAdd the \nmgmt/newtmgr/transport/nmgr_shell\n package to \nthe \npkg.deps\n parameter, and add \nSHELL_TASK: 1\n to the \nsyscfg.vals\n parameter to enable serial transport.\n\n\n\n\n\n\nOicmgr Framework Options\n\n\nTo use the oicmgr framework instead of the newtmgr framework, modify the \npkg.yml\n and \nsyscfg.yml\n files \nas follows:\n\n\n\n\nAdd the \nmgmt/oicmgr\n package (instead of the \nmgmt/newtmgr\n and \nmgmt/newtmgr/transport\n packages \nas described previously) to the \npkg.deps\n parameter.\n\n\nAdd \nOC_SERVER: 1\n to the \nsyscfg.vals\n parameter.\n\n\n\n\nOicmgr supports the IP, serial, and BLE transpo
rt protocols. To configure the transport protocols that are supported, \nset the configuration setting values in the \nsyscfg.vals\n parameter as follows:\n\n\n\n\nAdd \nOC_TRANSPORT_IP: 1\n to enable IP transport. \n\n\nAdd \nOC_TRANSPORT_GATT: 1\n to enable BLE transport.\n\n\nAdd \nOC_TRANSPORT_SERIAL: 1\n and \nSHELL_TASK: 1\n to enable serial transport.\n\n\n\n\n\n\nCustomize the Newt Manager Commands that Your Application Supports\n\n\nWe recommend that you only enable support for the Newt Manager commands that your application uses \nto reduce your application code size. To configure the commands that are supported, set the configuration \nsetting values in the \nsyscfg.vals\n parameter as follows:\n\n\n\n\nAdd \nLOG_NEWTMGR: 1\n to enable support for the \nnewtmgr log\n command.\n\n\nAdd \nSTATS_NEWTMGR: 1\n to enable support for the \nnewtmgr stat\n command.\n\n\nAdd \nCONFIG_NEWTMGR: 1\n to enable support for the \nnewtmgr config\n command.\n\n\nAdd \nCRASH_TEST_NEWTMGR
: 1\n to enable support for the \nnewtmgr crash\n command.\n\n\nAdd \nRUNTEST_NEWTMGR: 1\n to enable support for the \nnewtmgr crash\n command.\n\n\n\n\nNotes: \n\n\n\n\nWhen you enable Newt Manager support, using either the newtmgr or oicmgr framework, your application automatically \nsupports the Newt Manager \necho\n, \ntaskstats\n, \nmpstats\n, \ndatetime\n, and \nreset\n commands. These \ncommands cannot be configured individually.\n\n\nThe \nmgmt/imgmgr\n package does not provide a configuration setting to enable or disable support \nfor the \nnewtmgr image\n command. Do not specify the package in the \npkg.deps\n parameter if \nyour device has limited flash memory and cannot support Over-The-Air (OTA) firmware upgrades.",
+ "text": "Enabling Newt Manager in Your Application\n\n\n\nIn order for your application to communicate with the newtmgr tool and process Newt Manager commands, you must \nenable Newt Manager device management and the support to process Newt Manager commands \nin your application. This tutorial explains how to add the support to your application.\n\n\nThis tutorial assumes that you have read the \nDevice Management with Newt Manager\n\nguide and are familiar with the \nnewtmgr\n and \noicmgr\n frameworks and all the options that are available \nto customize your application.\n\n\nThis tutorial shows you how to configure your application to:\n\n\n\n\nUse the newtmgr framework.\n\n\nUse serial transport to communicate with the newtmgr tool.\n\n\nSupport all Newt Manager commands.\n\n\n\n\nSee \nOther Configuration Options\n on how to customize your application.\n\n\n\n\nPrerequisites\n\n\nEnsure that you have met the following prerequisites before continuing with this tuto
rial:\n\n\n\n\nInstall the \nnewt tool\n. \n\n\nInstall the \nnewtmgr tool\n.\n\n\nHave Internet connectivity to fetch remote Mynewt components.\n\n\nInstall the \ncompiler tools\n to \nsupport native compiling to build the project this tutorial creates. \n\n\nHave a cable to establish a serial USB connection between the board and the laptop.\n\n\n\n\n\n\nUse an Existing Project\n\n\nWe assume that you have worked through at least some of the other tutorials and have an existing project.\nIn this example, we modify the \nble_tiny\n project to enable Newt Manager support. \nWe call our application \nmyble\n. You can create the application using any name you choose. \n\n\nModify Package Dependencies and Configurations\n\n\nAdd the following packages to the \npkg.deps\n parameter in your target or application \npkg.yml\n file:\n\n\npkg.deps:\n - mgmt/newtmgr\n - mgmt/newtmgr/transport/nmgr_shell\n - mgmt/imgmgr\n - sys/log/full\n - sys/stats/full\n - sys/config\n
- test/crash_test\n - test/runtest\n\n\n\n\n\nEach package provides the following Newt Manager functionality:\n\n\n\n\nmgmt/newtmgr\n: Supports the newtmgr framework and the \nNewt Manager \necho\n, \ntaskstats\n \nmpstats\n, \ndatetime\n, and \nreset\n commands.\n\n\nmgmt/newtmgr/transport/nmgr_shell\n: Supports serial transport.\n\n\nmgmt/imgmgr\n: Supports the \nnewtmgr image\n command \n\n\nsys/log/full\n : Supports the \nnewtmgr log\n command.\n\n\nsys/stats/full\n: Supports the \nnewtmgr stat\n command. \n\n\nsys/config\n: Supports the \nnewtmgr config\n command. \n\n\ntest/crash_test\n: Supports the \nnewtmgr crash\n command. \n\n\ntest/runtest\n: Supports the \nnewt run\n command.\n\n\n\n\nAdd the following configuration setting values to the \nsyscfg.vals\n parameter in the target or \napplication \nsyscfg.yml\n file:\n\n\nsyscfg.vals:\n LOG_NEWTMGR: 1\n STATS_NEWTMGR: 1\n CONFIG_NEWTMGR: 1\n CRASH_TEST_NEWTMGR: 1\n RUNTEST_NEWTMGR: 1\n SHELL_TASK: 1\n
\n\n\n\n\nThe first five configuration settings enable support for the Newt Manager \nlog\n, \nstat\n, \nconfig\n, \ncrash\n, \nand \nrun\n commands. The \nSHELL_TASK\n setting enables the shell for serial transport.\n\n\nNote that you may need to override additional configuration settings that are specific to each package to customize the \npackage functionality.\n\n\n\n\nModify the Source\n\n\nBy default, the \nmgmt\n package uses the Mynewt default event queue to receive request events from the newtmgr tool. These events are processed in the context of the application main task. \n\n\nYou can specify a different event queue for the package to use. If you choose to use a dedicated event queue, you must create a task to process events from this event queue. The \nmgmt\n package executes and handles newtmgr request events in the context of this task. The \nmgmt\n package exports the \nmgmt_evq_set()\n function that allows you to specify an event queue. \n\n\nThis example uses the
Mynewt default event queue and you do not need to modify your application source. \n\n\nIf you choose to use a different event queue, see \nEvents and Event Queues\n for details on how to initialize an event queue and create a task to process the events. You will also need to modify your \nmain.c\n to add the call to the \nmgmt_evq_set()\n function as follows:\n\n\nAdd the \nmgmt/mgmt.h\n header file: \n\n\n#include \nmgmt/mgmt.h\n\n\n\n\n\n\n\nAdd the call to specify the event queue. In the \nmain()\n function, scroll down to the \nwhile (1)\n loop and add the following statement above the loop: \n\n\nmgmt_evq_set(\nmy_eventq)\n\n\n\n\n\nwhere \nmy_eventq\n is an event queue that you have initialized.\n\n\nBuild the Targets\n\n\nBuild the two targets as follows:\n\n\n$ newt build nrf52_boot\n\nsnip\n\nApp successfully built: ./bin/nrf52_boot/apps/boot/boot.elf\n$ newt build myble\nCompiling hci_common.c\nCompiling util.c\nArchiving nimble.a\nCompiling os.c\n\nsnip\n\n\n\n\n\n\n\
n\nCreate the Application Image\n\n\nGenerate a signed application image for the \nmyble\n target. You can use any version number you choose.\n\n\n$ newt create-image myble 1.0.0\nApp image successfully generated: ./bin/makerbeacon/apps/bletiny/bletiny.img\nBuild manifest: ./bin/makerbeacon/apps/bletiny/manifest.json\n\n\n\n\n\n\n\nLoad the Image\n\n\nEnsure the USB connector is in place and the power LED on the board is lit. Turn the power switch on your board off, \nthen back on to reset the board after loading the image.\n\n\n$ newt load nrf52_boot\n$ newt load myble\n\n\n\n\n\nSet Up a Connection Profile\n\n\nThe newtmgr tool requires a connection profile in order to connect to your board. If you have not done so, \nfollow the \ninstructions\n for setting up your connection profile.\n\n\n\n\nConnecting with Your Application\n\n\nOnce you have a connection profile set up, you can connect to your device with \nnewtmgr -c myconn \ncommand\n to run commands in your application. \n\n
\nIssue the \necho\n command to ensure that your application is communicating with the newtmgr tool:\n\n\n# newtmgr -c myconn echo hello\nhello\n\n\n\n\n\nTest your application to ensure that it can process a Newt Manager command that is supported by a different package.\nIssue the \nstat\n command to see the BLE stats. \n\n\nnewtmgr -c myconn stat ble_att\nReturn Code = 0\nStats Name: ble_att\n prep_write_req_tx: 0\n indicate_req_tx: 0\n write_rsp_tx: 0\n find_info_req_tx: 0\n read_rsp_rx: 0\n read_group_type_rsp_tx: 0\n indicate_req_rx: 0\n find_type_value_rsp_tx: 0\n\n ...\n\n read_req_rx: 0\n read_type_req_rx: 0\n notify_req_tx: 0\n mtu_rsp_tx: 0\n find_type_value_req_rx: 0\n read_blob_rsp_rx: 0\n read_group_type_req_tx: 0\n exec_write_req_tx: 0\n\n\n\n\n\nYour application is now able to communicate with the newtmgr tool.\n\n\nOther Configuration Options\n\n\nThis section explains how to customize your application to use other Newt Manager protocol options.
\n\n\nNewtmgr Framework Transport Protocol Options\n\n\nThe newtmgr framework currently supports BLE and serial transport protocols. \nTo configure the transport protocols that are supported, modify the \npkg.yml\n \nand \nsyscfg.yml\n files as follows:\n\n\n\n\nAdd the \nmgmt/newtmgr/transport/ble\n package to \npkg.deps\n parameter to enable BLE transport.\n\n\nAdd the \nmgmt/newtmgr/transport/nmgr_shell\n package to \nthe \npkg.deps\n parameter, and add \nSHELL_TASK: 1\n to the \nsyscfg.vals\n parameter to enable serial transport.\n\n\nAdd the \nmgmt/newtmgr/transport/nmgr_uart\n package, and add \nSHELL_TASK: 1\n to enable serial communication over a UARTport.\n\n\n\n\n\n\nOicmgr Framework Options\n\n\nTo use the oicmgr framework instead of the newtmgr framework, modify the \npkg.yml\n and \nsyscfg.yml\n files \nas follows:\n\n\n\n\nAdd the \nmgmt/oicmgr\n package (instead of the \nmgmt/newtmgr\n and \nmgmt/newtmgr/transport\n packages \nas described previously) to the \npkg.de
ps\n parameter.\n\n\nAdd \nOC_SERVER: 1\n to the \nsyscfg.vals\n parameter.\n\n\n\n\nOicmgr supports the IP, serial, and BLE transport protocols. To configure the transport protocols that are supported, \nset the configuration setting values in the \nsyscfg.vals\n parameter as follows:\n\n\n\n\nAdd \nOC_TRANSPORT_IP: 1\n to enable IP transport. \n\n\nAdd \nOC_TRANSPORT_GATT: 1\n to enable BLE transport.\n\n\nAdd \nOC_TRANSPORT_SERIAL: 1\n and \nSHELL_TASK: 1\n to enable serial transport.\n\n\n\n\n\n\nCustomize the Newt Manager Commands that Your Application Supports\n\n\nWe recommend that you only enable support for the Newt Manager commands that your application uses \nto reduce your application code size. To configure the commands that are supported, set the configuration \nsetting values in the \nsyscfg.vals\n parameter as follows:\n\n\n\n\nAdd \nLOG_NEWTMGR: 1\n to enable support for the \nnewtmgr log\n command.\n\n\nAdd \nSTATS_NEWTMGR: 1\n to enable support for the \nnewtmg
r stat\n command.\n\n\nAdd \nCONFIG_NEWTMGR: 1\n to enable support for the \nnewtmgr config\n command.\n\n\nAdd \nCRASH_TEST_NEWTMGR: 1\n to enable support for the \nnewtmgr crash\n command.\n\n\nAdd \nRUNTEST_NEWTMGR: 1\n to enable support for the \nnewtmgr crash\n command.\n\n\n\n\nNotes: \n\n\n\n\nWhen you enable Newt Manager support, using either the newtmgr or oicmgr framework, your application automatically \nsupports the Newt Manager \necho\n, \ntaskstats\n, \nmpstats\n, \ndatetime\n, and \nreset\n commands. These \ncommands cannot be configured individually.\n\n\nThe \nmgmt/imgmgr\n package does not provide a configuration setting to enable or disable support \nfor the \nnewtmgr image\n command. Do not specify the package in the \npkg.deps\n parameter if \nyour device has limited flash memory and cannot support Over-The-Air (OTA) firmware upgrades.",
"title": "Enable Newt Manager in any app"
},
{
@@ -1512,7 +1512,7 @@
},
{
"location": "/os/tutorials/add_newtmgr/#modify-package-dependencies-and-configurations",
- "text": "Add the following packages to the pkg.deps parameter in your target or application pkg.yml file: pkg.deps:\n - mgmt/newtmgr\n - mgmt/newtmgr/transport/nmgr_shell\n - mgmt/imgmgr\n - sys/log/full\n - sys/stats/full\n - sys/config\n - test/crash_test\n - test/runtest Each package provides the following Newt Manager functionality: mgmt/newtmgr : Supports the newtmgr framework and the \nNewt Manager echo , taskstats mpstats , datetime , and reset commands. mgmt/newtmgr/transport/nmgr_shell : Supports serial transport. mgmt/imgmgr : Supports the newtmgr image command sys/log/full : Supports the newtmgr log command. sys/stats/full : Supports the newtmgr stat command. sys/config : Supports the newtmgr config command. test/crash_test : Supports the newtmgr crash command. test/runtest : Supports the newt run command. Add the following configuration setting values to the syscfg.vals parameter in the target
or \napplication syscfg.yml file: syscfg.vals:\n LOG_NEWTMGR: 1\n STATS_NEWTMGR: 1\n CONFIG_NEWTMGR: 1\n CRASH_TEST_NEWTMGR: 1\n RUNTEST_NEWTMGR: 1\n SHELL_TASK: 1 The first five configuration settings enable support for the Newt Manager log , stats , config , crash , \nand run commands. The SHELL_TASK setting enables the shell for serial transport. Note that you may need to override additional configuration settings that are specific to each package to customize the \npackage functionality.",
+ "text": "Add the following packages to the pkg.deps parameter in your target or application pkg.yml file: pkg.deps:\n - mgmt/newtmgr\n - mgmt/newtmgr/transport/nmgr_shell\n - mgmt/imgmgr\n - sys/log/full\n - sys/stats/full\n - sys/config\n - test/crash_test\n - test/runtest Each package provides the following Newt Manager functionality: mgmt/newtmgr : Supports the newtmgr framework and the \nNewt Manager echo , taskstats mpstats , datetime , and reset commands. mgmt/newtmgr/transport/nmgr_shell : Supports serial transport. mgmt/imgmgr : Supports the newtmgr image command sys/log/full : Supports the newtmgr log command. sys/stats/full : Supports the newtmgr stat command. sys/config : Supports the newtmgr config command. test/crash_test : Supports the newtmgr crash command. test/runtest : Supports the newt run command. Add the following configuration setting values to the syscfg.vals parameter in the target
or \napplication syscfg.yml file: syscfg.vals:\n LOG_NEWTMGR: 1\n STATS_NEWTMGR: 1\n CONFIG_NEWTMGR: 1\n CRASH_TEST_NEWTMGR: 1\n RUNTEST_NEWTMGR: 1\n SHELL_TASK: 1 The first five configuration settings enable support for the Newt Manager log , stat , config , crash , \nand run commands. The SHELL_TASK setting enables the shell for serial transport. Note that you may need to override additional configuration settings that are specific to each package to customize the \npackage functionality.",
"title": "Modify Package Dependencies and Configurations"
},
{
@@ -1552,7 +1552,7 @@
},
{
"location": "/os/tutorials/add_newtmgr/#newtmgr-framework-transport-protocol-options",
- "text": "The newtmgr framework currently supports BLE and serial transport protocols. \nTo configure the transport protocols that are supported, modify the pkg.yml \nand syscfg.yml files as follows: Add the mgmt/newtmgr/transport/ble package to pkg.deps parameter to enable BLE transport. Add the mgmt/newtmgr/transport/nmgr_shell package to \nthe pkg.deps parameter, and add SHELL_TASK: 1 to the syscfg.vals parameter to enable serial transport.",
+ "text": "The newtmgr framework currently supports BLE and serial transport protocols. \nTo configure the transport protocols that are supported, modify the pkg.yml \nand syscfg.yml files as follows: Add the mgmt/newtmgr/transport/ble package to pkg.deps parameter to enable BLE transport. Add the mgmt/newtmgr/transport/nmgr_shell package to \nthe pkg.deps parameter, and add SHELL_TASK: 1 to the syscfg.vals parameter to enable serial transport. Add the mgmt/newtmgr/transport/nmgr_uart package, and add SHELL_TASK: 1 to enable serial communication over a UARTport.",
"title": "Newtmgr Framework Transport Protocol Options"
},
{
@@ -8197,7 +8197,7 @@
},
{
"location": "/network/ble/nimble_setup/",
- "text": "Set up a NimBLE application\n\n\nThis tutorial explains how to set up an application using the NimBLE stack. The end result will be a framework that you can use to create your own BLE application using the nimble stack.\n\n\nThis tutorial assumes that you have already installed the newt tool and are familiar with its concepts.\n\n\nCreate the application directory\n\n\nYou start by creating a project space for your own application work using the Newt tool (\nmy_proj1\n in this example) and installing all the additional apps and libraries available by adding the repo \napache-mynewt-core\n. See the tutorial on \nadding a repo\n for more on working with repos.\n\n\n~/dev$ newt new my_proj1\nDownloading project skeleton from apache/incubator-mynewt-blinky...\nInstalling skeleton in my_proj1...\nProject my_proj1 successfully created.\n~/dev$ tree my_proj1\nmy_proj1\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2
500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.yml\n\u2514\u2500\u2500 targets\n \u251c\u2500\u2500 my_blinky_sim\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 target.yml\n \u2514\u2500\u2500 unittest\n \u251c\u2500\u2500 pkg.yml\n \u2514\u2500\u2500 target.yml\n\n6 directories, 11 files\n\n~/dev$ cd my_proj1\n~/dev/my_proj1$ newt install\napache-mynewt-core\n~/dev/my_proj1$ tree\n.\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500
\u2500 main.c\n\u251c\u2500\u2500 project.state\n\u251c\u2500\u2500 project.yml\n\u251c\u2500\u2500 repos\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 apache-mynewt-core\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 DISCLAIMER\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 LICENSE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 NOTICE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 README.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 RELEASE_NOTES.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 gatt_svr.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletest\n\u2502\u
00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny_priv.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 cmd.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 parse.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 periph.c\n\nsnip\n\n\n232 directori
es, 846 files\n\n\n\n\n\n\n\nIt's time to build your own app using one or more of the example apps available in the repo \napache-mynewt-core\n. \n\n\n~/dev/my_proj1$ ls repos/apache-mynewt-core/apps\nbleprph bletiny boot luatest test\nbletest blinky ffs2native slinky\n\n\n\n\n\n\n\nAt the very least your app must contain a \nmain()\n function and a \npkg.yml\n file. Use the following steps to create minimal ...\n\n\n1. Create the app directory structure.\n\n\n~/dev/my_proj1$ mkdir -p apps/ble_app/src\n\n\n\n\n\n\n\n2. Paste the following contents into \napps/ble_app/pkg.yml\n.\n\n\npkg.name: apps/ble_app\npkg.type: app\n\npkg.deps:\n - \n@apache-mynewt-core/libs/baselibc\n\n - \n@apache-mynewt-core/libs/console/full\n\n - \n@apache-mynewt-core/libs/os\n\n - \n@apache-mynewt-core/net/nimble/controller\n\n - \n@apache-mynewt-core/net/nimble/host\n\n\n\n\n\n\n\n\n3. Paste the following contents into \napps/ble_app/src/main.c\n.\n\n\n#includ
e \nassert.h\n\n\n#include \nos/os.h\n\n\n\nint\n\n\nmain\n(\nvoid\n)\n{\n \n/* Initialize OS */\n\n \nos_init\n();\n\n \n/* Start the OS */\n\n \nos_start\n();\n\n \n/* os_start should never return. If it does, this should be an error */\n\n \nassert\n(\n0\n);\n}\n\n\n\n\n\nIn this \nmain()\n all we are doing is initializing the Mynewt OS and starting it.\n\n\n\n\nCreate the target\n\n\nNow you have to create the target that you will use to build your application. We will call this target \"ble_tgt\". Type the \nnewt target create ble_tgt\n command. You should get this:\n\n\n~/dev/my_proj1$ newt target create ble_tgt\nTarget targets/ble_tgt successfully created\n\n\n\n\n\nWhat this command just did was to create a directory called \nble_tgt\n in the targets directory of your project. Two files are created in that directory: pkg.yml and target.yml.\n\n\nThe target is not yet complete though! We need to set some target variables for this project. Currently, the nimb
le stack has been ported to the Nordic nrf5x chipsets; specifically the nrf51 and nrf52. This application will use the nrf52 but we will also show the setup for the nrf51 in case your project uses that chip.\n\n\nHere is the command you will need to set up your target for the nrf52:\n\n\n~/dev/my_proj1$ newt target set ble_tgt \\\n app=apps/ble_app \\\n bsp=@apache-mynewt-core/hw/bsp/nrf52pdk \\\n build_profile=optimized\nTarget targets/ble_tgt successfully set target.app to apps/ble_app\nTarget targets/ble_tgt successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf52pdk\nTarget targets/ble_tgt successfully set target.build_profile to optimized\n\n\n\n\n\nHere is the command you will need to set up your target for the nrf51:\n\n\n~/dev/my_proj1$ newt target set ble_tgt \\\n app=apps/ble_app \\\n bsp=@apache-mynewt-core/hw/bsp/nrf51dk \\\n build_profile=optimized\nTarget targets/ble_tgt successfully set ta
rget.app to apps/ble_app\nTarget targets/ble_tgt successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf51dk\nTarget targets/ble_tgt successfully set target.build_profile to optimized\n\n\n\n\n\n\n\nNimble stack initialization\n\n\nThere are certain stack initialization steps that are required for a BLE application to be up and running. If you are running a canned example (e.g. bletiny), these steps are already done for you. When you are writing your own app, you may want to assign different initial values or initialize additional packages that you may have added to your project or written yourself. \n\n\nDetails of the initialization step requirements are covered in \nInitialize Stack\n step.\n\n\n\n\nBuilding the application\n\n\nNow that we have created the application and the target we can build it and test it out. The command you need to run is the \nnewt build\n command with the target we created (\nble_tgt\n). The output will show the files being compiled and linked. Yo
u should see this when all is done (except for the \n...\n of course):\n\n\n~/dev/my_proj1$ newt build ble_tgt\n...\nArchiving os.a\nCompiling cons_fmt.c\nCompiling cons_tty.c\nArchiving full.a\nLinking ble_app.elf\nApp successfully built: /Users/wes/dev/my_proj1/bin/ble_tgt/apps/ble_app/ble_app.elf\n\n\n\n\n\nConclusion\n\n\nYou now have a fully functional BLE app (never mind the fact that it doesn't\nactually do anything yet!). With all the necessary infrastructure in place,\nyou can now start turning this into a real application. Additional tutorials\nwith focus on adding application-layer functionality to your Nimble application\nwill be coming soon. In the meantime, you might get some inspiration from\napache-mynewt-core's example Nimble apps. These apps can be found at the below locations, relative to your project's base directory:\n\n\n\n\nrepos/apache-mynewt-core/apps/bleprph\n\n\nrepos/apache-mynewt-core/apps/bletiny",
+ "text": "Set up a NimBLE application\n\n\nThis tutorial explains how to set up an application using the NimBLE stack. The end result will be a framework that you can use to create your own BLE application using the nimble stack.\n\n\nThis tutorial assumes that you have already installed the newt tool and are familiar with its concepts.\n\n\nCreate the application directory\n\n\nYou start by creating a project space for your own application work using the Newt tool (\nmy_proj1\n in this example) and installing all the additional apps and libraries available by adding the repo \napache-mynewt-core\n. See the tutorial on \nadding a repo\n for more on working with repos.\n\n\n~/dev$ newt new my_proj1\nDownloading project skeleton from apache/incubator-mynewt-blinky...\nInstalling skeleton in my_proj1...\nProject my_proj1 successfully created.\n~/dev$ tree my_proj1\nmy_proj1\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2
500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.yml\n\u2514\u2500\u2500 targets\n \u251c\u2500\u2500 my_blinky_sim\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 target.yml\n \u2514\u2500\u2500 unittest\n \u251c\u2500\u2500 pkg.yml\n \u2514\u2500\u2500 target.yml\n\n6 directories, 11 files\n\n~/dev$ cd my_proj1\n~/dev/my_proj1$ newt install\napache-mynewt-core\n~/dev/my_proj1$ tree\n.\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500
\u2500 main.c\n\u251c\u2500\u2500 project.state\n\u251c\u2500\u2500 project.yml\n\u251c\u2500\u2500 repos\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 apache-mynewt-core\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 DISCLAIMER\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 LICENSE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 NOTICE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 README.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 RELEASE_NOTES.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 gatt_svr.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletest\n\u2502\u
00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny_priv.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 cmd.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 parse.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 periph.c\n\nsnip\n\n\n232 directori
es, 846 files\n\n\n\n\n\n\n\nIt's time to build your own app using one or more of the example apps available in the repo \napache-mynewt-core\n. \n\n\n~/dev/my_proj1$ ls repos/apache-mynewt-core/apps\nbleprph bletiny boot luatest test\nbletest blinky ffs2native slinky\n\n\n\n\n\n\n\nAt the very least your app must contain a \nmain()\n function and a \npkg.yml\n file. Use the following steps to create minimal ...\n\n\n1. Create the app directory structure.\n\n\n~/dev/my_proj1$ mkdir -p apps/ble_app/src\n\n\n\n\n\n\n\n2. Paste the following contents into \napps/ble_app/pkg.yml\n.\n\n\npkg.name: apps/ble_app\npkg.type: app\n\npkg.deps:\n - \n@apache-mynewt-core/kernel/os\n\n - \n@apache-mynewt-core/hw/hal\n\n - \n@apache-mynewt-core/sys/console/full\n\n - \n@apache-mynewt-core/sys/log/full\n\n - \n@apache-mynewt-core/sys/stats/full\n\n - \n@apache-mynewt-core/net/nimble/transport/ram\n\n - \n@apache-mynewt-core/net/nimble/controller\n\
n - \n@apache-mynewt-core/net/nimble/host\n\n\n\n\n\n\n\n\n3. Paste the following contents into \napps/ble_app/src/main.c\n.\n\n\n#include \nassert.h\n\n\n#include \nos/os.h\n\n\n\nint\n\n\nmain\n(\nvoid\n)\n{\n \n/* Initialize OS */\n\n \nos_init\n(\nNULL\n);\n\n \n/* Start the OS */\n\n \nos_start\n();\n\n \n/* os_start should never return. If it does, this should be an error */\n\n \nassert\n(\n0\n);\n}\n\n\n\n\n\nIn this \nmain()\n all we are doing is initializing the Mynewt OS and starting it.\n\n\n\n\nCreate the target\n\n\nNow you have to create the target that you will use to build your application. We will call this target \"ble_tgt\". Type the \nnewt target create ble_tgt\n command. You should get this:\n\n\n~/dev/my_proj1$ newt target create ble_tgt\nTarget targets/ble_tgt successfully created\n\n\n\n\n\nWhat this command just did was to create a directory called \nble_tgt\n in the targets directory of your project. Two files are created in that direc
tory: pkg.yml and target.yml.\n\n\nThe target is not yet complete though! We need to set some target variables for this project. Currently, the nimble stack has been ported to the Nordic nrf5x chipsets; specifically the nrf51 and nrf52. This application will use the nrf52 but we will also show the setup for the nrf51 in case your project uses that chip.\n\n\nHere is the command you will need to set up your target for the nrf52:\n\n\n~/dev/my_proj1$ newt target set ble_tgt \\\n app=apps/ble_app \\\n bsp=@apache-mynewt-core/hw/bsp/nrf52pdk \\\n build_profile=optimized\nTarget targets/ble_tgt successfully set target.app to apps/ble_app\nTarget targets/ble_tgt successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf52pdk\nTarget targets/ble_tgt successfully set target.build_profile to optimized\n\n\n\n\n\nHere is the command you will need to set up your target for the nrf51:\n\n\n~/dev/my_proj1$ newt target set ble_tgt \\\n app=apps/ble_ap
p \\\n bsp=@apache-mynewt-core/hw/bsp/nrf51dk \\\n build_profile=optimized\nTarget targets/ble_tgt successfully set target.app to apps/ble_app\nTarget targets/ble_tgt successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf51dk\nTarget targets/ble_tgt successfully set target.build_profile to optimized\n\n\n\n\n\n\n\nNimble stack initialization\n\n\nThere are certain stack initialization steps that are required for a BLE application to be up and running. If you are running a canned example (e.g. bletiny), these steps are already done for you. When you are writing your own app, you may want to assign different initial values or initialize additional packages that you may have added to your project or written yourself. \n\n\nDetails of the initialization step requirements are covered in \nInitialize Stack\n step.\n\n\n\n\nBuilding the application\n\n\nNow that we have created the application and the target we can build it and test it out. The command
you need to run is the \nnewt build\n command with the target we created (\nble_tgt\n). The output will show the files being compiled and linked. You should see this when all is done (except for the \n...\n of course):\n\n\n~/dev/my_proj1$ newt build ble_tgt\n...\nArchiving os.a\nCompiling cons_fmt.c\nCompiling cons_tty.c\nArchiving full.a\nLinking ble_app.elf\nApp successfully built: /Users/wes/dev/my_proj1/bin/ble_tgt/apps/ble_app/ble_app.elf\n\n\n\n\n\nConclusion\n\n\nYou now have a fully functional BLE app (never mind the fact that it doesn't\nactually do anything yet!). With all the necessary infrastructure in place,\nyou can now start turning this into a real application. Additional tutorials\nwith focus on adding application-layer functionality to your Nimble application\nwill be coming soon. In the meantime, you might get some inspiration from\napache-mynewt-core's example Nimble apps. These apps can be found at the below locations, relative to your project's base direct
ory:\n\n\n\n\nrepos/apache-mynewt-core/apps/bleprph\n\n\nrepos/apache-mynewt-core/apps/bletiny",
"title": "Set up application"
},
{
@@ -8207,7 +8207,7 @@
},
{
"location": "/network/ble/nimble_setup/#create-the-application-directory",
- "text": "You start by creating a project space for your own application work using the Newt tool ( my_proj1 in this example) and installing all the additional apps and libraries available by adding the repo apache-mynewt-core . See the tutorial on adding a repo for more on working with repos. ~/dev$ newt new my_proj1\nDownloading project skeleton from apache/incubator-mynewt-blinky...\nInstalling skeleton in my_proj1...\nProject my_proj1 successfully created.\n~/dev$ tree my_proj1\nmy_proj1\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.yml\n\u2514\u2500\u2500 targets\n \u251c\u2500\u2500 my_blinky_sim\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.
yml\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 target.yml\n \u2514\u2500\u2500 unittest\n \u251c\u2500\u2500 pkg.yml\n \u2514\u2500\u2500 target.yml\n\n6 directories, 11 files\n\n~/dev$ cd my_proj1\n~/dev/my_proj1$ newt install\napache-mynewt-core\n~/dev/my_proj1$ tree\n.\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.state\n\u251c\u2500\u2500 project.yml\n\u251c\u2500\u2500 repos\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 apache-mynewt-core\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 DISCLAIMER\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 LICENSE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 NOTICE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 README.md\n\u2502\u0
0a0\u00a0 \u251c\u2500\u2500 RELEASE_NOTES.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 gatt_svr.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletest\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0
\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny_priv.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 cmd.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 parse.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 periph.c snip \n\n232 directories, 846 files It's time to build your own app using one or more of the example apps available in the repo apache-mynewt-core . ~/dev/my_proj1$ ls repos/apache-mynewt-core/apps\nbleprph bletiny boot luatest test\nbletest blinky ffs2native slinky At the very least your app must contain a main() function and a pkg.yml file. Use the following step
s to create minimal ... 1. Create the app directory structure. ~/dev/my_proj1$ mkdir -p apps/ble_app/src 2. Paste the following contents into apps/ble_app/pkg.yml . pkg.name: apps/ble_app\npkg.type: app\n\npkg.deps:\n - @apache-mynewt-core/libs/baselibc \n - @apache-mynewt-core/libs/console/full \n - @apache-mynewt-core/libs/os \n - @apache-mynewt-core/net/nimble/controller \n - @apache-mynewt-core/net/nimble/host 3. Paste the following contents into apps/ble_app/src/main.c . #include assert.h #include os/os.h int main ( void )\n{\n /* Initialize OS */ \n os_init ();\n\n /* Start the OS */ \n os_start ();\n\n /* os_start should never return. If it does, this should be an error */ \n assert ( 0 );\n} In this main() all we are doing is initializing the Mynewt OS and starting it.",
+ "text": "You start by creating a project space for your own application work using the Newt tool ( my_proj1 in this example) and installing all the additional apps and libraries available by adding the repo apache-mynewt-core . See the tutorial on adding a repo for more on working with repos. ~/dev$ newt new my_proj1\nDownloading project skeleton from apache/incubator-mynewt-blinky...\nInstalling skeleton in my_proj1...\nProject my_proj1 successfully created.\n~/dev$ tree my_proj1\nmy_proj1\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.yml\n\u2514\u2500\u2500 targets\n \u251c\u2500\u2500 my_blinky_sim\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.
yml\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 target.yml\n \u2514\u2500\u2500 unittest\n \u251c\u2500\u2500 pkg.yml\n \u2514\u2500\u2500 target.yml\n\n6 directories, 11 files\n\n~/dev$ cd my_proj1\n~/dev/my_proj1$ newt install\napache-mynewt-core\n~/dev/my_proj1$ tree\n.\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.state\n\u251c\u2500\u2500 project.yml\n\u251c\u2500\u2500 repos\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 apache-mynewt-core\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 DISCLAIMER\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 LICENSE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 NOTICE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 README.md\n\u2502\u0
0a0\u00a0 \u251c\u2500\u2500 RELEASE_NOTES.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 gatt_svr.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletest\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0
\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny_priv.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 cmd.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 parse.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 periph.c snip \n\n232 directories, 846 files It's time to build your own app using one or more of the example apps available in the repo apache-mynewt-core . ~/dev/my_proj1$ ls repos/apache-mynewt-core/apps\nbleprph bletiny boot luatest test\nbletest blinky ffs2native slinky At the very least your app must contain a main() function and a pkg.yml file. Use the following step
s to create minimal ... 1. Create the app directory structure. ~/dev/my_proj1$ mkdir -p apps/ble_app/src 2. Paste the following contents into apps/ble_app/pkg.yml . pkg.name: apps/ble_app\npkg.type: app\n\npkg.deps:\n - @apache-mynewt-core/kernel/os \n - @apache-mynewt-core/hw/hal \n - @apache-mynewt-core/sys/console/full \n - @apache-mynewt-core/sys/log/full \n - @apache-mynewt-core/sys/stats/full \n - @apache-mynewt-core/net/nimble/transport/ram \n - @apache-mynewt-core/net/nimble/controller \n - @apache-mynewt-core/net/nimble/host 3. Paste the following contents into apps/ble_app/src/main.c . #include assert.h #include os/os.h int main ( void )\n{\n /* Initialize OS */ \n os_init ( NULL );\n\n /* Start the OS */ \n os_start ();\n\n /* os_start should never return. If it does, this should be an error */ \n assert ( 0 );\n} In this main() all we are doing is initializing the Mynewt OS and starting it.",
"title": "Create the application directory"
},
{
@@ -10827,7 +10827,7 @@
},
{
"location": "/newt/command_list/newt_sync/",
- "text": "newt sync \n\n\nSynchronize and refresh the contents of the local copy of all the repositories used in the project with the latest updates maintained in the remote repositories. \n\n\nUsage:\n\n\n newt sync [flags]\n\n\n\n\n\nFlags:\n\n\n -f, --force Force overwrite of existing remote repository\n\n#### Global Flags:\n```no-highlight\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default \nWARN\n)\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don\nt output anything\n -v, --verbose Enable verbose output when executing commands\n\n\n\n\n\nDescription\n\n\nSynchronize project dependencies and repositories. Prior to 1.0.0 release, the command deletes and resynchronizes each repository. Post 1.0.0, it will ab
ort the synchronization if there are any local changes to any repository. Using the -f to force overwrite of existing repository will stash and save the changes while pulling in all the latest changes from the remote repository.",
+ "text": "newt sync \n\n\nSynchronize and refresh the contents of the local copy of all the repositories used in the project with the latest updates maintained in the remote repositories. \n\n\nUsage:\n\n\n newt sync [flags]\n\n\n\n\n\nFlags:\n\n\n -f, --force Force overwrite of existing remote repository\n\n\n\n\n\nGlobal Flags:\n\n\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default \nWARN\n)\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don\nt output anything\n -v, --verbose Enable verbose output when executing commands\n\n\n\n\n\nDescription\n\n\nSynchronize project dependencies and repositories. Prior to 1.0.0 release, the command deletes and resynchronizes each repository. Post 1.0.0, it will abort the sy
nchronization if there are any local changes to any repository. Using the -f to force overwrite of existing repository will stash and save the changes while pulling in all the latest changes from the remote repository.",
"title": "newt sync"
},
{
@@ -10842,10 +10842,15 @@
},
{
"location": "/newt/command_list/newt_sync/#flags",
- "text": "-f, --force Force overwrite of existing remote repository\n\n#### Global Flags:\n```no-highlight\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default WARN )\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don t output anything\n -v, --verbose Enable verbose output when executing commands",
+ "text": "-f, --force Force overwrite of existing remote repository",
"title": "Flags:"
},
{
+ "location": "/newt/command_list/newt_sync/#global-flags",
+ "text": "-h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default WARN )\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don t output anything\n -v, --verbose Enable verbose output when executing commands",
+ "title": "Global Flags:"
+ },
+ {
"location": "/newt/command_list/newt_sync/#description",
"text": "Synchronize project dependencies and repositories. Prior to 1.0.0 release, the command deletes and resynchronizes each repository. Post 1.0.0, it will abort the synchronization if there are any local changes to any repository. Using the -f to force overwrite of existing repository will stash and save the changes while pulling in all the latest changes from the remote repository.",
"title": "Description"
@@ -11012,95 +11017,415 @@
},
{
"location": "/newtmgr/overview/",
- "text": "Newt Manager\n\n\nNewt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote instances of Mynewt OS. \n\n\nDescription\n\n\nCommand List\n\n\nAvailable high-level commands\n\n\n help Lists commands and flags available \n conn Manage newtmgr connection profiles\n echo Send data to remote endpoint using newtmgr, and receive data back\n image Manage images on remote instance\n stat Read statistics from a remote endpoint\n taskstats Read statistics from a remote endpoint\n mpstats Read statistics from a remote endpoint\n config Read or write config value on target\n\n\n\n\n\nAvailable Flags\n\n\n -c, --connection string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nnewtmgr -caditi03 taskstats\n\n\n\n\n\n\n\n\n
\n\n\n\nhelp\n\n\nUsage:\n\n\n newtmgr help [input1]\n\n\n\n\n\nYou can also use \"newtmgr [command] --help\" to display the help text for a newtmgr command.\n\n\nFlags:\n\n\n -c, --connection string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nAvailable Flags\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ntaskstats\n\n\nnewtmgr -cprofile1 taskstats\n\n\nRun the taskstats subcommand on the device connected via the 'profile1' connection\n\n\n\n\n\n\n\n\nconn\n\n\nUsage:\n\n\n newtmgr conn [flags]\n newtmgr conn [command]\n\n\n\n\n\nAvailable commands: \n\n\n add Add a newtmgr connection profile\n delete Delete a newtmgr connection profile\n show Show newtmgr connection profiles\n\n\n\n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-
command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nadd\n\n\nAdds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication.\n\n\n\n\n\n\ndelete\n\n\nDeletes a connection profile associated with the given name\n\n\n\n\n\n\nshow\n\n\nList the specified or all the connection profiles with the name, connection type, and the controlling terminal or port.\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nadd\n\n\nnewtmgr conn add myserial02 type=serial connstring=/dev/ttys002\n\n\nAdds a newtmgr connection profile for the serial port /dev/ttys002 and names it 'myserial02'\n\n\n\n\n\n\ndelete\n\n\nnewtmgr conn delete myserial02\n\n\nDeletes the connection profile named 'myserial02'\n\n\n\n\n\n\nshow\n\n\nnewtmgr conn show myserial01\n\n\nShows the details of the profile named 'myserial01'\n\n\n\n\n\n\nshow\n\n\nnewtmgr conn show\n\n\nShows all the current p
rofiles defined\n\n\n\n\n\n\n\n\necho\n\n\nUsage:\n\n\n newtmgr echo [flags] [text]\n\n\n\n\n\nThis command sends the text to the remote device at the other end of the connection specified with the -c flag and outputs the text when it gets a response from the device. If the device is not responding or if the connection profile is invalid it displays errors. \n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\necho\n\n\nnewtmgr echo -c profile01 hello\n\n\nSends the string 'hello' to the remote device over the connection profile 'profile01' and receives the string back and displays it.\n\n\n\n\n\n\n\n\nimage\n\n\nUsage:\n\n\n newtmgr image [flags]\n newtmgr image [command]\n\n\n\n\n\nAvailable commands: \n\n\n list Show target images\n upload Upload image to target\n boot Whi
ch image to boot\n fileupload Upload file to target\n filedownload Download file from target\n\n\n\n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nlist\n\n\nAdds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication.\n\n\n\n\n\n\nupload\n\n\nDeletes a connection profile associated with the given name\n\n\n\n\n\n\nboot\n\n\nSpecify the image to boot\n\n\n\n\n\n\nfileupload\n\n\nupload file to the remote target\n\n\n\n\n\n\nfiledownload\n\n\ndownload/retrieve file from remote target\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nlist\n\n\nnewtmgr list\n\n\n\n\n\n\n\n\nupload\n\n\nnewtmgr upload\n\n\n\n\n\n\n\n\nboot\n\n\nnewtmgr boot\n\n\n\n\n\n\n\n\nfileupload\n\
n\nnewtmgr fileupload\n\n\n\n\n\n\n\n\nfiledownload\n\n\nnewtmgr filedownload\n\n\n\n\n\n\n\n\n\n\nstat\n\n\nUsage:\n\n\n newtmgr stat [flags]\n newtmgr stat [command]\n\n\n\n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nstat\n\n\nnewtmgr stat\n\n\n\n\n\n\n\n\n\n\ntaskstats\n\n\nUsage:\n\n\n newtmgr taskstats [flags]\n newtmgr taskstats [command]\n\n\n\n\n\nLists all the tasks running on the remote endpoint at the end of the specified connection and for each task lists statistics such as priority, task id, runtime (how long the task has been running in ms), context switch count, stack size allocated, actual stack usage, last sanity checkin, next sanity check-in. \n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\
nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nstat\n\n\nnewtmgr taskstats -c profile01\n\n\nLists all the tasks running on the remote device at the end of connection named 'profile01'\n\n\n\n\n\n\n\n\nExample output\n\n\n$ newtmgr -c profile01 taskstats\nReturn Code = 0\n idle (prio=255 tid=0 runtime=3299340 cswcnt=280342 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n os_sanity (prio=254 tid=1 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n shell (prio=3 tid=2 runtime=0 cswcnt=165 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n uart_poller (prio=0 tid=3 runtime=0 cswcnt=279368 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n newtmgr (prio=4 tid=4 runtime=0 cswcnt=14 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n task1 (prio=1 tid=5 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n task2 (prio=2 tid=6 runtime=0 cswcnt=328
7 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)",
+ "text": "Newt Manager\n\n\nNewt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS. It uses a connection profile to establish a connection with a device and sends command requests to the device. The tool follows the same command structure as the \nnewt tool\n. \n\n\nAvailable high-level commands\n\n\nThe following are the high-level newtmgr commands. Some of these commands have subcommands. You can use the -h flag to get help for each command. See the documentation for each command in this guide if you need more information and examples.\n\n\nAvailable Commands:\n\n config Read or write a config value on a device\n conn Manage newtmgr connection profiles\n crash Send a crash command to a device\n datetime Manage datetime on a device\n echo Send data to a device and display the echoed back data\n fs Access files on a device\n image Manage image
s on a device\n log Manage logs on a device\n mpstats Read memory pool statistics from a device\n reset Send reset request to a device\n run Run test procedures on a device\n stat Read statistics from a device\n taskstats Read task statistics from a device\n\nFlags:\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received",
"title": "toc"
},
{
"location": "/newtmgr/overview/#newt-manager",
- "text": "Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote instances of Mynewt OS.",
+ "text": "Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS. It uses a connection profile to establish a connection with a device and sends command requests to the device. The tool follows the same command structure as the newt tool .",
"title": "Newt Manager"
},
{
- "location": "/newtmgr/overview/#description",
- "text": "",
+ "location": "/newtmgr/overview/#available-high-level-commands",
+ "text": "The following are the high-level newtmgr commands. Some of these commands have subcommands. You can use the -h flag to get help for each command. See the documentation for each command in this guide if you need more information and examples. Available Commands:\n\n config Read or write a config value on a device\n conn Manage newtmgr connection profiles\n crash Send a crash command to a device\n datetime Manage datetime on a device\n echo Send data to a device and display the echoed back data\n fs Access files on a device\n image Manage images on a device\n log Manage logs on a device\n mpstats Read memory pool statistics from a device\n reset Send reset request to a device\n run Run test procedures on a device\n stat Read statistics from a device\n taskstats Read task statistics from a device\n\nFlags:\n -c, --conn string connection profile to use.\n -h, --help
Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Available high-level commands"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/",
+ "text": "newtmgr config \n\n\nRead and write config values on a device.\n\n\nUsage:\n\n\n newtmgr config \nvar-name\n [var-value] -c \nconn_profile\n [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nReads and sets the value for the \nvar-name\n config variable on a device. Specify a \nvar-value\n to set the value for the \nvar-name\n variable. Newtmgr uses the \nconn_profile\n connection profile to connect to the device.\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\n\n\nnewtmgr config myvar -c profile01\n\n\nReads the \nmyvar\n config variable value from a device. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.\
n\n\n\n\n\n\n\n\nnewtmgr config myvar 2 -c profile01\n\n\nSets the \nmyvar\n config variable to the value \n2\n on a device. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.",
+ "title": "newtmgr config"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/#newtmgr-config",
+ "text": "Read and write config values on a device.",
+ "title": "newtmgr config "
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/#usage",
+ "text": "newtmgr config var-name [var-value] -c conn_profile [flags]",
+ "title": "Usage:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/#global-flags",
+ "text": "-c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/#description",
+ "text": "Reads and sets the value for the var-name config variable on a device. Specify a var-value to set the value for the var-name variable. Newtmgr uses the conn_profile connection profile to connect to the device.",
"title": "Description"
},
{
- "location": "/newtmgr/overview/#command-list",
- "text": "",
- "title": "Command List"
+ "location": "/newtmgr/command_list/newtmgr_config/#examples",
+ "text": "Sub-command Usage Explanation newtmgr config myvar -c profile01 Reads the myvar config variable value from a device. Newtmgr connects to the device over a connection specified in the profile01 connection profile. newtmgr config myvar 2 -c profile01 Sets the myvar config variable to the value 2 on a device. Newtmgr connects to the device over a connection specified in the profile01 connection profile.",
+ "title": "Examples"
},
{
- "location": "/newtmgr/overview/#available-high-level-commands",
- "text": "help Lists commands and flags available \n conn Manage newtmgr connection profiles\n echo Send data to remote endpoint using newtmgr, and receive data back\n image Manage images on remote instance\n stat Read statistics from a remote endpoint\n taskstats Read statistics from a remote endpoint\n mpstats Read statistics from a remote endpoint\n config Read or write config value on target",
- "title": "Available high-level commands"
+ "location": "/newtmgr/command_list/newtmgr_conn/",
+ "text": "newtmgr conn \n\n\nManage newtmgr connection profiles.\n\n\nUsage:\n\n\n newtmgr conn [command] [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nThe conn command provides subcommands to add, delete, and view configuration profiles.\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nadd\n\n\nThe newtmgr conn add \n \n command creates a connection profile named \nconn_profile\n. A profile consists of these variables: \nname\n: Connection name. Defaults to \nconn_profile\n when the variable is not set in the command. \ntype\n: Connection type. Valid types are: \nserial\n, \noic_serial\n, \nble\n, \noic_ble\n, \nudp\n, \noic_udp\n.\nconnstring\n: The physical or virtual port to use for the
connection.\naddrtype\n: Device address type. Use with type \nble\n.\naddr\n: Device address. Use with type \nble\n.\n\n\n\n\n\n\ndelete\n\n\nThe newtmgr conn delete \nconn_profile\n command deletes the \nconn_profile\n connection profile.\n\n\n\n\n\n\nshow\n\n\nThe newtmgr conn show [conn_profile] command shows the information for the \nconn_profile\n connection profile. It shows information for all the connection profiles if \nconn_profile\n is not specified.\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nadd\n\n\nnewtmgr conn add myserial02 type=serial connstring=/dev/ttys002\n\n\nCreates a connection profile for the serial port /dev/ttys002 and names it \nmyserial02\n\n\n\n\n\n\ndelete\n\n\nnewtmgr conn delete myserial02\n\n\nDeletes the connection profile named \nmyserial02\n\n\n\n\n\n\nshow\n\n\nnewtmgr conn show myserial01\n\n\nDisplays the information for the \nmyserial01\n connection profile.\n\n\n\n\n\n\nshow\n\n\n
newtmgr conn show\n\n\nDisplays the information for all connection profiles.",
+ "title": "newtmgr conn"
},
{
- "location": "/newtmgr/overview/#available-flags",
- "text": "-c, --connection string connection profile to use.\n -l, --loglevel string log level to use (default WARN.) Examples Sub-command Usage Explanation newtmgr -caditi03 taskstats",
- "title": "Available Flags"
+ "location": "/newtmgr/command_list/newtmgr_conn/#newtmgr-conn",
+ "text": "Manage newtmgr connection profiles.",
+ "title": "newtmgr conn "
},
{
- "location": "/newtmgr/overview/#help",
- "text": "",
- "title": "help"
+ "location": "/newtmgr/command_list/newtmgr_conn/#usage",
+ "text": "newtmgr conn [command] [flags]",
+ "title": "Usage:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_conn/#global-flags",
+ "text": "-c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_conn/#description",
+ "text": "The conn command provides subcommands to add, delete, and view configuration profiles. Sub-command Explanation add The newtmgr conn add command creates a connection profile named conn_profile . A profile consists of these variables: name : Connection name. Defaults to conn_profile when the variable is not set in the command. type : Connection type. Valid types are: serial , oic_serial , ble , oic_ble , udp , oic_udp . connstring : The physical or virtual port to use for the connection. addrtype : Device address type. Use with type ble . addr : Device address. Use with type ble . delete The newtmgr conn delete conn_profile command deletes the conn_profile connection profile. show The newtmgr conn show [conn_profile] command shows the information for the conn_profile connection profile. It shows information for all the connection profiles if conn_profile is not specified.",
+ "title": "Description"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_conn/#examples",
+ "text": "Sub-command Usage Explanation add newtmgr conn add myserial02 type=serial connstring=/dev/ttys002 Creates a connection profile for the serial port /dev/ttys002 and names it myserial02 delete newtmgr conn delete myserial02 Deletes the connection profile named myserial02 show newtmgr conn show myserial01 Displays the information for the myserial01 connection profile. show newtmgr conn show Displays the information for all connection profiles.",
+ "title": "Examples"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_crash/",
+ "text": "newtmgr crash \n\n\nSend a crash command to a device.\n\n\nUsage:\n\n\n newtmgr crash \ndiv0|jump0|ref0|assert|wdog\n -c \nconn_profile\n; [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nSends a crash command to a device to run one of the following crash tests: \ndiv0\n, \njump0\n, \nref0\n, \nassert\n, \nwdog\n. Newtmgr uses the \nconn_profile\n connection profile to connect to the device.\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\n\n\nnewtmgr crash div0\n-c profile01\n\n\nSends a request to a device to execute a divide by 0 test. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.\n\n\n\n\n\n\n\n\nnewt
mgr crash ref0\n-c profile01\n\n\nSends a request to a device to execute a nil pointer reference test. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.",
+ "title": "newtmgr crash"
},
{
- "location": "/newtmgr/overview/#usage",
- "text": "newtmgr help [input1] You can also use \"newtmgr [command] --help\" to display the help text for a newtmgr command. Flags: -c, --connection string connection profile to use.\n -l, --loglevel string log level to use (default WARN.) Examples Sub-command Available Flags Explanation taskstats newtmgr -cprofile1 taskstats Run the taskstats subcommand on the device connected via the 'profile1' connection",
+ "location": "/newtmgr/command_list/newtmgr_crash/#newtmgr-crash",
+ "text": "Send a crash command to a device.",
+ "title": "newtmgr crash "
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_crash/#usage",
+ "text": "newtmgr crash div0|jump0|ref0|assert|wdog -c conn_profile ; [flags]",
"title": "Usage:"
},
{
- "location": "/newtmgr/overview/#conn",
- "text": "",
- "title": "conn"
+ "location": "/newtmgr/command_list/newtmgr_crash/#global-flags",
+ "text": "-c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_crash/#description",
+ "text": "Sends a crash command to a device to run one of the following crash tests: div0 , jump0 , ref0 , assert , wdog . Newtmgr uses the conn_profile connection profile to connect to the device.",
+ "title": "Description"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_crash/#examples",
+ "text": "Sub-command Usage Explanation newtmgr crash div0 -c profile01 Sends a request to a device to execute a divide by 0 test. Newtmgr connects to the device over a connection specified in the profile01 connection profile. newtmgr crash ref0 -c profile01 Sends a request to a device to execute a nil pointer reference test. Newtmgr connects to the device over a connection specified in the profile01 connection profile.",
+ "title": "Examples"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_datetime/",
+ "text": "newtmgr datetime \n\n\nManage datetime on a device.\n\n\nUsage:\n\n\n newtmgr datetime [datetime-value] -c \nconn_profile\n [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nReads or sets the datetime on a device. Specify a \ndatetime-value\n in the command to set the datetime on the device. Newtmgr uses the \nconn_profile\n connection profile to connect to the device.\n\n\nNote\n: You must specify the \ndatetime-value\n in the RFC 3339 format. \n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\n\n\nnewtmgr datetime\n-c profile01\n\n\nReads the datetime value from a device. Newtmgr connects to the device over a connection specified in the \nprofile01\n connect
ion profile.\n\n\n\n\n\n\n\n\nnewtmgr datetime 2017-03-01T22:44:00\n-c profile01\n\n\nSets the datetime on a device to March 1st 2017 22:44:00 UTC. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.\n\n\n\n\n\n\n\n\nnewtmgr datetime 2017-03-01T22:44:00-08:00\n-c profile01\n\n\nSets the datetime on a device to March 1st 2017 22:44:00 PST. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.",
+ "title": "newtmgr datetime"
},
{
- "location": "/newtmgr/overview/#usage_1",
- "text": "newtmgr conn [flags]\n newtmgr conn [command] Available commands: add Add a newtmgr connection profile\n delete Delete a newtmgr connection profile\n show Show newtmgr connection profiles Flags: -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.) Description Sub-command Explanation add Adds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication. delete Deletes a connection profile associated with the given name show List the specified or all the connection profiles with the name, connection type, and the controlling terminal or port. Examples Sub-command Usage Explanation add newtmgr conn add myserial02 type=serial connstring=/dev/ttys002 Adds a newtmgr connection profile for the serial port /dev/ttys002 and names it 'myserial02' delete
newtmgr conn delete myserial02 Deletes the connection profile named 'myserial02' show newtmgr conn show myserial01 Shows the details of the profile named 'myserial01' show newtmgr conn show Shows all the current profiles defined",
+ "location": "/newtmgr/command_list/newtmgr_datetime/#newtmgr-datetime",
+ "text": "Manage datetime on a device.",
+ "title": "newtmgr datetime "
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_datetime/#usage",
+ "text": "newtmgr datetime [datetime-value] -c conn_profile [flags]",
"title": "Usage:"
},
{
- "location": "/newtmgr/overview/#echo",
- "text": "",
- "title": "echo"
+ "location": "/newtmgr/command_list/newtmgr_datetime/#global-flags",
+ "text": "-c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_datetime/#description",
+ "text": "Reads or sets the datetime on a device. Specify a datetime-value in the command to set the datetime on the device. Newtmgr uses the conn_profile connection profile to connect to the device. Note : You must specify the datetime-value in the RFC 3339 format.",
+ "title": "Description"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_datetime/#examples",
+ "text": "Sub-command Usage Explanation newtmgr datetime -c profile01 Reads the datetime value from a device. Newtmgr connects to the device over a connection specified in the profile01 connection profile. newtmgr datetime 2017-03-01T22:44:00 -c profile01 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 profile01 connection profile. newtmgr datetime 2017-03-01T22:44:00-08:00 -c profile01 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 profile01 connection profile.",
+ "title": "Examples"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_echo/",
+ "text": "newtmgr echo \n\n\nSend data to a device and display the echoed back data.\n\n\nUsage:\n\n\n newtmgr echo \ntext\n -c \nconn_profile\n [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nSends the \ntext\n to a device and outputs the text response from the device. Newtmgr uses the \nconn_profile\n connection profile to connect to the device. \n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\n\n\nnewtmgr echo hello\n-c profile01\n\n\nSends the text 'hello' to a device and displays the echoed back data. Newtmgr connects to the device over a connection specified in the \nprofile01\n profile.",
+ "title": "newtmgr echo"
},
{
- "location": "/newtmgr/overview/#usage_2",
- "text": "newtmgr echo [flags] [text] This command sends the text to the remote device at the other end of the connection specified with the -c flag and outputs the text when it gets a response from the device. If the device is not responding or if the connection profile is invalid it displays errors. Flags: -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.) Examples Sub-command Usage Explanation echo newtmgr echo -c profile01 hello Sends the string 'hello' to the remote device over the connection profile 'profile01' and receives the string back and displays it.",
+ "location": "/newtmgr/command_list/newtmgr_echo/#newtmgr-echo",
+ "text": "Send data to a device and display the echoed back data.",
+ "title": "newtmgr echo "
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_echo/#usage",
+ "text": "newtmgr echo text -c conn_profile [flags]",
"title": "Usage:"
},
{
- "location": "/newtmgr/overview/#image",
- "text": "",
- "title": "image"
+ "location": "/newtmgr/command_list/newtmgr_echo/#global-flags",
+ "text": "-c, --conn string connection profile to use\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_echo/#description",
+ "text": "Sends the text to a device and outputs the text response from the device. Newtmgr uses the conn_profile connection profile to connect to the device.",
+ "title": "Description"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_echo/#examples",
+ "text": "Sub-command Usage Explanation newtmgr echo hello -c profile01 Sends the text 'hello' to a device and displays the echoed back data. Newtmgr connects to the device over a connection specified in the profile01 profile.",
+
<TRUNCATED>
[9/9] incubator-mynewt-site git commit: Added newtmgr command
descriptions. Fixed BLE app tutorial errors
Posted by ad...@apache.org.
Added newtmgr command descriptions. Fixed BLE app tutorial errors
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/377e7092
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/377e7092
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/377e7092
Branch: refs/heads/asf-site
Commit: 377e709292cb2096f2cd991cea22a4f6e06b2343
Parents: 86a2738
Author: aditihilbert <ad...@runtime.io>
Authored: Fri Mar 17 15:47:25 2017 -0700
Committer: aditihilbert <ad...@runtime.io>
Committed: Fri Mar 17 15:47:25 2017 -0700
----------------------------------------------------------------------
develop/mkdocs/search_index.json | 425 ++++++++++--
develop/network/ble/nimble_setup/index.html | 11 +-
develop/newt/command_list/newt_sync/index.html | 7 +-
.../command_list/newtmgr_config/index.html | 551 ++++++++++++++++
.../command_list/newtmgr_conn/index.html | 583 +++++++++++++++++
.../command_list/newtmgr_crash/index.html | 551 ++++++++++++++++
.../command_list/newtmgr_datetime/index.html | 557 ++++++++++++++++
.../command_list/newtmgr_echo/index.html | 546 ++++++++++++++++
.../newtmgr/command_list/newtmgr_fs/index.html | 569 ++++++++++++++++
.../command_list/newtmgr_image/index.html | 646 +++++++++++++++++++
.../command_list/newtmgr_logs/index.html | 596 +++++++++++++++++
.../command_list/newtmgr_mpstats/index.html | 573 ++++++++++++++++
.../command_list/newtmgr_reset/index.html | 546 ++++++++++++++++
.../newtmgr/command_list/newtmgr_run/index.html | 574 ++++++++++++++++
.../command_list/newtmgr_stat/index.html | 614 ++++++++++++++++++
.../command_list/newtmgr_taskstats/index.html | 564 ++++++++++++++++
develop/newtmgr/installing/index.html | 17 +-
develop/newtmgr/overview/index.html | 373 ++---------
develop/os/tutorials/add_newtmgr/index.html | 5 +-
develop/sitemap.xml | 24 +-
latest/mkdocs/search_index.json | 425 ++++++++++--
latest/network/ble/nimble_setup/index.html | 11 +-
latest/newt/command_list/newt_sync/index.html | 7 +-
.../command_list/newtmgr_config/index.html | 551 ++++++++++++++++
.../command_list/newtmgr_conn/index.html | 583 +++++++++++++++++
.../command_list/newtmgr_crash/index.html | 551 ++++++++++++++++
.../command_list/newtmgr_datetime/index.html | 557 ++++++++++++++++
.../command_list/newtmgr_echo/index.html | 546 ++++++++++++++++
.../newtmgr/command_list/newtmgr_fs/index.html | 569 ++++++++++++++++
.../command_list/newtmgr_image/index.html | 646 +++++++++++++++++++
.../command_list/newtmgr_logs/index.html | 596 +++++++++++++++++
.../command_list/newtmgr_mpstats/index.html | 573 ++++++++++++++++
.../command_list/newtmgr_reset/index.html | 546 ++++++++++++++++
.../newtmgr/command_list/newtmgr_run/index.html | 574 ++++++++++++++++
.../command_list/newtmgr_stat/index.html | 614 ++++++++++++++++++
.../command_list/newtmgr_taskstats/index.html | 564 ++++++++++++++++
latest/newtmgr/installing/index.html | 17 +-
latest/newtmgr/overview/index.html | 373 ++---------
latest/os/tutorials/add_newtmgr/index.html | 5 +-
latest/sitemap.xml | 24 +-
sitemap.xml | 26 +-
v0_9_0/sitemap.xml | 26 +-
42 files changed, 15874 insertions(+), 842 deletions(-)
----------------------------------------------------------------------
[4/9] incubator-mynewt-site git commit: Added newtmgr command
descriptions. Fixed BLE app tutorial errors
Posted by ad...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/377e7092/latest/mkdocs/search_index.json
----------------------------------------------------------------------
diff --git a/latest/mkdocs/search_index.json b/latest/mkdocs/search_index.json
index c6dfaad..719ffa4 100644
--- a/latest/mkdocs/search_index.json
+++ b/latest/mkdocs/search_index.json
@@ -1492,7 +1492,7 @@
},
{
"location": "/os/tutorials/add_newtmgr/",
- "text": "Enabling Newt Manager in Your Application\n\n\n\nIn order for your application to communicate with the newtmgr tool and process Newt Manager commands, you must \nenable Newt Manager device management and the support to process Newt Manager commands \nin your application. This tutorial explains how to add the support to your application.\n\n\nThis tutorial assumes that you have read the \nDevice Management with Newt Manager\n\nguide and are familiar with the \nnewtmgr\n and \noicmgr\n frameworks and all the options that are available \nto customize your application.\n\n\nThis tutorial shows you how to configure your application to:\n\n\n\n\nUse the newtmgr framework.\n\n\nUse serial transport to communicate with the newtmgr tool.\n\n\nSupport all Newt Manager commands.\n\n\n\n\nSee \nOther Configuration Options\n on how to customize your application.\n\n\n\n\nPrerequisites\n\n\nEnsure that you have met the following prerequisites before continuing with this tuto
rial:\n\n\n\n\nInstall the \nnewt tool\n. \n\n\nInstall the \nnewtmgr tool\n.\n\n\nHave Internet connectivity to fetch remote Mynewt components.\n\n\nInstall the \ncompiler tools\n to \nsupport native compiling to build the project this tutorial creates. \n\n\nHave a cable to establish a serial USB connection between the board and the laptop.\n\n\n\n\n\n\nUse an Existing Project\n\n\nWe assume that you have worked through at least some of the other tutorials and have an existing project.\nIn this example, we modify the \nble_tiny\n project to enable Newt Manager support. \nWe call our application \nmyble\n. You can create the application using any name you choose. \n\n\nModify Package Dependencies and Configurations\n\n\nAdd the following packages to the \npkg.deps\n parameter in your target or application \npkg.yml\n file:\n\n\npkg.deps:\n - mgmt/newtmgr\n - mgmt/newtmgr/transport/nmgr_shell\n - mgmt/imgmgr\n - sys/log/full\n - sys/stats/full\n - sys/config\n
- test/crash_test\n - test/runtest\n\n\n\n\n\nEach package provides the following Newt Manager functionality:\n\n\n\n\nmgmt/newtmgr\n: Supports the newtmgr framework and the \nNewt Manager \necho\n, \ntaskstats\n \nmpstats\n, \ndatetime\n, and \nreset\n commands.\n\n\nmgmt/newtmgr/transport/nmgr_shell\n: Supports serial transport.\n\n\nmgmt/imgmgr\n: Supports the \nnewtmgr image\n command \n\n\nsys/log/full\n : Supports the \nnewtmgr log\n command.\n\n\nsys/stats/full\n: Supports the \nnewtmgr stat\n command. \n\n\nsys/config\n: Supports the \nnewtmgr config\n command. \n\n\ntest/crash_test\n: Supports the \nnewtmgr crash\n command. \n\n\ntest/runtest\n: Supports the \nnewt run\n command.\n\n\n\n\nAdd the following configuration setting values to the \nsyscfg.vals\n parameter in the target or \napplication \nsyscfg.yml\n file:\n\n\nsyscfg.vals:\n LOG_NEWTMGR: 1\n STATS_NEWTMGR: 1\n CONFIG_NEWTMGR: 1\n CRASH_TEST_NEWTMGR: 1\n RUNTEST_NEWTMGR: 1\n SHELL_TASK: 1\n
\n\n\n\n\nThe first five configuration settings enable support for the Newt Manager \nlog\n, \nstats\n, \nconfig\n, \ncrash\n, \nand \nrun\n commands. The \nSHELL_TASK\n setting enables the shell for serial transport.\n\n\nNote that you may need to override additional configuration settings that are specific to each package to customize the \npackage functionality.\n\n\n\n\nModify the Source\n\n\nBy default, the \nmgmt\n package uses the Mynewt default event queue to receive request events from the newtmgr tool. These events are processed in the context of the application main task. \n\n\nYou can specify a different event queue for the package to use. If you choose to use a dedicated event queue, you must create a task to process events from this event queue. The \nmgmt\n package executes and handles newtmgr request events in the context of this task. The \nmgmt\n package exports the \nmgmt_evq_set()\n function that allows you to specify an event queue. \n\n\nThis example uses th
e Mynewt default event queue and you do not need to modify your application source. \n\n\nIf you choose to use a different event queue, see \nEvents and Event Queues\n for details on how to initialize an event queue and create a task to process the events. You will also need to modify your \nmain.c\n to add the call to the \nmgmt_evq_set()\n function as follows:\n\n\nAdd the \nmgmt/mgmt.h\n header file: \n\n\n#include \nmgmt/mgmt.h\n\n\n\n\n\n\n\nAdd the call to specify the event queue. In the \nmain()\n function, scroll down to the \nwhile (1)\n loop and add the following statement above the loop: \n\n\nmgmt_evq_set(\nmy_eventq)\n\n\n\n\n\nwhere \nmy_eventq\n is an event queue that you have initialized.\n\n\nBuild the Targets\n\n\nBuild the two targets as follows:\n\n\n$ newt build nrf52_boot\n\nsnip\n\nApp successfully built: ./bin/nrf52_boot/apps/boot/boot.elf\n$ newt build myble\nCompiling hci_common.c\nCompiling util.c\nArchiving nimble.a\nCompiling os.c\n\nsnip\n\n\n\n\n\n\n
\n\nCreate the Application Image\n\n\nGenerate a signed application image for the \nmyble\n target. You can use any version number you choose.\n\n\n$ newt create-image myble 1.0.0\nApp image successfully generated: ./bin/makerbeacon/apps/bletiny/bletiny.img\nBuild manifest: ./bin/makerbeacon/apps/bletiny/manifest.json\n\n\n\n\n\n\n\nLoad the Image\n\n\nEnsure the USB connector is in place and the power LED on the board is lit. Turn the power switch on your board off, \nthen back on to reset the board after loading the image.\n\n\n$ newt load nrf52_boot\n$ newt load myble\n\n\n\n\n\nSet Up a Connection Profile\n\n\nThe newtmgr tool requires a connection profile in order to connect to your board. If you have not done so, \nfollow the \ninstructions\n for setting up your connection profile.\n\n\n\n\nConnecting with Your Application\n\n\nOnce you have a connection profile set up, you can connect to your device with \nnewtmgr -c myconn \ncommand\n to run commands in your application. \n\
n\nIssue the \necho\n command to ensure that your application is communicating with the newtmgr tool:\n\n\n# newtmgr -c myconn echo hello\nhello\n\n\n\n\n\nTest your application to ensure that it can process a Newt Manager command that is supported by a different package.\nIssue the \nstat\n command to see the BLE stats. \n\n\nnewtmgr -c myconn stat ble_att\nReturn Code = 0\nStats Name: ble_att\n prep_write_req_tx: 0\n indicate_req_tx: 0\n write_rsp_tx: 0\n find_info_req_tx: 0\n read_rsp_rx: 0\n read_group_type_rsp_tx: 0\n indicate_req_rx: 0\n find_type_value_rsp_tx: 0\n\n ...\n\n read_req_rx: 0\n read_type_req_rx: 0\n notify_req_tx: 0\n mtu_rsp_tx: 0\n find_type_value_req_rx: 0\n read_blob_rsp_rx: 0\n read_group_type_req_tx: 0\n exec_write_req_tx: 0\n\n\n\n\n\nYour application is now able to communicate with the newtmgr tool.\n\n\nOther Configuration Options\n\n\nThis section explains how to customize your application to use other Newt Manager protocol options
.\n\n\nNewtmgr Framework Transport Protocol Options\n\n\nThe newtmgr framework currently supports BLE and serial transport protocols. \nTo configure the transport protocols that are supported, modify the \npkg.yml\n \nand \nsyscfg.yml\n files as follows:\n\n\n\n\nAdd the \nmgmt/newtmgr/transport/ble\n package to \npkg.deps\n parameter to enable BLE transport.\n\n\nAdd the \nmgmt/newtmgr/transport/nmgr_shell\n package to \nthe \npkg.deps\n parameter, and add \nSHELL_TASK: 1\n to the \nsyscfg.vals\n parameter to enable serial transport.\n\n\n\n\n\n\nOicmgr Framework Options\n\n\nTo use the oicmgr framework instead of the newtmgr framework, modify the \npkg.yml\n and \nsyscfg.yml\n files \nas follows:\n\n\n\n\nAdd the \nmgmt/oicmgr\n package (instead of the \nmgmt/newtmgr\n and \nmgmt/newtmgr/transport\n packages \nas described previously) to the \npkg.deps\n parameter.\n\n\nAdd \nOC_SERVER: 1\n to the \nsyscfg.vals\n parameter.\n\n\n\n\nOicmgr supports the IP, serial, and BLE transpo
rt protocols. To configure the transport protocols that are supported, \nset the configuration setting values in the \nsyscfg.vals\n parameter as follows:\n\n\n\n\nAdd \nOC_TRANSPORT_IP: 1\n to enable IP transport. \n\n\nAdd \nOC_TRANSPORT_GATT: 1\n to enable BLE transport.\n\n\nAdd \nOC_TRANSPORT_SERIAL: 1\n and \nSHELL_TASK: 1\n to enable serial transport.\n\n\n\n\n\n\nCustomize the Newt Manager Commands that Your Application Supports\n\n\nWe recommend that you only enable support for the Newt Manager commands that your application uses \nto reduce your application code size. To configure the commands that are supported, set the configuration \nsetting values in the \nsyscfg.vals\n parameter as follows:\n\n\n\n\nAdd \nLOG_NEWTMGR: 1\n to enable support for the \nnewtmgr log\n command.\n\n\nAdd \nSTATS_NEWTMGR: 1\n to enable support for the \nnewtmgr stat\n command.\n\n\nAdd \nCONFIG_NEWTMGR: 1\n to enable support for the \nnewtmgr config\n command.\n\n\nAdd \nCRASH_TEST_NEWTMGR
: 1\n to enable support for the \nnewtmgr crash\n command.\n\n\nAdd \nRUNTEST_NEWTMGR: 1\n to enable support for the \nnewtmgr crash\n command.\n\n\n\n\nNotes: \n\n\n\n\nWhen you enable Newt Manager support, using either the newtmgr or oicmgr framework, your application automatically \nsupports the Newt Manager \necho\n, \ntaskstats\n, \nmpstats\n, \ndatetime\n, and \nreset\n commands. These \ncommands cannot be configured individually.\n\n\nThe \nmgmt/imgmgr\n package does not provide a configuration setting to enable or disable support \nfor the \nnewtmgr image\n command. Do not specify the package in the \npkg.deps\n parameter if \nyour device has limited flash memory and cannot support Over-The-Air (OTA) firmware upgrades.",
+ "text": "Enabling Newt Manager in Your Application\n\n\n\nIn order for your application to communicate with the newtmgr tool and process Newt Manager commands, you must \nenable Newt Manager device management and the support to process Newt Manager commands \nin your application. This tutorial explains how to add the support to your application.\n\n\nThis tutorial assumes that you have read the \nDevice Management with Newt Manager\n\nguide and are familiar with the \nnewtmgr\n and \noicmgr\n frameworks and all the options that are available \nto customize your application.\n\n\nThis tutorial shows you how to configure your application to:\n\n\n\n\nUse the newtmgr framework.\n\n\nUse serial transport to communicate with the newtmgr tool.\n\n\nSupport all Newt Manager commands.\n\n\n\n\nSee \nOther Configuration Options\n on how to customize your application.\n\n\n\n\nPrerequisites\n\n\nEnsure that you have met the following prerequisites before continuing with this tuto
rial:\n\n\n\n\nInstall the \nnewt tool\n. \n\n\nInstall the \nnewtmgr tool\n.\n\n\nHave Internet connectivity to fetch remote Mynewt components.\n\n\nInstall the \ncompiler tools\n to \nsupport native compiling to build the project this tutorial creates. \n\n\nHave a cable to establish a serial USB connection between the board and the laptop.\n\n\n\n\n\n\nUse an Existing Project\n\n\nWe assume that you have worked through at least some of the other tutorials and have an existing project.\nIn this example, we modify the \nble_tiny\n project to enable Newt Manager support. \nWe call our application \nmyble\n. You can create the application using any name you choose. \n\n\nModify Package Dependencies and Configurations\n\n\nAdd the following packages to the \npkg.deps\n parameter in your target or application \npkg.yml\n file:\n\n\npkg.deps:\n - mgmt/newtmgr\n - mgmt/newtmgr/transport/nmgr_shell\n - mgmt/imgmgr\n - sys/log/full\n - sys/stats/full\n - sys/config\n
- test/crash_test\n - test/runtest\n\n\n\n\n\nEach package provides the following Newt Manager functionality:\n\n\n\n\nmgmt/newtmgr\n: Supports the newtmgr framework and the \nNewt Manager \necho\n, \ntaskstats\n \nmpstats\n, \ndatetime\n, and \nreset\n commands.\n\n\nmgmt/newtmgr/transport/nmgr_shell\n: Supports serial transport.\n\n\nmgmt/imgmgr\n: Supports the \nnewtmgr image\n command \n\n\nsys/log/full\n : Supports the \nnewtmgr log\n command.\n\n\nsys/stats/full\n: Supports the \nnewtmgr stat\n command. \n\n\nsys/config\n: Supports the \nnewtmgr config\n command. \n\n\ntest/crash_test\n: Supports the \nnewtmgr crash\n command. \n\n\ntest/runtest\n: Supports the \nnewt run\n command.\n\n\n\n\nAdd the following configuration setting values to the \nsyscfg.vals\n parameter in the target or \napplication \nsyscfg.yml\n file:\n\n\nsyscfg.vals:\n LOG_NEWTMGR: 1\n STATS_NEWTMGR: 1\n CONFIG_NEWTMGR: 1\n CRASH_TEST_NEWTMGR: 1\n RUNTEST_NEWTMGR: 1\n SHELL_TASK: 1\n
\n\n\n\n\nThe first five configuration settings enable support for the Newt Manager \nlog\n, \nstat\n, \nconfig\n, \ncrash\n, \nand \nrun\n commands. The \nSHELL_TASK\n setting enables the shell for serial transport.\n\n\nNote that you may need to override additional configuration settings that are specific to each package to customize the \npackage functionality.\n\n\n\n\nModify the Source\n\n\nBy default, the \nmgmt\n package uses the Mynewt default event queue to receive request events from the newtmgr tool. These events are processed in the context of the application main task. \n\n\nYou can specify a different event queue for the package to use. If you choose to use a dedicated event queue, you must create a task to process events from this event queue. The \nmgmt\n package executes and handles newtmgr request events in the context of this task. The \nmgmt\n package exports the \nmgmt_evq_set()\n function that allows you to specify an event queue. \n\n\nThis example uses the
Mynewt default event queue and you do not need to modify your application source. \n\n\nIf you choose to use a different event queue, see \nEvents and Event Queues\n for details on how to initialize an event queue and create a task to process the events. You will also need to modify your \nmain.c\n to add the call to the \nmgmt_evq_set()\n function as follows:\n\n\nAdd the \nmgmt/mgmt.h\n header file: \n\n\n#include \nmgmt/mgmt.h\n\n\n\n\n\n\n\nAdd the call to specify the event queue. In the \nmain()\n function, scroll down to the \nwhile (1)\n loop and add the following statement above the loop: \n\n\nmgmt_evq_set(\nmy_eventq)\n\n\n\n\n\nwhere \nmy_eventq\n is an event queue that you have initialized.\n\n\nBuild the Targets\n\n\nBuild the two targets as follows:\n\n\n$ newt build nrf52_boot\n\nsnip\n\nApp successfully built: ./bin/nrf52_boot/apps/boot/boot.elf\n$ newt build myble\nCompiling hci_common.c\nCompiling util.c\nArchiving nimble.a\nCompiling os.c\n\nsnip\n\n\n\n\n\n\n\
n\nCreate the Application Image\n\n\nGenerate a signed application image for the \nmyble\n target. You can use any version number you choose.\n\n\n$ newt create-image myble 1.0.0\nApp image successfully generated: ./bin/makerbeacon/apps/bletiny/bletiny.img\nBuild manifest: ./bin/makerbeacon/apps/bletiny/manifest.json\n\n\n\n\n\n\n\nLoad the Image\n\n\nEnsure the USB connector is in place and the power LED on the board is lit. Turn the power switch on your board off, \nthen back on to reset the board after loading the image.\n\n\n$ newt load nrf52_boot\n$ newt load myble\n\n\n\n\n\nSet Up a Connection Profile\n\n\nThe newtmgr tool requires a connection profile in order to connect to your board. If you have not done so, \nfollow the \ninstructions\n for setting up your connection profile.\n\n\n\n\nConnecting with Your Application\n\n\nOnce you have a connection profile set up, you can connect to your device with \nnewtmgr -c myconn \ncommand\n to run commands in your application. \n\n
\nIssue the \necho\n command to ensure that your application is communicating with the newtmgr tool:\n\n\n# newtmgr -c myconn echo hello\nhello\n\n\n\n\n\nTest your application to ensure that it can process a Newt Manager command that is supported by a different package.\nIssue the \nstat\n command to see the BLE stats. \n\n\nnewtmgr -c myconn stat ble_att\nReturn Code = 0\nStats Name: ble_att\n prep_write_req_tx: 0\n indicate_req_tx: 0\n write_rsp_tx: 0\n find_info_req_tx: 0\n read_rsp_rx: 0\n read_group_type_rsp_tx: 0\n indicate_req_rx: 0\n find_type_value_rsp_tx: 0\n\n ...\n\n read_req_rx: 0\n read_type_req_rx: 0\n notify_req_tx: 0\n mtu_rsp_tx: 0\n find_type_value_req_rx: 0\n read_blob_rsp_rx: 0\n read_group_type_req_tx: 0\n exec_write_req_tx: 0\n\n\n\n\n\nYour application is now able to communicate with the newtmgr tool.\n\n\nOther Configuration Options\n\n\nThis section explains how to customize your application to use other Newt Manager protocol options.
\n\n\nNewtmgr Framework Transport Protocol Options\n\n\nThe newtmgr framework currently supports BLE and serial transport protocols. \nTo configure the transport protocols that are supported, modify the \npkg.yml\n \nand \nsyscfg.yml\n files as follows:\n\n\n\n\nAdd the \nmgmt/newtmgr/transport/ble\n package to \npkg.deps\n parameter to enable BLE transport.\n\n\nAdd the \nmgmt/newtmgr/transport/nmgr_shell\n package to \nthe \npkg.deps\n parameter, and add \nSHELL_TASK: 1\n to the \nsyscfg.vals\n parameter to enable serial transport.\n\n\nAdd the \nmgmt/newtmgr/transport/nmgr_uart\n package, and add \nSHELL_TASK: 1\n to enable serial communication over a UARTport.\n\n\n\n\n\n\nOicmgr Framework Options\n\n\nTo use the oicmgr framework instead of the newtmgr framework, modify the \npkg.yml\n and \nsyscfg.yml\n files \nas follows:\n\n\n\n\nAdd the \nmgmt/oicmgr\n package (instead of the \nmgmt/newtmgr\n and \nmgmt/newtmgr/transport\n packages \nas described previously) to the \npkg.de
ps\n parameter.\n\n\nAdd \nOC_SERVER: 1\n to the \nsyscfg.vals\n parameter.\n\n\n\n\nOicmgr supports the IP, serial, and BLE transport protocols. To configure the transport protocols that are supported, \nset the configuration setting values in the \nsyscfg.vals\n parameter as follows:\n\n\n\n\nAdd \nOC_TRANSPORT_IP: 1\n to enable IP transport. \n\n\nAdd \nOC_TRANSPORT_GATT: 1\n to enable BLE transport.\n\n\nAdd \nOC_TRANSPORT_SERIAL: 1\n and \nSHELL_TASK: 1\n to enable serial transport.\n\n\n\n\n\n\nCustomize the Newt Manager Commands that Your Application Supports\n\n\nWe recommend that you only enable support for the Newt Manager commands that your application uses \nto reduce your application code size. To configure the commands that are supported, set the configuration \nsetting values in the \nsyscfg.vals\n parameter as follows:\n\n\n\n\nAdd \nLOG_NEWTMGR: 1\n to enable support for the \nnewtmgr log\n command.\n\n\nAdd \nSTATS_NEWTMGR: 1\n to enable support for the \nnewtmg
r stat\n command.\n\n\nAdd \nCONFIG_NEWTMGR: 1\n to enable support for the \nnewtmgr config\n command.\n\n\nAdd \nCRASH_TEST_NEWTMGR: 1\n to enable support for the \nnewtmgr crash\n command.\n\n\nAdd \nRUNTEST_NEWTMGR: 1\n to enable support for the \nnewtmgr crash\n command.\n\n\n\n\nNotes: \n\n\n\n\nWhen you enable Newt Manager support, using either the newtmgr or oicmgr framework, your application automatically \nsupports the Newt Manager \necho\n, \ntaskstats\n, \nmpstats\n, \ndatetime\n, and \nreset\n commands. These \ncommands cannot be configured individually.\n\n\nThe \nmgmt/imgmgr\n package does not provide a configuration setting to enable or disable support \nfor the \nnewtmgr image\n command. Do not specify the package in the \npkg.deps\n parameter if \nyour device has limited flash memory and cannot support Over-The-Air (OTA) firmware upgrades.",
"title": "Enable Newt Manager in any app"
},
{
@@ -1512,7 +1512,7 @@
},
{
"location": "/os/tutorials/add_newtmgr/#modify-package-dependencies-and-configurations",
- "text": "Add the following packages to the pkg.deps parameter in your target or application pkg.yml file: pkg.deps:\n - mgmt/newtmgr\n - mgmt/newtmgr/transport/nmgr_shell\n - mgmt/imgmgr\n - sys/log/full\n - sys/stats/full\n - sys/config\n - test/crash_test\n - test/runtest Each package provides the following Newt Manager functionality: mgmt/newtmgr : Supports the newtmgr framework and the \nNewt Manager echo , taskstats mpstats , datetime , and reset commands. mgmt/newtmgr/transport/nmgr_shell : Supports serial transport. mgmt/imgmgr : Supports the newtmgr image command sys/log/full : Supports the newtmgr log command. sys/stats/full : Supports the newtmgr stat command. sys/config : Supports the newtmgr config command. test/crash_test : Supports the newtmgr crash command. test/runtest : Supports the newt run command. Add the following configuration setting values to the syscfg.vals parameter in the target
or \napplication syscfg.yml file: syscfg.vals:\n LOG_NEWTMGR: 1\n STATS_NEWTMGR: 1\n CONFIG_NEWTMGR: 1\n CRASH_TEST_NEWTMGR: 1\n RUNTEST_NEWTMGR: 1\n SHELL_TASK: 1 The first five configuration settings enable support for the Newt Manager log , stats , config , crash , \nand run commands. The SHELL_TASK setting enables the shell for serial transport. Note that you may need to override additional configuration settings that are specific to each package to customize the \npackage functionality.",
+ "text": "Add the following packages to the pkg.deps parameter in your target or application pkg.yml file: pkg.deps:\n - mgmt/newtmgr\n - mgmt/newtmgr/transport/nmgr_shell\n - mgmt/imgmgr\n - sys/log/full\n - sys/stats/full\n - sys/config\n - test/crash_test\n - test/runtest Each package provides the following Newt Manager functionality: mgmt/newtmgr : Supports the newtmgr framework and the \nNewt Manager echo , taskstats mpstats , datetime , and reset commands. mgmt/newtmgr/transport/nmgr_shell : Supports serial transport. mgmt/imgmgr : Supports the newtmgr image command sys/log/full : Supports the newtmgr log command. sys/stats/full : Supports the newtmgr stat command. sys/config : Supports the newtmgr config command. test/crash_test : Supports the newtmgr crash command. test/runtest : Supports the newt run command. Add the following configuration setting values to the syscfg.vals parameter in the target
or \napplication syscfg.yml file: syscfg.vals:\n LOG_NEWTMGR: 1\n STATS_NEWTMGR: 1\n CONFIG_NEWTMGR: 1\n CRASH_TEST_NEWTMGR: 1\n RUNTEST_NEWTMGR: 1\n SHELL_TASK: 1 The first five configuration settings enable support for the Newt Manager log , stat , config , crash , \nand run commands. The SHELL_TASK setting enables the shell for serial transport. Note that you may need to override additional configuration settings that are specific to each package to customize the \npackage functionality.",
"title": "Modify Package Dependencies and Configurations"
},
{
@@ -1552,7 +1552,7 @@
},
{
"location": "/os/tutorials/add_newtmgr/#newtmgr-framework-transport-protocol-options",
- "text": "The newtmgr framework currently supports BLE and serial transport protocols. \nTo configure the transport protocols that are supported, modify the pkg.yml \nand syscfg.yml files as follows: Add the mgmt/newtmgr/transport/ble package to pkg.deps parameter to enable BLE transport. Add the mgmt/newtmgr/transport/nmgr_shell package to \nthe pkg.deps parameter, and add SHELL_TASK: 1 to the syscfg.vals parameter to enable serial transport.",
+ "text": "The newtmgr framework currently supports BLE and serial transport protocols. \nTo configure the transport protocols that are supported, modify the pkg.yml \nand syscfg.yml files as follows: Add the mgmt/newtmgr/transport/ble package to pkg.deps parameter to enable BLE transport. Add the mgmt/newtmgr/transport/nmgr_shell package to \nthe pkg.deps parameter, and add SHELL_TASK: 1 to the syscfg.vals parameter to enable serial transport. Add the mgmt/newtmgr/transport/nmgr_uart package, and add SHELL_TASK: 1 to enable serial communication over a UARTport.",
"title": "Newtmgr Framework Transport Protocol Options"
},
{
@@ -8197,7 +8197,7 @@
},
{
"location": "/network/ble/nimble_setup/",
- "text": "Set up a NimBLE application\n\n\nThis tutorial explains how to set up an application using the NimBLE stack. The end result will be a framework that you can use to create your own BLE application using the nimble stack.\n\n\nThis tutorial assumes that you have already installed the newt tool and are familiar with its concepts.\n\n\nCreate the application directory\n\n\nYou start by creating a project space for your own application work using the Newt tool (\nmy_proj1\n in this example) and installing all the additional apps and libraries available by adding the repo \napache-mynewt-core\n. See the tutorial on \nadding a repo\n for more on working with repos.\n\n\n~/dev$ newt new my_proj1\nDownloading project skeleton from apache/incubator-mynewt-blinky...\nInstalling skeleton in my_proj1...\nProject my_proj1 successfully created.\n~/dev$ tree my_proj1\nmy_proj1\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2
500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.yml\n\u2514\u2500\u2500 targets\n \u251c\u2500\u2500 my_blinky_sim\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 target.yml\n \u2514\u2500\u2500 unittest\n \u251c\u2500\u2500 pkg.yml\n \u2514\u2500\u2500 target.yml\n\n6 directories, 11 files\n\n~/dev$ cd my_proj1\n~/dev/my_proj1$ newt install\napache-mynewt-core\n~/dev/my_proj1$ tree\n.\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500
\u2500 main.c\n\u251c\u2500\u2500 project.state\n\u251c\u2500\u2500 project.yml\n\u251c\u2500\u2500 repos\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 apache-mynewt-core\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 DISCLAIMER\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 LICENSE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 NOTICE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 README.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 RELEASE_NOTES.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 gatt_svr.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletest\n\u2502\u
00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny_priv.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 cmd.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 parse.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 periph.c\n\nsnip\n\n\n232 directori
es, 846 files\n\n\n\n\n\n\n\nIt's time to build your own app using one or more of the example apps available in the repo \napache-mynewt-core\n. \n\n\n~/dev/my_proj1$ ls repos/apache-mynewt-core/apps\nbleprph bletiny boot luatest test\nbletest blinky ffs2native slinky\n\n\n\n\n\n\n\nAt the very least your app must contain a \nmain()\n function and a \npkg.yml\n file. Use the following steps to create minimal ...\n\n\n1. Create the app directory structure.\n\n\n~/dev/my_proj1$ mkdir -p apps/ble_app/src\n\n\n\n\n\n\n\n2. Paste the following contents into \napps/ble_app/pkg.yml\n.\n\n\npkg.name: apps/ble_app\npkg.type: app\n\npkg.deps:\n - \n@apache-mynewt-core/libs/baselibc\n\n - \n@apache-mynewt-core/libs/console/full\n\n - \n@apache-mynewt-core/libs/os\n\n - \n@apache-mynewt-core/net/nimble/controller\n\n - \n@apache-mynewt-core/net/nimble/host\n\n\n\n\n\n\n\n\n3. Paste the following contents into \napps/ble_app/src/main.c\n.\n\n\n#includ
e \nassert.h\n\n\n#include \nos/os.h\n\n\n\nint\n\n\nmain\n(\nvoid\n)\n{\n \n/* Initialize OS */\n\n \nos_init\n();\n\n \n/* Start the OS */\n\n \nos_start\n();\n\n \n/* os_start should never return. If it does, this should be an error */\n\n \nassert\n(\n0\n);\n}\n\n\n\n\n\nIn this \nmain()\n all we are doing is initializing the Mynewt OS and starting it.\n\n\n\n\nCreate the target\n\n\nNow you have to create the target that you will use to build your application. We will call this target \"ble_tgt\". Type the \nnewt target create ble_tgt\n command. You should get this:\n\n\n~/dev/my_proj1$ newt target create ble_tgt\nTarget targets/ble_tgt successfully created\n\n\n\n\n\nWhat this command just did was to create a directory called \nble_tgt\n in the targets directory of your project. Two files are created in that directory: pkg.yml and target.yml.\n\n\nThe target is not yet complete though! We need to set some target variables for this project. Currently, the nimb
le stack has been ported to the Nordic nrf5x chipsets; specifically the nrf51 and nrf52. This application will use the nrf52 but we will also show the setup for the nrf51 in case your project uses that chip.\n\n\nHere is the command you will need to set up your target for the nrf52:\n\n\n~/dev/my_proj1$ newt target set ble_tgt \\\n app=apps/ble_app \\\n bsp=@apache-mynewt-core/hw/bsp/nrf52pdk \\\n build_profile=optimized\nTarget targets/ble_tgt successfully set target.app to apps/ble_app\nTarget targets/ble_tgt successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf52pdk\nTarget targets/ble_tgt successfully set target.build_profile to optimized\n\n\n\n\n\nHere is the command you will need to set up your target for the nrf51:\n\n\n~/dev/my_proj1$ newt target set ble_tgt \\\n app=apps/ble_app \\\n bsp=@apache-mynewt-core/hw/bsp/nrf51dk \\\n build_profile=optimized\nTarget targets/ble_tgt successfully set ta
rget.app to apps/ble_app\nTarget targets/ble_tgt successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf51dk\nTarget targets/ble_tgt successfully set target.build_profile to optimized\n\n\n\n\n\n\n\nNimble stack initialization\n\n\nThere are certain stack initialization steps that are required for a BLE application to be up and running. If you are running a canned example (e.g. bletiny), these steps are already done for you. When you are writing your own app, you may want to assign different initial values or initialize additional packages that you may have added to your project or written yourself. \n\n\nDetails of the initialization step requirements are covered in \nInitialize Stack\n step.\n\n\n\n\nBuilding the application\n\n\nNow that we have created the application and the target we can build it and test it out. The command you need to run is the \nnewt build\n command with the target we created (\nble_tgt\n). The output will show the files being compiled and linked. Yo
u should see this when all is done (except for the \n...\n of course):\n\n\n~/dev/my_proj1$ newt build ble_tgt\n...\nArchiving os.a\nCompiling cons_fmt.c\nCompiling cons_tty.c\nArchiving full.a\nLinking ble_app.elf\nApp successfully built: /Users/wes/dev/my_proj1/bin/ble_tgt/apps/ble_app/ble_app.elf\n\n\n\n\n\nConclusion\n\n\nYou now have a fully functional BLE app (never mind the fact that it doesn't\nactually do anything yet!). With all the necessary infrastructure in place,\nyou can now start turning this into a real application. Additional tutorials\nwith focus on adding application-layer functionality to your Nimble application\nwill be coming soon. In the meantime, you might get some inspiration from\napache-mynewt-core's example Nimble apps. These apps can be found at the below locations, relative to your project's base directory:\n\n\n\n\nrepos/apache-mynewt-core/apps/bleprph\n\n\nrepos/apache-mynewt-core/apps/bletiny",
+ "text": "Set up a NimBLE application\n\n\nThis tutorial explains how to set up an application using the NimBLE stack. The end result will be a framework that you can use to create your own BLE application using the nimble stack.\n\n\nThis tutorial assumes that you have already installed the newt tool and are familiar with its concepts.\n\n\nCreate the application directory\n\n\nYou start by creating a project space for your own application work using the Newt tool (\nmy_proj1\n in this example) and installing all the additional apps and libraries available by adding the repo \napache-mynewt-core\n. See the tutorial on \nadding a repo\n for more on working with repos.\n\n\n~/dev$ newt new my_proj1\nDownloading project skeleton from apache/incubator-mynewt-blinky...\nInstalling skeleton in my_proj1...\nProject my_proj1 successfully created.\n~/dev$ tree my_proj1\nmy_proj1\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2
500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.yml\n\u2514\u2500\u2500 targets\n \u251c\u2500\u2500 my_blinky_sim\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 target.yml\n \u2514\u2500\u2500 unittest\n \u251c\u2500\u2500 pkg.yml\n \u2514\u2500\u2500 target.yml\n\n6 directories, 11 files\n\n~/dev$ cd my_proj1\n~/dev/my_proj1$ newt install\napache-mynewt-core\n~/dev/my_proj1$ tree\n.\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500
\u2500 main.c\n\u251c\u2500\u2500 project.state\n\u251c\u2500\u2500 project.yml\n\u251c\u2500\u2500 repos\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 apache-mynewt-core\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 DISCLAIMER\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 LICENSE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 NOTICE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 README.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 RELEASE_NOTES.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 gatt_svr.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletest\n\u2502\u
00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny_priv.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 cmd.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 parse.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 periph.c\n\nsnip\n\n\n232 directori
es, 846 files\n\n\n\n\n\n\n\nIt's time to build your own app using one or more of the example apps available in the repo \napache-mynewt-core\n. \n\n\n~/dev/my_proj1$ ls repos/apache-mynewt-core/apps\nbleprph bletiny boot luatest test\nbletest blinky ffs2native slinky\n\n\n\n\n\n\n\nAt the very least your app must contain a \nmain()\n function and a \npkg.yml\n file. Use the following steps to create minimal ...\n\n\n1. Create the app directory structure.\n\n\n~/dev/my_proj1$ mkdir -p apps/ble_app/src\n\n\n\n\n\n\n\n2. Paste the following contents into \napps/ble_app/pkg.yml\n.\n\n\npkg.name: apps/ble_app\npkg.type: app\n\npkg.deps:\n - \n@apache-mynewt-core/kernel/os\n\n - \n@apache-mynewt-core/hw/hal\n\n - \n@apache-mynewt-core/sys/console/full\n\n - \n@apache-mynewt-core/sys/log/full\n\n - \n@apache-mynewt-core/sys/stats/full\n\n - \n@apache-mynewt-core/net/nimble/transport/ram\n\n - \n@apache-mynewt-core/net/nimble/controller\n\
n - \n@apache-mynewt-core/net/nimble/host\n\n\n\n\n\n\n\n\n3. Paste the following contents into \napps/ble_app/src/main.c\n.\n\n\n#include \nassert.h\n\n\n#include \nos/os.h\n\n\n\nint\n\n\nmain\n(\nvoid\n)\n{\n \n/* Initialize OS */\n\n \nos_init\n(\nNULL\n);\n\n \n/* Start the OS */\n\n \nos_start\n();\n\n \n/* os_start should never return. If it does, this should be an error */\n\n \nassert\n(\n0\n);\n}\n\n\n\n\n\nIn this \nmain()\n all we are doing is initializing the Mynewt OS and starting it.\n\n\n\n\nCreate the target\n\n\nNow you have to create the target that you will use to build your application. We will call this target \"ble_tgt\". Type the \nnewt target create ble_tgt\n command. You should get this:\n\n\n~/dev/my_proj1$ newt target create ble_tgt\nTarget targets/ble_tgt successfully created\n\n\n\n\n\nWhat this command just did was to create a directory called \nble_tgt\n in the targets directory of your project. Two files are created in that direc
tory: pkg.yml and target.yml.\n\n\nThe target is not yet complete though! We need to set some target variables for this project. Currently, the nimble stack has been ported to the Nordic nrf5x chipsets; specifically the nrf51 and nrf52. This application will use the nrf52 but we will also show the setup for the nrf51 in case your project uses that chip.\n\n\nHere is the command you will need to set up your target for the nrf52:\n\n\n~/dev/my_proj1$ newt target set ble_tgt \\\n app=apps/ble_app \\\n bsp=@apache-mynewt-core/hw/bsp/nrf52pdk \\\n build_profile=optimized\nTarget targets/ble_tgt successfully set target.app to apps/ble_app\nTarget targets/ble_tgt successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf52pdk\nTarget targets/ble_tgt successfully set target.build_profile to optimized\n\n\n\n\n\nHere is the command you will need to set up your target for the nrf51:\n\n\n~/dev/my_proj1$ newt target set ble_tgt \\\n app=apps/ble_ap
p \\\n bsp=@apache-mynewt-core/hw/bsp/nrf51dk \\\n build_profile=optimized\nTarget targets/ble_tgt successfully set target.app to apps/ble_app\nTarget targets/ble_tgt successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf51dk\nTarget targets/ble_tgt successfully set target.build_profile to optimized\n\n\n\n\n\n\n\nNimble stack initialization\n\n\nThere are certain stack initialization steps that are required for a BLE application to be up and running. If you are running a canned example (e.g. bletiny), these steps are already done for you. When you are writing your own app, you may want to assign different initial values or initialize additional packages that you may have added to your project or written yourself. \n\n\nDetails of the initialization step requirements are covered in \nInitialize Stack\n step.\n\n\n\n\nBuilding the application\n\n\nNow that we have created the application and the target we can build it and test it out. The command
you need to run is the \nnewt build\n command with the target we created (\nble_tgt\n). The output will show the files being compiled and linked. You should see this when all is done (except for the \n...\n of course):\n\n\n~/dev/my_proj1$ newt build ble_tgt\n...\nArchiving os.a\nCompiling cons_fmt.c\nCompiling cons_tty.c\nArchiving full.a\nLinking ble_app.elf\nApp successfully built: /Users/wes/dev/my_proj1/bin/ble_tgt/apps/ble_app/ble_app.elf\n\n\n\n\n\nConclusion\n\n\nYou now have a fully functional BLE app (never mind the fact that it doesn't\nactually do anything yet!). With all the necessary infrastructure in place,\nyou can now start turning this into a real application. Additional tutorials\nwith focus on adding application-layer functionality to your Nimble application\nwill be coming soon. In the meantime, you might get some inspiration from\napache-mynewt-core's example Nimble apps. These apps can be found at the below locations, relative to your project's base direct
ory:\n\n\n\n\nrepos/apache-mynewt-core/apps/bleprph\n\n\nrepos/apache-mynewt-core/apps/bletiny",
"title": "Set up application"
},
{
@@ -8207,7 +8207,7 @@
},
{
"location": "/network/ble/nimble_setup/#create-the-application-directory",
- "text": "You start by creating a project space for your own application work using the Newt tool ( my_proj1 in this example) and installing all the additional apps and libraries available by adding the repo apache-mynewt-core . See the tutorial on adding a repo for more on working with repos. ~/dev$ newt new my_proj1\nDownloading project skeleton from apache/incubator-mynewt-blinky...\nInstalling skeleton in my_proj1...\nProject my_proj1 successfully created.\n~/dev$ tree my_proj1\nmy_proj1\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.yml\n\u2514\u2500\u2500 targets\n \u251c\u2500\u2500 my_blinky_sim\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.
yml\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 target.yml\n \u2514\u2500\u2500 unittest\n \u251c\u2500\u2500 pkg.yml\n \u2514\u2500\u2500 target.yml\n\n6 directories, 11 files\n\n~/dev$ cd my_proj1\n~/dev/my_proj1$ newt install\napache-mynewt-core\n~/dev/my_proj1$ tree\n.\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.state\n\u251c\u2500\u2500 project.yml\n\u251c\u2500\u2500 repos\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 apache-mynewt-core\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 DISCLAIMER\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 LICENSE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 NOTICE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 README.md\n\u2502\u0
0a0\u00a0 \u251c\u2500\u2500 RELEASE_NOTES.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 gatt_svr.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletest\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0
\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny_priv.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 cmd.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 parse.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 periph.c snip \n\n232 directories, 846 files It's time to build your own app using one or more of the example apps available in the repo apache-mynewt-core . ~/dev/my_proj1$ ls repos/apache-mynewt-core/apps\nbleprph bletiny boot luatest test\nbletest blinky ffs2native slinky At the very least your app must contain a main() function and a pkg.yml file. Use the following step
s to create minimal ... 1. Create the app directory structure. ~/dev/my_proj1$ mkdir -p apps/ble_app/src 2. Paste the following contents into apps/ble_app/pkg.yml . pkg.name: apps/ble_app\npkg.type: app\n\npkg.deps:\n - @apache-mynewt-core/libs/baselibc \n - @apache-mynewt-core/libs/console/full \n - @apache-mynewt-core/libs/os \n - @apache-mynewt-core/net/nimble/controller \n - @apache-mynewt-core/net/nimble/host 3. Paste the following contents into apps/ble_app/src/main.c . #include assert.h #include os/os.h int main ( void )\n{\n /* Initialize OS */ \n os_init ();\n\n /* Start the OS */ \n os_start ();\n\n /* os_start should never return. If it does, this should be an error */ \n assert ( 0 );\n} In this main() all we are doing is initializing the Mynewt OS and starting it.",
+ "text": "You start by creating a project space for your own application work using the Newt tool ( my_proj1 in this example) and installing all the additional apps and libraries available by adding the repo apache-mynewt-core . See the tutorial on adding a repo for more on working with repos. ~/dev$ newt new my_proj1\nDownloading project skeleton from apache/incubator-mynewt-blinky...\nInstalling skeleton in my_proj1...\nProject my_proj1 successfully created.\n~/dev$ tree my_proj1\nmy_proj1\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.yml\n\u2514\u2500\u2500 targets\n \u251c\u2500\u2500 my_blinky_sim\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.
yml\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 target.yml\n \u2514\u2500\u2500 unittest\n \u251c\u2500\u2500 pkg.yml\n \u2514\u2500\u2500 target.yml\n\n6 directories, 11 files\n\n~/dev$ cd my_proj1\n~/dev/my_proj1$ newt install\napache-mynewt-core\n~/dev/my_proj1$ tree\n.\n\u251c\u2500\u2500 DISCLAIMER\n\u251c\u2500\u2500 LICENSE\n\u251c\u2500\u2500 NOTICE\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blinky\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u251c\u2500\u2500 project.state\n\u251c\u2500\u2500 project.yml\n\u251c\u2500\u2500 repos\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 apache-mynewt-core\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 DISCLAIMER\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 LICENSE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 NOTICE\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 README.md\n\u2502\u0
0a0\u00a0 \u251c\u2500\u2500 RELEASE_NOTES.md\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 apps\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bleprph.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 gatt_svr.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletest\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0
\u00a0 \u251c\u2500\u2500 pkg.yml\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 src\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 bletiny_priv.h\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 cmd.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 main.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 parse.c\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 periph.c snip \n\n232 directories, 846 files It's time to build your own app using one or more of the example apps available in the repo apache-mynewt-core . ~/dev/my_proj1$ ls repos/apache-mynewt-core/apps\nbleprph bletiny boot luatest test\nbletest blinky ffs2native slinky At the very least your app must contain a main() function and a pkg.yml file. Use the following step
s to create minimal ... 1. Create the app directory structure. ~/dev/my_proj1$ mkdir -p apps/ble_app/src 2. Paste the following contents into apps/ble_app/pkg.yml . pkg.name: apps/ble_app\npkg.type: app\n\npkg.deps:\n - @apache-mynewt-core/kernel/os \n - @apache-mynewt-core/hw/hal \n - @apache-mynewt-core/sys/console/full \n - @apache-mynewt-core/sys/log/full \n - @apache-mynewt-core/sys/stats/full \n - @apache-mynewt-core/net/nimble/transport/ram \n - @apache-mynewt-core/net/nimble/controller \n - @apache-mynewt-core/net/nimble/host 3. Paste the following contents into apps/ble_app/src/main.c . #include assert.h #include os/os.h int main ( void )\n{\n /* Initialize OS */ \n os_init ( NULL );\n\n /* Start the OS */ \n os_start ();\n\n /* os_start should never return. If it does, this should be an error */ \n assert ( 0 );\n} In this main() all we are doing is initializing the Mynewt OS and starting it.",
"title": "Create the application directory"
},
{
@@ -10827,7 +10827,7 @@
},
{
"location": "/newt/command_list/newt_sync/",
- "text": "newt sync \n\n\nSynchronize and refresh the contents of the local copy of all the repositories used in the project with the latest updates maintained in the remote repositories. \n\n\nUsage:\n\n\n newt sync [flags]\n\n\n\n\n\nFlags:\n\n\n -f, --force Force overwrite of existing remote repository\n\n#### Global Flags:\n```no-highlight\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default \nWARN\n)\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don\nt output anything\n -v, --verbose Enable verbose output when executing commands\n\n\n\n\n\nDescription\n\n\nSynchronize project dependencies and repositories. Prior to 1.0.0 release, the command deletes and resynchronizes each repository. Post 1.0.0, it will ab
ort the synchronization if there are any local changes to any repository. Using the -f to force overwrite of existing repository will stash and save the changes while pulling in all the latest changes from the remote repository.",
+ "text": "newt sync \n\n\nSynchronize and refresh the contents of the local copy of all the repositories used in the project with the latest updates maintained in the remote repositories. \n\n\nUsage:\n\n\n newt sync [flags]\n\n\n\n\n\nFlags:\n\n\n -f, --force Force overwrite of existing remote repository\n\n\n\n\n\nGlobal Flags:\n\n\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default \nWARN\n)\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don\nt output anything\n -v, --verbose Enable verbose output when executing commands\n\n\n\n\n\nDescription\n\n\nSynchronize project dependencies and repositories. Prior to 1.0.0 release, the command deletes and resynchronizes each repository. Post 1.0.0, it will abort the sy
nchronization if there are any local changes to any repository. Using the -f to force overwrite of existing repository will stash and save the changes while pulling in all the latest changes from the remote repository.",
"title": "newt sync"
},
{
@@ -10842,10 +10842,15 @@
},
{
"location": "/newt/command_list/newt_sync/#flags",
- "text": "-f, --force Force overwrite of existing remote repository\n\n#### Global Flags:\n```no-highlight\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default WARN )\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don t output anything\n -v, --verbose Enable verbose output when executing commands",
+ "text": "-f, --force Force overwrite of existing remote repository",
"title": "Flags:"
},
{
+ "location": "/newt/command_list/newt_sync/#global-flags",
+ "text": "-h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default WARN )\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don t output anything\n -v, --verbose Enable verbose output when executing commands",
+ "title": "Global Flags:"
+ },
+ {
"location": "/newt/command_list/newt_sync/#description",
"text": "Synchronize project dependencies and repositories. Prior to 1.0.0 release, the command deletes and resynchronizes each repository. Post 1.0.0, it will abort the synchronization if there are any local changes to any repository. Using the -f to force overwrite of existing repository will stash and save the changes while pulling in all the latest changes from the remote repository.",
"title": "Description"
@@ -11012,95 +11017,415 @@
},
{
"location": "/newtmgr/overview/",
- "text": "Newt Manager\n\n\nNewt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote instances of Mynewt OS. \n\n\nDescription\n\n\nCommand List\n\n\nAvailable high-level commands\n\n\n help Lists commands and flags available \n conn Manage newtmgr connection profiles\n echo Send data to remote endpoint using newtmgr, and receive data back\n image Manage images on remote instance\n stat Read statistics from a remote endpoint\n taskstats Read statistics from a remote endpoint\n mpstats Read statistics from a remote endpoint\n config Read or write config value on target\n\n\n\n\n\nAvailable Flags\n\n\n -c, --connection string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nnewtmgr -caditi03 taskstats\n\n\n\n\n\n\n\n\n
\n\n\n\nhelp\n\n\nUsage:\n\n\n newtmgr help [input1]\n\n\n\n\n\nYou can also use \"newtmgr [command] --help\" to display the help text for a newtmgr command.\n\n\nFlags:\n\n\n -c, --connection string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nAvailable Flags\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\ntaskstats\n\n\nnewtmgr -cprofile1 taskstats\n\n\nRun the taskstats subcommand on the device connected via the 'profile1' connection\n\n\n\n\n\n\n\n\nconn\n\n\nUsage:\n\n\n newtmgr conn [flags]\n newtmgr conn [command]\n\n\n\n\n\nAvailable commands: \n\n\n add Add a newtmgr connection profile\n delete Delete a newtmgr connection profile\n show Show newtmgr connection profiles\n\n\n\n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-
command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nadd\n\n\nAdds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication.\n\n\n\n\n\n\ndelete\n\n\nDeletes a connection profile associated with the given name\n\n\n\n\n\n\nshow\n\n\nList the specified or all the connection profiles with the name, connection type, and the controlling terminal or port.\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nadd\n\n\nnewtmgr conn add myserial02 type=serial connstring=/dev/ttys002\n\n\nAdds a newtmgr connection profile for the serial port /dev/ttys002 and names it 'myserial02'\n\n\n\n\n\n\ndelete\n\n\nnewtmgr conn delete myserial02\n\n\nDeletes the connection profile named 'myserial02'\n\n\n\n\n\n\nshow\n\n\nnewtmgr conn show myserial01\n\n\nShows the details of the profile named 'myserial01'\n\n\n\n\n\n\nshow\n\n\nnewtmgr conn show\n\n\nShows all the current p
rofiles defined\n\n\n\n\n\n\n\n\necho\n\n\nUsage:\n\n\n newtmgr echo [flags] [text]\n\n\n\n\n\nThis command sends the text to the remote device at the other end of the connection specified with the -c flag and outputs the text when it gets a response from the device. If the device is not responding or if the connection profile is invalid it displays errors. \n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\necho\n\n\nnewtmgr echo -c profile01 hello\n\n\nSends the string 'hello' to the remote device over the connection profile 'profile01' and receives the string back and displays it.\n\n\n\n\n\n\n\n\nimage\n\n\nUsage:\n\n\n newtmgr image [flags]\n newtmgr image [command]\n\n\n\n\n\nAvailable commands: \n\n\n list Show target images\n upload Upload image to target\n boot Whi
ch image to boot\n fileupload Upload file to target\n filedownload Download file from target\n\n\n\n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nDescription\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nlist\n\n\nAdds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication.\n\n\n\n\n\n\nupload\n\n\nDeletes a connection profile associated with the given name\n\n\n\n\n\n\nboot\n\n\nSpecify the image to boot\n\n\n\n\n\n\nfileupload\n\n\nupload file to the remote target\n\n\n\n\n\n\nfiledownload\n\n\ndownload/retrieve file from remote target\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nlist\n\n\nnewtmgr list\n\n\n\n\n\n\n\n\nupload\n\n\nnewtmgr upload\n\n\n\n\n\n\n\n\nboot\n\n\nnewtmgr boot\n\n\n\n\n\n\n\n\nfileupload\n\
n\nnewtmgr fileupload\n\n\n\n\n\n\n\n\nfiledownload\n\n\nnewtmgr filedownload\n\n\n\n\n\n\n\n\n\n\nstat\n\n\nUsage:\n\n\n newtmgr stat [flags]\n newtmgr stat [command]\n\n\n\n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nstat\n\n\nnewtmgr stat\n\n\n\n\n\n\n\n\n\n\ntaskstats\n\n\nUsage:\n\n\n newtmgr taskstats [flags]\n newtmgr taskstats [command]\n\n\n\n\n\nLists all the tasks running on the remote endpoint at the end of the specified connection and for each task lists statistics such as priority, task id, runtime (how long the task has been running in ms), context switch count, stack size allocated, actual stack usage, last sanity checkin, next sanity check-in. \n\n\nFlags:\n\n\n -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.)\n\n\n\n\n\
nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nstat\n\n\nnewtmgr taskstats -c profile01\n\n\nLists all the tasks running on the remote device at the end of connection named 'profile01'\n\n\n\n\n\n\n\n\nExample output\n\n\n$ newtmgr -c profile01 taskstats\nReturn Code = 0\n idle (prio=255 tid=0 runtime=3299340 cswcnt=280342 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n os_sanity (prio=254 tid=1 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n shell (prio=3 tid=2 runtime=0 cswcnt=165 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n uart_poller (prio=0 tid=3 runtime=0 cswcnt=279368 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n newtmgr (prio=4 tid=4 runtime=0 cswcnt=14 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n task1 (prio=1 tid=5 runtime=0 cswcnt=3287 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)\n task2 (prio=2 tid=6 runtime=0 cswcnt=328
7 stksize=1024 stkusage=1000 last_checkin=0 next_checkin=0)",
+ "text": "Newt Manager\n\n\nNewt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS. It uses a connection profile to establish a connection with a device and sends command requests to the device. The tool follows the same command structure as the \nnewt tool\n. \n\n\nAvailable high-level commands\n\n\nThe following are the high-level newtmgr commands. Some of these commands have subcommands. You can use the -h flag to get help for each command. See the documentation for each command in this guide if you need more information and examples.\n\n\nAvailable Commands:\n\n config Read or write a config value on a device\n conn Manage newtmgr connection profiles\n crash Send a crash command to a device\n datetime Manage datetime on a device\n echo Send data to a device and display the echoed back data\n fs Access files on a device\n image Manage image
s on a device\n log Manage logs on a device\n mpstats Read memory pool statistics from a device\n reset Send reset request to a device\n run Run test procedures on a device\n stat Read statistics from a device\n taskstats Read task statistics from a device\n\nFlags:\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received",
"title": "toc"
},
{
"location": "/newtmgr/overview/#newt-manager",
- "text": "Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote instances of Mynewt OS.",
+ "text": "Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS. It uses a connection profile to establish a connection with a device and sends command requests to the device. The tool follows the same command structure as the newt tool .",
"title": "Newt Manager"
},
{
- "location": "/newtmgr/overview/#description",
- "text": "",
+ "location": "/newtmgr/overview/#available-high-level-commands",
+ "text": "The following are the high-level newtmgr commands. Some of these commands have subcommands. You can use the -h flag to get help for each command. See the documentation for each command in this guide if you need more information and examples. Available Commands:\n\n config Read or write a config value on a device\n conn Manage newtmgr connection profiles\n crash Send a crash command to a device\n datetime Manage datetime on a device\n echo Send data to a device and display the echoed back data\n fs Access files on a device\n image Manage images on a device\n log Manage logs on a device\n mpstats Read memory pool statistics from a device\n reset Send reset request to a device\n run Run test procedures on a device\n stat Read statistics from a device\n taskstats Read task statistics from a device\n\nFlags:\n -c, --conn string connection profile to use.\n -h, --help
Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Available high-level commands"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/",
+ "text": "newtmgr config \n\n\nRead and write config values on a device.\n\n\nUsage:\n\n\n newtmgr config \nvar-name\n [var-value] -c \nconn_profile\n [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nReads and sets the value for the \nvar-name\n config variable on a device. Specify a \nvar-value\n to set the value for the \nvar-name\n variable. Newtmgr uses the \nconn_profile\n connection profile to connect to the device.\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\n\n\nnewtmgr config myvar -c profile01\n\n\nReads the \nmyvar\n config variable value from a device. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.\
n\n\n\n\n\n\n\n\nnewtmgr config myvar 2 -c profile01\n\n\nSets the \nmyvar\n config variable to the value \n2\n on a device. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.",
+ "title": "newtmgr config"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/#newtmgr-config",
+ "text": "Read and write config values on a device.",
+ "title": "newtmgr config "
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/#usage",
+ "text": "newtmgr config var-name [var-value] -c conn_profile [flags]",
+ "title": "Usage:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/#global-flags",
+ "text": "-c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_config/#description",
+ "text": "Reads and sets the value for the var-name config variable on a device. Specify a var-value to set the value for the var-name variable. Newtmgr uses the conn_profile connection profile to connect to the device.",
"title": "Description"
},
{
- "location": "/newtmgr/overview/#command-list",
- "text": "",
- "title": "Command List"
+ "location": "/newtmgr/command_list/newtmgr_config/#examples",
+ "text": "Sub-command Usage Explanation newtmgr config myvar -c profile01 Reads the myvar config variable value from a device. Newtmgr connects to the device over a connection specified in the profile01 connection profile. newtmgr config myvar 2 -c profile01 Sets the myvar config variable to the value 2 on a device. Newtmgr connects to the device over a connection specified in the profile01 connection profile.",
+ "title": "Examples"
},
{
- "location": "/newtmgr/overview/#available-high-level-commands",
- "text": "help Lists commands and flags available \n conn Manage newtmgr connection profiles\n echo Send data to remote endpoint using newtmgr, and receive data back\n image Manage images on remote instance\n stat Read statistics from a remote endpoint\n taskstats Read statistics from a remote endpoint\n mpstats Read statistics from a remote endpoint\n config Read or write config value on target",
- "title": "Available high-level commands"
+ "location": "/newtmgr/command_list/newtmgr_conn/",
+ "text": "newtmgr conn \n\n\nManage newtmgr connection profiles.\n\n\nUsage:\n\n\n newtmgr conn [command] [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nThe conn command provides subcommands to add, delete, and view configuration profiles.\n\n\n\n\n\n\n\n\nSub-command\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nadd\n\n\nThe newtmgr conn add \n \n command creates a connection profile named \nconn_profile\n. A profile consists of these variables: \nname\n: Connection name. Defaults to \nconn_profile\n when the variable is not set in the command. \ntype\n: Connection type. Valid types are: \nserial\n, \noic_serial\n, \nble\n, \noic_ble\n, \nudp\n, \noic_udp\n.\nconnstring\n: The physical or virtual port to use for the
connection.\naddrtype\n: Device address type. Use with type \nble\n.\naddr\n: Device address. Use with type \nble\n.\n\n\n\n\n\n\ndelete\n\n\nThe newtmgr conn delete \nconn_profile\n command deletes the \nconn_profile\n connection profile.\n\n\n\n\n\n\nshow\n\n\nThe newtmgr conn show [conn_profile] command shows the information for the \nconn_profile\n connection profile. It shows information for all the connection profiles if \nconn_profile\n is not specified.\n\n\n\n\n\n\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\nadd\n\n\nnewtmgr conn add myserial02 type=serial connstring=/dev/ttys002\n\n\nCreates a connection profile for the serial port /dev/ttys002 and names it \nmyserial02\n\n\n\n\n\n\ndelete\n\n\nnewtmgr conn delete myserial02\n\n\nDeletes the connection profile named \nmyserial02\n\n\n\n\n\n\nshow\n\n\nnewtmgr conn show myserial01\n\n\nDisplays the information for the \nmyserial01\n connection profile.\n\n\n\n\n\n\nshow\n\n\n
newtmgr conn show\n\n\nDisplays the information for all connection profiles.",
+ "title": "newtmgr conn"
},
{
- "location": "/newtmgr/overview/#available-flags",
- "text": "-c, --connection string connection profile to use.\n -l, --loglevel string log level to use (default WARN.) Examples Sub-command Usage Explanation newtmgr -caditi03 taskstats",
- "title": "Available Flags"
+ "location": "/newtmgr/command_list/newtmgr_conn/#newtmgr-conn",
+ "text": "Manage newtmgr connection profiles.",
+ "title": "newtmgr conn "
},
{
- "location": "/newtmgr/overview/#help",
- "text": "",
- "title": "help"
+ "location": "/newtmgr/command_list/newtmgr_conn/#usage",
+ "text": "newtmgr conn [command] [flags]",
+ "title": "Usage:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_conn/#global-flags",
+ "text": "-c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_conn/#description",
+ "text": "The conn command provides subcommands to add, delete, and view configuration profiles. Sub-command Explanation add The newtmgr conn add command creates a connection profile named conn_profile . A profile consists of these variables: name : Connection name. Defaults to conn_profile when the variable is not set in the command. type : Connection type. Valid types are: serial , oic_serial , ble , oic_ble , udp , oic_udp . connstring : The physical or virtual port to use for the connection. addrtype : Device address type. Use with type ble . addr : Device address. Use with type ble . delete The newtmgr conn delete conn_profile command deletes the conn_profile connection profile. show The newtmgr conn show [conn_profile] command shows the information for the conn_profile connection profile. It shows information for all the connection profiles if conn_profile is not specified.",
+ "title": "Description"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_conn/#examples",
+ "text": "Sub-command Usage Explanation add newtmgr conn add myserial02 type=serial connstring=/dev/ttys002 Creates a connection profile for the serial port /dev/ttys002 and names it myserial02 delete newtmgr conn delete myserial02 Deletes the connection profile named myserial02 show newtmgr conn show myserial01 Displays the information for the myserial01 connection profile. show newtmgr conn show Displays the information for all connection profiles.",
+ "title": "Examples"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_crash/",
+ "text": "newtmgr crash \n\n\nSend a crash command to a device.\n\n\nUsage:\n\n\n newtmgr crash \ndiv0|jump0|ref0|assert|wdog\n -c \nconn_profile\n; [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nSends a crash command to a device to run one of the following crash tests: \ndiv0\n, \njump0\n, \nref0\n, \nassert\n, \nwdog\n. Newtmgr uses the \nconn_profile\n connection profile to connect to the device.\n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\n\n\nnewtmgr crash div0\n-c profile01\n\n\nSends a request to a device to execute a divide by 0 test. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.\n\n\n\n\n\n\n\n\nnewt
mgr crash ref0\n-c profile01\n\n\nSends a request to a device to execute a nil pointer reference test. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.",
+ "title": "newtmgr crash"
},
{
- "location": "/newtmgr/overview/#usage",
- "text": "newtmgr help [input1] You can also use \"newtmgr [command] --help\" to display the help text for a newtmgr command. Flags: -c, --connection string connection profile to use.\n -l, --loglevel string log level to use (default WARN.) Examples Sub-command Available Flags Explanation taskstats newtmgr -cprofile1 taskstats Run the taskstats subcommand on the device connected via the 'profile1' connection",
+ "location": "/newtmgr/command_list/newtmgr_crash/#newtmgr-crash",
+ "text": "Send a crash command to a device.",
+ "title": "newtmgr crash "
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_crash/#usage",
+ "text": "newtmgr crash div0|jump0|ref0|assert|wdog -c conn_profile ; [flags]",
"title": "Usage:"
},
{
- "location": "/newtmgr/overview/#conn",
- "text": "",
- "title": "conn"
+ "location": "/newtmgr/command_list/newtmgr_crash/#global-flags",
+ "text": "-c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_crash/#description",
+ "text": "Sends a crash command to a device to run one of the following crash tests: div0 , jump0 , ref0 , assert , wdog . Newtmgr uses the conn_profile connection profile to connect to the device.",
+ "title": "Description"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_crash/#examples",
+ "text": "Sub-command Usage Explanation newtmgr crash div0 -c profile01 Sends a request to a device to execute a divide by 0 test. Newtmgr connects to the device over a connection specified in the profile01 connection profile. newtmgr crash ref0 -c profile01 Sends a request to a device to execute a nil pointer reference test. Newtmgr connects to the device over a connection specified in the profile01 connection profile.",
+ "title": "Examples"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_datetime/",
+ "text": "newtmgr datetime \n\n\nManage datetime on a device.\n\n\nUsage:\n\n\n newtmgr datetime [datetime-value] -c \nconn_profile\n [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nReads or sets the datetime on a device. Specify a \ndatetime-value\n in the command to set the datetime on the device. Newtmgr uses the \nconn_profile\n connection profile to connect to the device.\n\n\nNote\n: You must specify the \ndatetime-value\n in the RFC 3339 format. \n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\n\n\nnewtmgr datetime\n-c profile01\n\n\nReads the datetime value from a device. Newtmgr connects to the device over a connection specified in the \nprofile01\n connect
ion profile.\n\n\n\n\n\n\n\n\nnewtmgr datetime 2017-03-01T22:44:00\n-c profile01\n\n\nSets the datetime on a device to March 1st 2017 22:44:00 UTC. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.\n\n\n\n\n\n\n\n\nnewtmgr datetime 2017-03-01T22:44:00-08:00\n-c profile01\n\n\nSets the datetime on a device to March 1st 2017 22:44:00 PST. Newtmgr connects to the device over a connection specified in the \nprofile01\n connection profile.",
+ "title": "newtmgr datetime"
},
{
- "location": "/newtmgr/overview/#usage_1",
- "text": "newtmgr conn [flags]\n newtmgr conn [command] Available commands: add Add a newtmgr connection profile\n delete Delete a newtmgr connection profile\n show Show newtmgr connection profiles Flags: -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.) Description Sub-command Explanation add Adds a connection profile. A properly defined profile needs a name, a connection type, and the physical or virtual port to be used for communication. delete Deletes a connection profile associated with the given name show List the specified or all the connection profiles with the name, connection type, and the controlling terminal or port. Examples Sub-command Usage Explanation add newtmgr conn add myserial02 type=serial connstring=/dev/ttys002 Adds a newtmgr connection profile for the serial port /dev/ttys002 and names it 'myserial02' delete
newtmgr conn delete myserial02 Deletes the connection profile named 'myserial02' show newtmgr conn show myserial01 Shows the details of the profile named 'myserial01' show newtmgr conn show Shows all the current profiles defined",
+ "location": "/newtmgr/command_list/newtmgr_datetime/#newtmgr-datetime",
+ "text": "Manage datetime on a device.",
+ "title": "newtmgr datetime "
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_datetime/#usage",
+ "text": "newtmgr datetime [datetime-value] -c conn_profile [flags]",
"title": "Usage:"
},
{
- "location": "/newtmgr/overview/#echo",
- "text": "",
- "title": "echo"
+ "location": "/newtmgr/command_list/newtmgr_datetime/#global-flags",
+ "text": "-c, --conn string connection profile to use.\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_datetime/#description",
+ "text": "Reads or sets the datetime on a device. Specify a datetime-value in the command to set the datetime on the device. Newtmgr uses the conn_profile connection profile to connect to the device. Note : You must specify the datetime-value in the RFC 3339 format.",
+ "title": "Description"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_datetime/#examples",
+ "text": "Sub-command Usage Explanation newtmgr datetime -c profile01 Reads the datetime value from a device. Newtmgr connects to the device over a connection specified in the profile01 connection profile. newtmgr datetime 2017-03-01T22:44:00 -c profile01 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 profile01 connection profile. newtmgr datetime 2017-03-01T22:44:00-08:00 -c profile01 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 profile01 connection profile.",
+ "title": "Examples"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_echo/",
+ "text": "newtmgr echo \n\n\nSend data to a device and display the echoed back data.\n\n\nUsage:\n\n\n newtmgr echo \ntext\n -c \nconn_profile\n [flags] \n\n\n\n\n\nGlobal Flags:\n\n\n -c, --conn string connection profile to use\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default \ninfo\n)\n -t, --trace print all bytes transmitted and received\n\n\n\n\n\nDescription\n\n\nSends the \ntext\n to a device and outputs the text response from the device. Newtmgr uses the \nconn_profile\n connection profile to connect to the device. \n\n\nExamples\n\n\n\n\n\n\n\n\nSub-command\n\n\nUsage\n\n\nExplanation\n\n\n\n\n\n\n\n\n\n\n\n\nnewtmgr echo hello\n-c profile01\n\n\nSends the text 'hello' to a device and displays the echoed back data. Newtmgr connects to the device over a connection specified in the \nprofile01\n profile.",
+ "title": "newtmgr echo"
},
{
- "location": "/newtmgr/overview/#usage_2",
- "text": "newtmgr echo [flags] [text] This command sends the text to the remote device at the other end of the connection specified with the -c flag and outputs the text when it gets a response from the device. If the device is not responding or if the connection profile is invalid it displays errors. Flags: -c, --conn string connection profile to use.\n -l, --loglevel string log level to use (default WARN.) Examples Sub-command Usage Explanation echo newtmgr echo -c profile01 hello Sends the string 'hello' to the remote device over the connection profile 'profile01' and receives the string back and displays it.",
+ "location": "/newtmgr/command_list/newtmgr_echo/#newtmgr-echo",
+ "text": "Send data to a device and display the echoed back data.",
+ "title": "newtmgr echo "
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_echo/#usage",
+ "text": "newtmgr echo text -c conn_profile [flags]",
"title": "Usage:"
},
{
- "location": "/newtmgr/overview/#image",
- "text": "",
- "title": "image"
+ "location": "/newtmgr/command_list/newtmgr_echo/#global-flags",
+ "text": "-c, --conn string connection profile to use\n -h, --help Help for newtmgr commands\n -l, --loglevel string log level to use (default info )\n -t, --trace print all bytes transmitted and received",
+ "title": "Global Flags:"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_echo/#description",
+ "text": "Sends the text to a device and outputs the text response from the device. Newtmgr uses the conn_profile connection profile to connect to the device.",
+ "title": "Description"
+ },
+ {
+ "location": "/newtmgr/command_list/newtmgr_echo/#examples",
+ "text": "Sub-command Usage Explanation newtmgr echo hello -c profile01 Sends the text 'hello' to a device and displays the echoed back data. Newtmgr connects to the device over a connection specified in the profile01 profile.",
+
<TRUNCATED>