Repository: incubator-mynewt-site Updated Branches: refs/heads/asf-site b435bead2 -> bbba187aa
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/modules/devmgmt/customize_newtmgr/index.html ---------------------------------------------------------------------- diff --git a/latest/os/modules/devmgmt/customize_newtmgr/index.html b/latest/os/modules/devmgmt/customize_newtmgr/index.html new file mode 100644 index 0000000..8f22bec --- /dev/null +++ b/latest/os/modules/devmgmt/customize_newtmgr/index.html @@ -0,0 +1,669 @@ +<!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/os/modules/devmgmt/customize_newtmgr/"> --> + <link rel="shortcut icon" href="../../../../img/favicon.ico"> + + <title>Customizing Newt Manager Usage with mgmt - 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="Customizing Newt Manager Usage with mgmt"> + + + <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-b1</a> released (Dec 13, 2016) + </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="../../../introduction/">Mynewt Documentation</a> + + + <ul> + + + + + + + + <li ><a href="../../../get_started/get_started/">Basic Setup</a> + + + </li> + + + + + + <li > + <a href="../../../get_started/vocabulary/">Concepts</a> + </li> + + + + + + + + <li ><a href="../../../tutorials/tutorials/">Tutorials</a> + + + </li> + + + + + + + + <li ><a href="../../../os_user_guide/">OS User Guide</a> + + + <ul> + + + + + + + + <li ><a href="../../../core_os/mynewt_os/">OS Core</a> + + + </li> + + + + + + + + <li ><a href="../../../core_os/porting/port_os/">Porting to your Platform</a> + + + </li> + + + + + + + + <li ><a href="../../console/console/">Console</a> + + + </li> + + + + + + + + <li ><a href="../../shell/shell/">Shell</a> + + + </li> + + + + + + + + <li ><a href="../../split/split/">Split Images</a> + + + </li> + + + + + + + + <li ><a href="../../bootloader/bootloader/">Bootloader</a> + + + </li> + + + + + + + + <li><a href=" + + + ../../fs/fs/fs/ + +">File System</a> + + + </li> + + + + + + + + <li ><a href="../../hal/hal/">Hardware Abstraction Layer</a> + + + </li> + + + + + + + + <li ><a href="../../drivers/driver/">Drivers</a> + + + </li> + + + + + + + + <li ><a href="../../testutil/testutil/">Test Utilities</a> + + + </li> + + + + + + + + <li ><a href="../newtmgr/">Device Management with Newt Manager</a> + + + <ul> + + + + + + <li > + <a href="../oicmgr/">Using Newt Manager in OIC framework</a> + </li> + + + + + + <li class="active"> + <a href="./">Customizing Newt Manager Usage with mgmt</a> + </li> + + + + </ul> + + </li> + + + + + + + + <li ><a href="../../imgmgr/imgmgr/">Image Manager</a> + + + </li> + + + + + + <li > + <a href="../../baselibc/">Baselibc library</a> + </li> + + + + + + + + <li ><a href="../../elua/elua/">Embedded Lua</a> + + + </li> + + + + + + + + <li ><a href="../../json/json/">JSON</a> + + + </li> + + + + + + + + <li ><a href="../../fcb/fcb/">Flash Circular Buffer</a> + + + </li> + + + + + + + + <li ><a href="../../stats/stats/">Stats</a> + + + </li> + + + + + + + + <li ><a href="../../logs/logs/">Logs</a> + + + </li> + + + + + + + + <li ><a href="../../sysinitconfig/sysinitconfig/">System Configuration And Initialization</a> + + + </li> + + + + </ul> + + </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="../../../../newtmgr/overview/">Newt Manager Guide</a> + + + </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="../../../os_user_guide/">OS User Guide</a></li> + + + + <li>» <a href="../newtmgr/">Device Management with Newt Manager</a></li> + + + + <li>» Customizing Newt Manager Usage with mgmt</li> + + + + </ul> +</div> + </div> + + <h2 id="customizing-newt-manager-usage-with-mgmt">Customizing Newt Manager Usage with mgmt</h2> +<p>The <strong>mgmt</strong> package enables you to customize Newt Manager (in either the newtmgr or oicmgr framerwork) to only process the +commands that your application uses. The newtmgr commands are divided into management groups. +A manager package implements the commands for a group. It implements the handlers that +process the commands for the group and registers the handlers with mgmt. +When newtmgr or oicmgr receives a newtmgr command, +it looks up the handler for the command (by management group id and command id) from mgmt and calls the +handler to process the command. </p> +<p>The system level management groups are listed in following table: +<table style="width:90%" align="center"> +<tt> +<td>Management Group</td> +<td>newtmgr Commands</td> +<td>Package</td> +</tt> +<tr> +<td>MGMT_GROUP_ID_DEFAULT</td> +<td><code>echo</code> <code>taskstats</code> <code>mpstats</code> <code>datetime</code> <code>reset</code></td> +<td>mgmt/newtmgr/nmgr_os</td> +</tr> +<tr> +<td>MGMT_GROUP_ID_IMAGE</td> +<td><code>image</code> </td> +<td>mgmt/imgmgr</td> +</tr> +<tr> +<td>MGMT_GROUP_ID_STATS</td> +<td><code>stat</code> </td> +<td>sys/stats</td> +</tr> +<tr> +<td>MGMT_GROUP_ID_CONFIG</td> +<td><code>config</code></td> +<td>sys/config</td> +</tr> +<tr> +<td>MGMT_GROUP_ID_LOGS</td> +<td><code>log</code></td> +<td>sys/log</td> +</tr> +<tr> +<td>MGMT_GROUP_ID_CRASH</td> +<td><code>crash</code></td> +<td>test/crash_test</td> +</tr> +<tr> +<td>MGMT_GROUP_ID_RUNTEST</td> +<td><code>run</code></td> +<td>test/runtest</td> +</tr> +</table> +Both newtmgr and ocimgr process the MGMT_GROUP_ID_DEFAULT commands by default. You can also +use mgmt to add user defined management group commands. </p> + + <div class="row"> + + + + +<ul class="nav nav-pills" style="margin-bottom: 10px"> + <li> + + <a href=../oicmgr/> + <span class="fa fa-arrow-left"></span> + Previous: Using Newt Manager in OIC framework + </a> + + </li> + <li class="pull-right"> + + <a href=../../imgmgr/imgmgr/> + Next: Image Manager + <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/bbba187a/latest/os/modules/devmgmt/newtmgr/index.html ---------------------------------------------------------------------- diff --git a/latest/os/modules/devmgmt/newtmgr/index.html b/latest/os/modules/devmgmt/newtmgr/index.html index 17985d3..bacbcd3 100644 --- a/latest/os/modules/devmgmt/newtmgr/index.html +++ b/latest/os/modules/devmgmt/newtmgr/index.html @@ -373,6 +373,14 @@ + + + <li > + <a href="../customize_newtmgr/">Customizing Newt Manager Usage with mgmt</a> + </li> + + + </ul> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/modules/devmgmt/oicmgr/index.html ---------------------------------------------------------------------- diff --git a/latest/os/modules/devmgmt/oicmgr/index.html b/latest/os/modules/devmgmt/oicmgr/index.html index 8d916a7..b388e47 100644 --- a/latest/os/modules/devmgmt/oicmgr/index.html +++ b/latest/os/modules/devmgmt/oicmgr/index.html @@ -373,6 +373,14 @@ + + + <li > + <a href="../customize_newtmgr/">Customizing Newt Manager Usage with mgmt</a> + </li> + + + </ul> </li> @@ -551,7 +559,7 @@ </div> </div> - <h2 id="using-the-oic-framework">Using the OIC framework</h2> + <h2 id="using-the-oic-framework">Using the OIC Framework</h2> <p>Apache Mynewt includes support for the OIC interoperability standard through the <code>oicmgr</code> framework. Mynewt defines and exposes oicmgr as an OIC Server resource with the following identity and properties: <br> <table style="width:50%" align="center"> @@ -581,59 +589,6 @@ for example, the <code>echo</code> or <code>datetime</code> commands. </li> <li>Sends the CBOR-encoded command request data in the CoAP message payload.</li> </ul> <p>The <code>oicmgr</code> framework supports transport over BLE, serial, and IP connections to the device.</p> -<h3 id="customize-newt-manager-usage-with-mgmt">Customize Newt Manager usage with mgmt</h3> -<p>The <strong>mgmt</strong> package enables you to customize Newt Manager (in either the newtmgr or oicmgr framerwork) to only process the -commands that your application uses. The newtmgr commands are divided into management groups. -A manager package implements the commands for a group. It implements the handlers that -process the commands for the group and registers the handlers with mgmt. -When newtmgr or oicmgr receives a newtmgr command, -it looks up the handler for the command (by management group id and command id) from mgmt and calls the -handler to process the command. </p> -<p>The system level management groups are listed in following table: -<table style="width:90%" align="center"> -<tt> -<td>Management Group</td> -<td>newtmgr Commands</td> -<td>Package</td> -</tt> -<tr> -<td>MGMT_GROUP_ID_DEFAULT</td> -<td><code>echo</code> <code>taskstats</code> <code>mpstats</code> <code>datetime</code> <code>reset</code></td> -<td>mgmt/newtmgr/nmgr_os</td> -</tr> -<tr> -<td>MGMT_GROUP_ID_IMAGE</td> -<td><code>image</code> </td> -<td>mgmt/imgmgr</td> -</tr> -<tr> -<td>MGMT_GROUP_ID_STATS</td> -<td><code>stat</code> </td> -<td>sys/stats</td> -</tr> -<tr> -<td>MGMT_GROUP_ID_CONFIG</td> -<td><code>config</code></td> -<td>sys/config</td> -</tr> -<tr> -<td>MGMT_GROUP_ID_LOGS</td> -<td><code>log</code></td> -<td>sys/log</td> -</tr> -<tr> -<td>MGMT_GROUP_ID_CRASH</td> -<td><code>crash</code></td> -<td>test/crash_test</td> -</tr> -<tr> -<td>MGMT_GROUP_ID_RUNTEST</td> -<td><code>runtest</code></td> -<td>test/runtest</td> -</tr> -</table> -Both newtmgr and ocimgr process the MGMT_GROUP_ID_DEFAULT commands by default. You can also -use mgmt to add user defined management group commands. </p> <div class="row"> @@ -651,8 +606,8 @@ use mgmt to add user defined management group commands. </p> </li> <li class="pull-right"> - <a href=../../imgmgr/imgmgr/> - Next: Image Manager + <a href=../customize_newtmgr/> + Next: Customizing Newt Manager Usage with mgmt <span class="fa fa-arrow-right"></span> </a> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/modules/imgmgr/imgmgr/index.html ---------------------------------------------------------------------- diff --git a/latest/os/modules/imgmgr/imgmgr/index.html b/latest/os/modules/imgmgr/imgmgr/index.html index b5a6afd..76982a0 100644 --- a/latest/os/modules/imgmgr/imgmgr/index.html +++ b/latest/os/modules/imgmgr/imgmgr/index.html @@ -598,9 +598,9 @@ <ul class="nav nav-pills" style="margin-bottom: 10px"> <li> - <a href=../../devmgmt/oicmgr/> + <a href=../../devmgmt/customize_newtmgr/> <span class="fa fa-arrow-left"></span> - Previous: Using Newt Manager in OIC framework + Previous: Customizing Newt Manager Usage with mgmt </a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/modules/imgmgr/imgmgr_module_init/index.html ---------------------------------------------------------------------- diff --git a/latest/os/modules/imgmgr/imgmgr_module_init/index.html b/latest/os/modules/imgmgr/imgmgr_module_init/index.html index 6010e96..31a003a 100644 --- a/latest/os/modules/imgmgr/imgmgr_module_init/index.html +++ b/latest/os/modules/imgmgr/imgmgr_module_init/index.html @@ -585,29 +585,18 @@ </div> <h2 id="imgmgr_module_init"><font color="#F2853F" style="font-size:24pt"> imgmgr_module_init </font></h2> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> int +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> void imgmgr_module_init(void) </pre></div> -<p>Registers image manager commands with newtmgr. This function should be called while initializing the project, preferably after newtmgr itself has been initialized.</p> +<p>Registers the image manager commands with the <code>mgmt</code> package. <code>sysinit()</code> automatically calls this function during +system initialization.</p> <h4 id="arguments">Arguments</h4> <p>N/A</p> <h4 id="returned-values">Returned values</h4> -<p>List any values returned. -Error codes?</p> +<p>N/A</p> <h4 id="notes">Notes</h4> -<h4 id="example">Example</h4> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">int main(int argc, char **argv) -{ - ... - - nmgr_task_init(NEWTMGR_TASK_PRIO, newtmgr_stack, NEWTMGR_TASK_STACK_SIZE); - imgmgr_module_init(); - - ... -} -</pre></div> <div class="row"> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/STM32F303/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/STM32F303/index.html b/latest/os/tutorials/STM32F303/index.html index 6169a59..3148227 100644 --- a/latest/os/tutorials/STM32F303/index.html +++ b/latest/os/tutorials/STM32F303/index.html @@ -390,7 +390,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/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 14dc98a..6e6a0e4 100644 --- a/latest/os/tutorials/add_newtmgr/index.html +++ b/latest/os/tutorials/add_newtmgr/index.html @@ -10,7 +10,7 @@ <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/add_newtmgr/"> --> <link rel="shortcut icon" href="../../../img/favicon.ico"> - <title>Enable newtmgr in any app - Apache Mynewt</title> + <title>Enable Newt Manager in any app - Apache Mynewt</title> <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> <link rel="stylesheet" href="../../../css/highlight.css"> @@ -41,7 +41,7 @@ </head> - <body class="Enable newtmgr in any app"> + <body class="Enable Newt Manager in any app"> <div class="container"> @@ -313,7 +313,7 @@ <li class="active"> - <a href="./">Enable newtmgr in any app</a> + <a href="./">Enable Newt Manager in any app</a> </li> @@ -451,7 +451,7 @@ - <li>» Enable newtmgr in any app</li> + <li>» Enable Newt Manager in any app</li> @@ -459,59 +459,104 @@ </div> </div> - <h2 id="enabling-newt-manager-newtmgr-in-a-project">Enabling Newt Manager (newtmgr) in a project</h2> -<p><br></p> -<p>This tutorial explains how to add the newtmgr task to a project so that you can interact with your project over newtmgr.</p> + <h2 id="enabling-newt-manager-in-your-application">Enabling Newt Manager in Your Application</h2> +<p><br> +In order for your application to communicate with the newtmgr tool and process Newt Manager commands, you must +enable Newt Manager device management and the support to process Newt Manager commands +in your application. This tutorial explains how to add the support to your application.</p> +<p>This tutorial assumes that you have read the <a href="../../../os/modules/devmgmt/newtmgr/">Device Management with Newt Manager</a> +guide and are familiar with the <code>newtmgr</code> and <code>oicmgr</code> frameworks and all the options that are available +to customize your application.</p> +<p>This tutorial shows you how to configure your application to:</p> +<ul> +<li>Use the newtmgr framework.</li> +<li>Use serial transport to communicate with the newtmgr tool.</li> +<li>Support all Newt Manager commands.</li> +</ul> +<p>See <a href="#other-configuration-options">Other Configuration Options</a> on how to customize your application.</p> <p><br></p> -<h3 id="pre-requisites">Pre-Requisites</h3> +<h3 id="prerequisites">Prerequisites</h3> +<p>Ensure that you have met the following prerequisites before continuing with this tutorial:</p> <ul> -<li>Ensure you have installed <a href="../../../newt/install/newt_mac/">newt</a> and that the -newt command is in your system path. </li> -<li>Ensure that you have installed the newtmgr tool <a href="../../../newtmgr/installing/">newtmgr</a></li> -<li>You must have Internet connectivity to fetch remote Mynewt components.</li> -<li>You must <a href="../../get_started/native_tools/">install the compiler tools</a> to +<li>Installed the <a href="../../../newt/install/newt_mac/">newt tool</a>. </li> +<li>Installed the <a href="../../../newtmgr/installing/">newtmgr tool</a>.</li> +<li>Have Internet connectivity to fetch remote Mynewt components.</li> +<li>Installed the <a href="../../get_started/native_tools/">compiler tools</a> to support native compiling to build the project this tutorial creates. </li> -<li>You must install the <a href="https://www.segger.com/jlink-software.html">Segger JLINK package</a> to load your project on the board.</li> -<li>Cable to establish a serial USB connection between the board and the laptop</li> +<li>Have a cable to establish a serial USB connection between the board and the laptop.</li> </ul> <p><br></p> -<h3 id="use-an-existing-project">Use an existing project</h3> -<p>Since all we're doing is adding newtmgr capability to a project, we assume that you have worked through at least some of the other tutorials, and have an existing project. -For this example, we'll be modifying the <a href="../bletiny_project/">ble_tiny</a> project to enable newtmgr connectivity. We'll be calling our app myble as in that project as well. -Feel free to use whatever project you'd like though.</p> -<p>The first thing you'll need to add is a new dependency for your app. In the repo for the bletiny app you'll need to add the following line to the pkg.yml file:</p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"> - libs/newtmgr -</pre></div> - - -<p>Now the application will know to pull in the newtmgr code.</p> -<p><br></p> -<h3 id="modify-the-source">Modify the source</h3> -<p>First, you'll need to include the newtmgr header file:</p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">#include <newtmgr/newtmgr.h> +<h3 id="use-an-existing-project">Use an Existing Project</h3> +<p>We assume that you have worked through at least some of the other tutorials and have an existing project. +In this example, we modify the <a href="../bletiny_project/">ble_tiny</a> project to enable Newt Manager support. +We call our application <code>myble</code>. You can create the application using any name you choose. </p> +<h3 id="modify-package-dependencies-and-configurations">Modify Package Dependencies and Configurations</h3> +<p>Add the following packages to the <code>pkg.deps</code> parameter in your target or application <code>pkg.yml</code> file:</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">pkg.deps: + - mgmt/newtmgr + - mgmt/newtmgr/transport/nmgr_shell + - mgmt/imgmgr + - sys/log/full + - sys/stats/full + - sys/config + - test/crash_test + - test/runtest </pre></div> -<p>Next, you'll need to declare a task for the newtmgr:</p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">#define NEWTMGR_TASK_PRIO (4) -#define NEWTMGR_TASK_STACK_SIZE (OS_STACK_ALIGN(896)) -os_stack_t newtmgr_stack[NEWTMGR_TASK_STACK_SIZE]; +<p>Each package provides the following Newt Manager functionality:</p> +<ul> +<li><code>mgmt/newtmgr</code>: Supports the newtmgr framework and the +Newt Manager <code>echo</code>, <code>taskstats</code> <code>mpstats</code>, <code>datetime</code>, and <code>reset</code> commands.</li> +<li><code>mgmt/newtmgr/transport/nmgr_shell</code>: Supports serial transport.</li> +<li><code>mgmt/imgmgr</code>: Supports the <code>newtmgr image</code> command </li> +<li><code>sys/log/full</code> : Supports the <code>newtmgr log</code> command.</li> +<li><code>sys/stats/full</code>: Supports the <code>newtmgr stat</code> command. </li> +<li><code>sys/config</code>: Supports the <code>newtmgr config</code> command. </li> +<li><code>test/crash_test</code>: Supports the <code>newtmgr crash</code> command. </li> +<li><code>test/runtest</code>: Supports the <code>newt run</code> command.</li> +</ul> +<p>Add the following configuration setting values to the <code>syscfg.vals</code> parameter in the target or +application <code>syscfg.yml</code> file:</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">syscfg.vals: + LOG_NEWTMGR: 1 + STATS_NEWTMGR: 1 + CONFIG_NEWTMGR: 1 + CRASH_TEST_NEWTMGR: 1 + RUNTEST_NEWTMGR: 1 + SHELL_TASK: 1 </pre></div> -<p>Next you'll scroll down (way down) to the <code>main()</code> function and find the lines:</p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">rc = console_init(shell_console_rx_cb); -assert(rc == 0); +<p>The first five configuration settings enable support for the Newt Manager <code>log</code>, <code>stats</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> +<p><br></p> +<h3 id="modify-the-source">Modify the Source</h3> +<p>Your application must designate an event queue that the <code>mgmt</code> package uses to receive request events from +the newtmgr tool. It must also initialize a task and implement the task handler to +dispatch events from this queue. The <code>mgmt</code> package executes and processes newtmgr +request events in the context of this task. Your application, however, does +not need to create a dedicated event queue and task for this purpose and can use its default +event queue. This example uses the application's default event queue. </p> +<p>The <code>mgmt</code> package exports the <code>void mgmt_evq_set(struct os_eventq *evq)</code> function that an application must call +to designate the event queue. Modify <code>main.c</code> to add this call as follows:</p> +<p>Add the <code>mgmt/mgmt.h</code> header file: </p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">#include <mgmt/mgmt.h> </pre></div> -<p>After those lines, add:</p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">nmgr_task_init(NEWTMGR_TASK_PRIO, newtmgr_stack, NEWTMGR_TASK_STACK_SIZE); +<p>Add the call to designate the event queue. In the <code>main()</code> function,<br /> +scroll down to the <code>os_eventq_dflt_set(&ble_tiny_evq)</code> function call and add the +following statement below it:</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">mgmt_eventq_set(&ble_tiny_evq) </pre></div> -<h3 id="build-targets">Build targets</h3> -<p>Then build the two targets.</p> +<p>The <code>mgmt_eventq_set()</code> function must be called after your application has initialized the event queue and task.</p> +<h3 id="build-the-targets">Build the Targets</h3> +<p>Build the two targets as follows:</p> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt build nrf52_boot <snip> App successfully built: ./bin/nrf52_boot/apps/boot/boot.elf @@ -525,35 +570,37 @@ Compiling os.c <p><br></p> -<h3 id="create-the-app-image">Create the app image</h3> -<p>Generate a signed application image for the <code>myble</code> target. The version number is arbitrary.</p> +<h3 id="create-the-application-image">Create the Application Image</h3> +<p>Generate a signed application image for the <code>myble</code> target. You can use any version number you choose.</p> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt create-image myble 1.0.0 -App image succesfully generated: ./bin/makerbeacon/apps/bletiny/bletiny.img +App image successfully generated: ./bin/makerbeacon/apps/bletiny/bletiny.img Build manifest: ./bin/makerbeacon/apps/bletiny/manifest.json </pre></div> <p><br></p> -<h3 id="load-the-image">Load the image</h3> -<p>Make sure the USB connector is in place and the power LED on the board is lit. Use the Power ON/OFF switch to reset the board after loading the image.</p> +<h3 id="load-the-image">Load the Image</h3> +<p>Ensure the USB connector is in place and the power LED on the board is lit. Turn the power switch on your board off, +then back on to reset the board after loading the image.</p> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt load nrf52_boot $ newt load myble </pre></div> +<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> <p><br></p> -<h3 id="set-up-newtmgr-connection">Set up newtmgr connection</h3> -<p>Newtmgr requires a connection profile in order to connect to your board. If you haven't yet, follow the <a href="../../../newtmgr/overview/">instructions</a> for setting up your connection profile.</p> -<p><br></p> -<h3 id="connecting-with-your-app">Connecting with your app</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 agains your app. </p> -<p>To test and make sure that newtmgr is working, try the echo command:</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> +<p>Issue the <code>echo</code> command to ensure that your application is communicating with the newtmgr tool:</p> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"># newtmgr -c myconn echo hello -{"r": "hello"} +hello </pre></div> -<p>Newtmgr wraped the response in valid JSON notation. Now let's look at some BLE stats using newtmgr:</p> +<p>Test your application to ensure that it can process a Newt Manager command that is supported by a different package. +Issue the <code>stat</code> command to see the BLE stats. </p> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">newtmgr -c myconn stat ble_att Return Code = 0 Stats Name: ble_att @@ -565,44 +612,9 @@ Stats Name: ble_att read_group_type_rsp_tx: 0 indicate_req_rx: 0 find_type_value_rsp_tx: 0 - read_mult_rsp_tx: 0 - exec_write_req_rx: 0 - exec_write_rsp_tx: 0 - error_rsp_tx: 0 - find_type_value_rsp_rx: 0 - read_type_req_tx: 0 - read_type_rsp_rx: 0 - read_rsp_tx: 0 - read_blob_req_tx: 0 - mtu_req_tx: 0 - read_req_tx: 0 - read_blob_rsp_tx: 0 - read_mult_req_rx: 0 - write_req_tx: 0 - prep_write_rsp_tx: 0 - indicate_rsp_rx: 0 - write_cmd_rx: 0 - exec_write_rsp_rx: 0 - find_info_req_rx: 0 - mtu_rsp_rx: 0 - prep_write_req_rx: 0 - notify_req_rx: 0 - read_group_type_rsp_rx: 0 - prep_write_rsp_rx: 0 - indicate_rsp_tx: 0 - find_info_rsp_tx: 0 - read_blob_req_rx: 0 - read_group_type_req_rx: 0 - write_cmd_tx: 0 - mtu_req_rx: 0 - read_mult_rsp_rx: 0 - write_rsp_rx: 0 - write_req_rx: 0 - read_type_rsp_tx: 0 - read_mult_req_tx: 0 - error_rsp_rx: 0 - find_info_rsp_rx: 0 - find_type_value_req_tx: 0 + + ... + read_req_rx: 0 read_type_req_rx: 0 notify_req_tx: 0 @@ -614,7 +626,55 @@ Stats Name: ble_att </pre></div> -<p>Your application is now able to communicate via newtmgr!</p> +<p>Your application is now able to communicate with the newtmgr tool.</p> +<h3 id="other-configuration-options">Other Configuration Options</h3> +<p>This section explains how to customize your application to use other Newt Manager protocol options.</p> +<h4 id="newtmgr-framework-transport-protocol-options">Newtmgr Framework Transport Protocol Options</h4> +<p>The newtmgr framework currently supports BLE and serial transport protocols. +To configure the transport protocols that are supported, modify the <code>pkg.yml</code> +and <code>syscfg.yml</code> files as follows:</p> +<ul> +<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> +</ul> +<p><br></p> +<h4 id="oicmgr-framework-options">Oicmgr Framework Options</h4> +<p>To use the oicmgr framework instead of the newtmgr framework, modify the <code>pkg.yml</code> and <code>syscfg.yml</code> files +as follows:</p> +<ul> +<li>Add the <code>mgmt/oicmgr</code> package (instead of the <code>mgmt/newtmgr</code> and <code>mgmt/newtmgr/transport</code> packages +as described previously) to the <code>pkg.deps</code> parameter.</li> +<li>Add <code>OC_SERVER: 1</code> to the <code>syscfg.vals</code> parameter.</li> +</ul> +<p>Oicmgr supports the IP, serial, and BLE transport protocols. To configure the transport protocols that are supported, +set the configuration setting values in the <code>syscfg.vals</code> parameter as follows:</p> +<ul> +<li>Add <code>OC_TRANSPORT_IP: 1</code> to enable IP transport. </li> +<li>Add <code>OC_TRANSPORT_GATT: 1</code> to enable BLE transport.</li> +<li>Add <code>OC_TRANSPORT_SERIAL: 1</code> and <code>SHELL_TASK: 1</code> to enable serial transport.</li> +</ul> +<p><br></p> +<h4 id="customize-the-newt-manager-commands-that-your-application-supports">Customize the Newt Manager Commands that Your Application Supports</h4> +<p>We recommend that you only enable support for the Newt Manager commands that your application uses +to reduce your application code size. To configure the commands that are supported, set the configuration +setting values in the <code>syscfg.vals</code> parameter as follows:</p> +<ul> +<li>Add <code>LOG_NEWTMGR: 1</code> to enable support for the <code>newtmgr log</code> command.</li> +<li>Add <code>STATS_NEWTMGR: 1</code> to enable support for the <code>newtmgr stat</code> command.</li> +<li>Add <code>CONFIG_NEWTMGR: 1</code> to enable support for the <code>newtmgr config</code> command.</li> +<li>Add <code>CRASH_TEST_NEWTMGR: 1</code> to enable support for the <code>newtmgr crash</code> command.</li> +<li>Add <code>RUNTEST_NEWTMGR: 1</code> to enable support for the <code>newtmgr crash</code> command.</li> +</ul> +<p>Notes: </p> +<ul> +<li>When you enable Newt Manager support, using either the newtmgr or oicmgr framework, your application automatically +supports the Newt Manager <code>echo</code>, <code>taskstats</code>, <code>mpstats</code>, <code>datetime</code>, and <code>reset</code> commands. These +commands cannot be configured individually.</li> +<li>The <code>mgmt/imgmgr</code> package does not provide a configuration setting to enable or disable support +for the <code>newtmgr image</code> command. Do not specify the package in the <code>pkg.deps</code> parameter if +your device has limited flash memory and cannot support Over-The-Air (OTA) firmware upgrades.</li> +</ul> <div class="row"> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/add_shell/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/add_shell/index.html b/latest/os/tutorials/add_shell/index.html index b70d47e..07c86a1 100644 --- a/latest/os/tutorials/add_shell/index.html +++ b/latest/os/tutorials/add_shell/index.html @@ -313,7 +313,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> @@ -580,7 +580,7 @@ prompt on <a href=../add_newtmgr/> <span class="fa fa-arrow-left"></span> - Previous: Enable newtmgr in any app + Previous: Enable Newt Manager in any app </a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/air_quality_ble/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/air_quality_ble/index.html b/latest/os/tutorials/air_quality_ble/index.html index 47317f6..f381d1d 100644 --- a/latest/os/tutorials/air_quality_ble/index.html +++ b/latest/os/tutorials/air_quality_ble/index.html @@ -333,7 +333,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/air_quality_sensor/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/air_quality_sensor/index.html b/latest/os/tutorials/air_quality_sensor/index.html index 4b7298c..667f0a6 100644 --- a/latest/os/tutorials/air_quality_sensor/index.html +++ b/latest/os/tutorials/air_quality_sensor/index.html @@ -333,7 +333,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/arduino_zero/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/arduino_zero/index.html b/latest/os/tutorials/arduino_zero/index.html index d9d11c0..4b804c8 100644 --- a/latest/os/tutorials/arduino_zero/index.html +++ b/latest/os/tutorials/arduino_zero/index.html @@ -376,7 +376,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/blehci_project/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/blehci_project/index.html b/latest/os/tutorials/blehci_project/index.html index 3a95e9e..cc90c6c 100644 --- a/latest/os/tutorials/blehci_project/index.html +++ b/latest/os/tutorials/blehci_project/index.html @@ -313,7 +313,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/bleprph/bleprph-adv/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/bleprph/bleprph-adv/index.html b/latest/os/tutorials/bleprph/bleprph-adv/index.html index 00608be..22e6d65 100644 --- a/latest/os/tutorials/bleprph/bleprph-adv/index.html +++ b/latest/os/tutorials/bleprph/bleprph-adv/index.html @@ -313,7 +313,7 @@ <li > - <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/bleprph/bleprph-app/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/bleprph/bleprph-app/index.html b/latest/os/tutorials/bleprph/bleprph-app/index.html index 336083d..755de43 100644 --- a/latest/os/tutorials/bleprph/bleprph-app/index.html +++ b/latest/os/tutorials/bleprph/bleprph-app/index.html @@ -313,7 +313,7 @@ <li > - <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/bleprph/bleprph-chr-access/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/bleprph/bleprph-chr-access/index.html b/latest/os/tutorials/bleprph/bleprph-chr-access/index.html index 1919f6d..0df01cb 100644 --- a/latest/os/tutorials/bleprph/bleprph-chr-access/index.html +++ b/latest/os/tutorials/bleprph/bleprph-chr-access/index.html @@ -313,7 +313,7 @@ <li > - <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/bleprph/bleprph-gap-event/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/bleprph/bleprph-gap-event/index.html b/latest/os/tutorials/bleprph/bleprph-gap-event/index.html index ec9a17e..7dc4eb3 100644 --- a/latest/os/tutorials/bleprph/bleprph-gap-event/index.html +++ b/latest/os/tutorials/bleprph/bleprph-gap-event/index.html @@ -313,7 +313,7 @@ <li > - <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/bleprph/bleprph-intro/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/bleprph/bleprph-intro/index.html b/latest/os/tutorials/bleprph/bleprph-intro/index.html index ab1891b..612fd3f 100644 --- a/latest/os/tutorials/bleprph/bleprph-intro/index.html +++ b/latest/os/tutorials/bleprph/bleprph-intro/index.html @@ -313,7 +313,7 @@ <li > - <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/bleprph/bleprph-svc-reg/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/bleprph/bleprph-svc-reg/index.html b/latest/os/tutorials/bleprph/bleprph-svc-reg/index.html index 64aa62d..289ebe8 100644 --- a/latest/os/tutorials/bleprph/bleprph-svc-reg/index.html +++ b/latest/os/tutorials/bleprph/bleprph-svc-reg/index.html @@ -313,7 +313,7 @@ <li > - <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/bletiny_project/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/bletiny_project/index.html b/latest/os/tutorials/bletiny_project/index.html index 8076ce3..d4e4c76 100644 --- a/latest/os/tutorials/bletiny_project/index.html +++ b/latest/os/tutorials/bletiny_project/index.html @@ -313,7 +313,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/blinky_console/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/blinky_console/index.html b/latest/os/tutorials/blinky_console/index.html index 90f2b4b..c1cdcb6 100644 --- a/latest/os/tutorials/blinky_console/index.html +++ b/latest/os/tutorials/blinky_console/index.html @@ -376,7 +376,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/blinky_primo/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/blinky_primo/index.html b/latest/os/tutorials/blinky_primo/index.html index 17fe3b3..cc2df97 100644 --- a/latest/os/tutorials/blinky_primo/index.html +++ b/latest/os/tutorials/blinky_primo/index.html @@ -376,7 +376,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/blinky_sram_olimex/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/blinky_sram_olimex/index.html b/latest/os/tutorials/blinky_sram_olimex/index.html index 23b347c..ad660aa 100644 --- a/latest/os/tutorials/blinky_sram_olimex/index.html +++ b/latest/os/tutorials/blinky_sram_olimex/index.html @@ -376,7 +376,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/event_queue/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/event_queue/index.html b/latest/os/tutorials/event_queue/index.html index e19b111..c6893c3 100644 --- a/latest/os/tutorials/event_queue/index.html +++ b/latest/os/tutorials/event_queue/index.html @@ -313,7 +313,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/ibeacon/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/ibeacon/index.html b/latest/os/tutorials/ibeacon/index.html index 91b2891..252127d 100644 --- a/latest/os/tutorials/ibeacon/index.html +++ b/latest/os/tutorials/ibeacon/index.html @@ -313,7 +313,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/nRF52/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/nRF52/index.html b/latest/os/tutorials/nRF52/index.html index cd24c5f..4628563 100644 --- a/latest/os/tutorials/nRF52/index.html +++ b/latest/os/tutorials/nRF52/index.html @@ -376,7 +376,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/olimex/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/olimex/index.html b/latest/os/tutorials/olimex/index.html index 9e3cee7..ab7791e 100644 --- a/latest/os/tutorials/olimex/index.html +++ b/latest/os/tutorials/olimex/index.html @@ -376,7 +376,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/pin-wheel-mods/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/pin-wheel-mods/index.html b/latest/os/tutorials/pin-wheel-mods/index.html index 6dd440f..5a46702 100644 --- a/latest/os/tutorials/pin-wheel-mods/index.html +++ b/latest/os/tutorials/pin-wheel-mods/index.html @@ -390,7 +390,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/project-slinky/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/project-slinky/index.html b/latest/os/tutorials/project-slinky/index.html index ba462d0..344763b 100644 --- a/latest/os/tutorials/project-slinky/index.html +++ b/latest/os/tutorials/project-slinky/index.html @@ -333,7 +333,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/project-target-slinky/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/project-target-slinky/index.html b/latest/os/tutorials/project-target-slinky/index.html index 4c80f6f..967f0d7 100644 --- a/latest/os/tutorials/project-target-slinky/index.html +++ b/latest/os/tutorials/project-target-slinky/index.html @@ -333,7 +333,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> @@ -659,7 +659,7 @@ $ newt load stm32_slinky <li class="pull-right"> <a href=../add_newtmgr/> - Next: Enable newtmgr in any app + Next: Enable Newt Manager in any app <span class="fa fa-arrow-right"></span> </a> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/repo/add_repos/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/repo/add_repos/index.html b/latest/os/tutorials/repo/add_repos/index.html index 802f819..72b5f0a 100644 --- a/latest/os/tutorials/repo/add_repos/index.html +++ b/latest/os/tutorials/repo/add_repos/index.html @@ -335,7 +335,7 @@ <li > - <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/repo/create_repo/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/repo/create_repo/index.html b/latest/os/tutorials/repo/create_repo/index.html index 86846fc..cb8c568 100644 --- a/latest/os/tutorials/repo/create_repo/index.html +++ b/latest/os/tutorials/repo/create_repo/index.html @@ -335,7 +335,7 @@ <li > - <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/repo/upgrade_repo/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/repo/upgrade_repo/index.html b/latest/os/tutorials/repo/upgrade_repo/index.html index 0cef62b..93af14e 100644 --- a/latest/os/tutorials/repo/upgrade_repo/index.html +++ b/latest/os/tutorials/repo/upgrade_repo/index.html @@ -335,7 +335,7 @@ <li > - <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/tasks_lesson/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/tasks_lesson/index.html b/latest/os/tutorials/tasks_lesson/index.html index b7f3100..aeeb4eb 100644 --- a/latest/os/tutorials/tasks_lesson/index.html +++ b/latest/os/tutorials/tasks_lesson/index.html @@ -313,7 +313,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/tutorials/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/tutorials/index.html b/latest/os/tutorials/tutorials/index.html index b7b2ac1..69b176e 100644 --- a/latest/os/tutorials/tutorials/index.html +++ b/latest/os/tutorials/tutorials/index.html @@ -313,7 +313,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/unit_test/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/unit_test/index.html b/latest/os/tutorials/unit_test/index.html index afdfda7..96a269c 100644 --- a/latest/os/tutorials/unit_test/index.html +++ b/latest/os/tutorials/unit_test/index.html @@ -313,7 +313,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/os/tutorials/wi-fi_on_arduino/index.html ---------------------------------------------------------------------- diff --git a/latest/os/tutorials/wi-fi_on_arduino/index.html b/latest/os/tutorials/wi-fi_on_arduino/index.html index e59d7b9..d2af4da 100644 --- a/latest/os/tutorials/wi-fi_on_arduino/index.html +++ b/latest/os/tutorials/wi-fi_on_arduino/index.html @@ -313,7 +313,7 @@ <li > - <a href="../add_newtmgr/">Enable newtmgr in any app</a> + <a href="../add_newtmgr/">Enable Newt Manager in any app</a> </li> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/latest/sitemap.xml ---------------------------------------------------------------------- diff --git a/latest/sitemap.xml b/latest/sitemap.xml index 8d307ee..37caf7e 100644 --- a/latest/sitemap.xml +++ b/latest/sitemap.xml @@ -4,7 +4,7 @@ <url> <loc>http://mynewt.apache.org/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -13,7 +13,7 @@ <url> <loc>http://mynewt.apache.org/pages/ble/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -22,7 +22,7 @@ <url> <loc>http://mynewt.apache.org/quick-start/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -30,7 +30,7 @@ <url> <loc>http://mynewt.apache.org/about/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -38,7 +38,7 @@ <url> <loc>http://mynewt.apache.org/talks/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -46,7 +46,7 @@ <url> <loc>http://mynewt.apache.org/download/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -54,7 +54,7 @@ <url> <loc>http://mynewt.apache.org/community/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -62,7 +62,7 @@ <url> <loc>http://mynewt.apache.org/events/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -71,7 +71,7 @@ <url> <loc>http://mynewt.apache.org/os/introduction/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -83,7 +83,7 @@ <url> <loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -123,13 +123,13 @@ <url> <loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://mynewt.apache.org/faq/answers/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/sitemap.xml ---------------------------------------------------------------------- diff --git a/sitemap.xml b/sitemap.xml index 06a723e..6efe306 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,7 @@ <url> <loc>http://mynewt.apache.org/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -13,13 +13,13 @@ <url> <loc>http://mynewt.apache.org/pages/ble/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://mynewt.apache.org/pages/securitybullets/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -28,7 +28,7 @@ <url> <loc>http://mynewt.apache.org/quick-start/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -36,7 +36,7 @@ <url> <loc>http://mynewt.apache.org/about/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -44,7 +44,7 @@ <url> <loc>http://mynewt.apache.org/talks/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -52,7 +52,7 @@ <url> <loc>http://mynewt.apache.org/download/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -60,7 +60,7 @@ <url> <loc>http://mynewt.apache.org/community/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -68,7 +68,7 @@ <url> <loc>http://mynewt.apache.org/events/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -77,7 +77,7 @@ <url> <loc>http://mynewt.apache.org/os/introduction/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -89,7 +89,7 @@ <url> <loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -129,13 +129,13 @@ <url> <loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://mynewt.apache.org/faq/answers/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/bbba187a/v0_9_0/sitemap.xml ---------------------------------------------------------------------- diff --git a/v0_9_0/sitemap.xml b/v0_9_0/sitemap.xml index 06a723e..6efe306 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-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -13,13 +13,13 @@ <url> <loc>http://mynewt.apache.org/pages/ble/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://mynewt.apache.org/pages/securitybullets/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -28,7 +28,7 @@ <url> <loc>http://mynewt.apache.org/quick-start/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -36,7 +36,7 @@ <url> <loc>http://mynewt.apache.org/about/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -44,7 +44,7 @@ <url> <loc>http://mynewt.apache.org/talks/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -52,7 +52,7 @@ <url> <loc>http://mynewt.apache.org/download/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -60,7 +60,7 @@ <url> <loc>http://mynewt.apache.org/community/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -68,7 +68,7 @@ <url> <loc>http://mynewt.apache.org/events/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -77,7 +77,7 @@ <url> <loc>http://mynewt.apache.org/os/introduction/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -89,7 +89,7 @@ <url> <loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> @@ -129,13 +129,13 @@ <url> <loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://mynewt.apache.org/faq/answers/</loc> - <lastmod>2017-01-25</lastmod> + <lastmod>2017-01-27</lastmod> <changefreq>daily</changefreq> </url>
