http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/tutorials/bleprph/bleprph-app/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/bleprph/bleprph-app/index.html b/develop/os/tutorials/bleprph/bleprph-app/index.html new file mode 100644 index 0000000..f43561e --- /dev/null +++ b/develop/os/tutorials/bleprph/bleprph-app/index.html @@ -0,0 +1,620 @@ +<!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/tutorials/bleprph/bleprph-app/"> --> + <link rel="shortcut icon" href="../../../../img/favicon.ico"> + + <title>BLE Peripheral App - 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="BLE Peripheral App"> + + + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </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</a> + + + <ul> + + + + + + + + <li><a href=" + ../../arduino_zero/ +">Project Blinky</a> + + + </li> + + + + + + + + <li ><a href="../../repo/add_repos/">Work with repositories</a> + + + </li> + + + + + + + + <li><a href=" + ../../tasks_lesson/ +">A Sample Lesson</a> + + + </li> + + + + + + <li > + <a href="../../wi-fi_on_arduino/">Enable Wi-Fi on Arduino Zero</a> + </li> + + + + + + <li > + <a href="../../unit_test/">Write a Test Suite for a Package</a> + </li> + + + + + + <li > + <a href="../../air_quality_sensor/">Air-quality Sensor project</a> + </li> + + + + + + <li > + <a href="../../event_queue/">Add task to manage multiple events</a> + </li> + + + + + + + + <li><a href=" + ../../project-slinky/ +">Project Slinky for remote comms</a> + + + </li> + + + + + + <li > + <a href="../../add_newtmgr/">Enable newtmgr in any app</a> + </li> + + + + + + <li > + <a href="../../bletiny_project/">BLE app to check stats via console</a> + </li> + + + + + + + + <li ><a href="../bleprph-intro/">BLE peripheral project</a> + + + <ul> + + + + + + <li > + <a href="../bleprph-svc-reg/">Service Registration</a> + </li> + + + + + + <li > + <a href="../bleprph-chr-access/">Characteristic Access</a> + </li> + + + + + + <li > + <a href="../bleprph-adv/">Advertising</a> + </li> + + + + + + <li > + <a href="../bleprph-gap-event/">GAP Event Callbacks</a> + </li> + + + + + + <li class="active"> + <a href="./">BLE Peripheral App</a> + </li> + + + + </ul> + + </li> + + + + + + <li > + <a href="../../ibeacon/">BLE iBeacon</a> + </li> + + + + + + <li > + <a href="../../blehci_project/">BLE HCI interface</a> + </li> + + + + </ul> + + </li> + + + + + + + + <li ><a href="../../../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="../../../../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="/develop/os/introduction">Docs</a></li> + + + + <li>» <a href="../../tutorials/">Tutorials</a></li> + + + + <li>» <a href="../bleprph-intro/">BLE peripheral project</a></li> + + + + <li>» BLE Peripheral App</li> + + + + </ul> +</div> + </div> + + <h2 id="ble-peripheral-project">BLE Peripheral Project</h2> +<h3 id="overview">Overview</h3> +<p><br></p> +<p>Now that we've gone through how BLE Apps are contructed, how they function, and how all the parts fit together +let's try out a BLE Peripheral App to see how it all works.</p> +<p><br></p> +<h3 id="prerequisites">Prerequisites</h3> +<p><br></p> +<ul> +<li>You should already have completed the previous <a href="../../bletiny_project/">BLE Tiny Project</a>, though it's not required.</li> +<li>You should have a BLE Central App of some sort to connect with. On Mac OS or iOS, you can use <a href="https://itunes.apple.com/us/app/lightblue-explorer-bluetooth/id557428110?mt=8">LightBlue</a> +which is a free app to browse and connect to BLE Peripheral devices. </li> +</ul> +<p><br></p> +<h3 id="create-a-new-target">Create a New Target</h3> +<p>You can create a new project instead, but this tutorial will simply use the previously created bletiny project and add a new target for the BLE Peripheral</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt target create myperiph +Target targets/myperiph successfully created +$ newt target set myperiph bsp=@apache-mynewt-core/hw/bsp/nrf52dk +Target targets/myperiph successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf52dk +$ newt target set myperiph app=@apache-mynewt-core/apps/bleprph +Target targets/myperiph successfully set target.app to @apache-mynewt-core/apps/bleprph +$ newt target set myperiph build_profile=optimized +Target targets/myperiph successfully set target.build_profile to optimized +$ newt build blerph +Building target targets/myperiph +... +Linking ~/dev/nrf52dk/bin/targets/myperiph/app/apps/bleprph/bleprph.elf +Target successfully built: targets/myperiph +$ newt create-image myperiph 1.0.0 +App image succesfully generated: ~/dev/nrf52dk/bin/targets/myperiph/app/apps/bleprph/bleprph.img +$ newt load myperiph +Loading app image into slot 1 +</pre></div> + + +<p>Now if you reset the board, and fire up your BLE Central App, you should see a new peripheral device called 'nimble-bleprph'.</p> +<p><br></p> +<p><img alt="LightBlue" src="../../pics/LightBlue-1.jpg" title="LightBlue iOS App with nimble-bleprph device" /></p> +<p><br></p> +<p>Now that you can see the device, you can begin to interact with the advertised service. </p> +<p>Click on the device and you'll establish a connection.</p> +<p><br></p> +<p><img alt="LightBlue" src="../../pics/LightBlue-2.jpg" title="LightBlue iOS App connected to the nimble-bleprph device" /></p> +<p><br></p> +<p>Now that you're connected, you can see the Services that are being advertised.</p> +<p>Scroll to the bottom and you will see a Read Characteristic, and a Read/Write Characteristic.</p> +<p><img alt="LightBlue" src="../../pics/LightBlue-3.jpg" title="LightBlue iOS App connected to the nimble-bleprph device" /></p> +<p><br></p> +<p>Just click on the Read Write Characteristic and you will see the existing value.</p> +<p><img alt="LightBlue" src="../../pics/LightBlue-4.jpg" title="LightBlue iOS App with nimble-bleprph device Characteristic" /></p> +<p><br></p> +<p>Type in a new value.</p> +<p><img alt="LightBlue" src="../../pics/LightBlue-5.jpg" title="LightBlue iOS App Value Change" /></p> +<p><br></p> +<p>And you will see the new value reflected.</p> +<p><img alt="LightBlue" src="../../pics/LightBlue-6.jpg" title="LightBlue iOS App with nimble-bleprph new value" /></p> +<p><br></p> +<p>If you still have your console connected, you will be able to see the connection requests, and pairing, +happen on the device as well.</p> +<p><br></p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="background-color: #ffffcc">258894:[ts=2022609336ssb, mod=64 level=1] connection established; status=0 handle=1 our_ota_addr_type=0 our_ota_addr=0a:0a:0a:0a:0a:0a our_id_addr_type=0 our_id_addr=0a:0a:0a:0a:0a:0a peer_ota_addr_type=1 peer_ota_addr=7f:be:d4:44:c0:d4 peer_id_addr_type=1 peer_id_addr=7f:be:d4:44:c0:d4 conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0 +</span>258904:[ts=2022687456ssb, mod=64 level=1] +258917:[ts=2022789012ssb, mod=64 level=1] mtu update event; conn_handle=1 cid=4 mtu=185 +258925:[ts=2022851508ssb, mod=64 level=1] subscribe event; conn_handle=1 attr_handle=14 reason=1 prevn=0 curn=0 previ=0 curi=1 +261486:[ts=2042859320ssb, mod=64 level=1] encryption change event; status=0 handle=1 our_ota_addr_type=0 our_ota_addr=0a:0a:0a:0a:0a:0a our_id_addr_type=0 our_id_addr=0a:0a:0a:0a:0a:0a peer_ota_addr_type=1 peer_ota_addr=7f:be:d4:44:c0:d4 peer_id_addr_type=1 peer_id_addr=7f:be:d4:44:c0:d4 conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=1 authenticated=0 bonded=1 +261496:[ts=2042937440ssb, mod=64 level=1] +</pre></div> + + +<p><br></p> +<p>Congratulations! You've just built and connected your first BLE Peripheral device!</p> + + <div class="row"> + + + + +<ul class="nav nav-pills" style="margin-bottom: 10px"> + <li> + + <a href=../bleprph-gap-event/> + <span class="fa fa-arrow-left"></span> + Previous: GAP Event Callbacks + </a> + + </li> + <li class="pull-right"> + + <a href=../../ibeacon/> + Next: BLE iBeacon + <span class="fa fa-arrow-right"></span> + </a> + + </li> +</ul> + </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</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/89c943e1/develop/os/tutorials/bleprph/bleprph-chr-access/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/bleprph/bleprph-chr-access/index.html b/develop/os/tutorials/bleprph/bleprph-chr-access/index.html index aca0ddf..e4b933e 100644 --- a/develop/os/tutorials/bleprph/bleprph-chr-access/index.html +++ b/develop/os/tutorials/bleprph/bleprph-chr-access/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/bleprph/bleprph-chr-access/"> --> <link rel="shortcut icon" href="../../../../img/favicon.ico"> - <title>Characteristic Access - Apache Mynewt</title> + <title>Characteristic Access - Apache Mynewt</title> <link href="../../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../../css/font-awesome-4.0.3.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=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'> + <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"> @@ -45,6 +44,16 @@ <body class="Characteristic Access"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<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"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> <div class="top"> - <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt"> <div role="search"> <form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -346,6 +363,14 @@ + + + <li > + <a href="../bleprph-app/">BLE Peripheral App</a> + </li> + + + </ul> </li> @@ -442,14 +467,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <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> @@ -469,7 +489,6 @@ </ul> </div> - </div> </div> <h2 id="ble-peripheral-project">BLE Peripheral Project</h2> @@ -705,34 +724,22 @@ length error.</p> </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <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> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/tutorials/bleprph/bleprph-gap-event/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/bleprph/bleprph-gap-event/index.html b/develop/os/tutorials/bleprph/bleprph-gap-event/index.html index f38f8ef..0413f2f 100644 --- a/develop/os/tutorials/bleprph/bleprph-gap-event/index.html +++ b/develop/os/tutorials/bleprph/bleprph-gap-event/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/bleprph/bleprph-gap-event/"> --> <link rel="shortcut icon" href="../../../../img/favicon.ico"> - <title>GAP Event Callbacks - Apache Mynewt</title> + <title>GAP Event Callbacks - Apache Mynewt</title> <link href="../../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../../css/font-awesome-4.0.3.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=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'> + <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"> @@ -45,6 +44,16 @@ <body class="GAP Event Callbacks"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<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"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> <div class="top"> - <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt"> <div role="search"> <form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -346,6 +363,14 @@ + + + <li > + <a href="../bleprph-app/">BLE Peripheral App</a> + </li> + + + </ul> </li> @@ -442,14 +467,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <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> @@ -469,7 +489,6 @@ </ul> </div> - </div> </div> <h2 id="ble-peripheral-project">BLE Peripheral Project</h2> @@ -629,42 +648,30 @@ to retain some data from a context object, it needs to make a copy.</p> </li> <li class="pull-right"> - <a href=../../ibeacon/> - Next: BLE iBeacon + <a href=../bleprph-app/> + Next: BLE Peripheral App <span class="fa fa-arrow-right"></span> </a> </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <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> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/tutorials/bleprph/bleprph-intro/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/bleprph/bleprph-intro/index.html b/develop/os/tutorials/bleprph/bleprph-intro/index.html index 391a322..962b61f 100644 --- a/develop/os/tutorials/bleprph/bleprph-intro/index.html +++ b/develop/os/tutorials/bleprph/bleprph-intro/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/bleprph/bleprph-intro/"> --> <link rel="shortcut icon" href="../../../../img/favicon.ico"> - <title>toc - Apache Mynewt</title> + <title>toc - Apache Mynewt</title> <link href="../../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../../css/font-awesome-4.0.3.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=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'> + <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"> @@ -45,6 +44,16 @@ <body class="toc"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<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"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> <div class="top"> - <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt"> <div role="search"> <form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -346,6 +363,14 @@ + + + <li > + <a href="../bleprph-app/">BLE Peripheral App</a> + </li> + + + </ul> </li> @@ -442,14 +467,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <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> @@ -467,7 +487,6 @@ </ul> </div> - </div> </div> <h2 id="ble-peripheral-project">BLE Peripheral Project</h2> @@ -523,34 +542,22 @@ from the Bluetooth Developer's site before proceeding.</p> </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <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> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/tutorials/bleprph/bleprph-svc-reg/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/bleprph/bleprph-svc-reg/index.html b/develop/os/tutorials/bleprph/bleprph-svc-reg/index.html index 9793a68..f5b1f23 100644 --- a/develop/os/tutorials/bleprph/bleprph-svc-reg/index.html +++ b/develop/os/tutorials/bleprph/bleprph-svc-reg/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/bleprph/bleprph-svc-reg/"> --> <link rel="shortcut icon" href="../../../../img/favicon.ico"> - <title>Service Registration - Apache Mynewt</title> + <title>Service Registration - Apache Mynewt</title> <link href="../../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../../css/font-awesome-4.0.3.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=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'> + <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"> @@ -45,6 +44,16 @@ <body class="Service Registration"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<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"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> <div class="top"> - <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt"> <div role="search"> <form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -346,6 +363,14 @@ + + + <li > + <a href="../bleprph-app/">BLE Peripheral App</a> + </li> + + + </ul> </li> @@ -442,14 +467,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <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> @@ -469,7 +489,6 @@ </ul> </div> - </div> </div> <h2 id="ble-peripheral-project">BLE Peripheral Project</h2> @@ -660,34 +679,22 @@ see the <a href="../../../../network/ble/ble_intro/">BLE User Guide</a>.</p> </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <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> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/tutorials/bletiny_project/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/bletiny_project/index.html b/develop/os/tutorials/bletiny_project/index.html index ce8b279..db6c32f 100644 --- a/develop/os/tutorials/bletiny_project/index.html +++ b/develop/os/tutorials/bletiny_project/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/bletiny_project/"> --> <link rel="shortcut icon" href="../../../img/favicon.ico"> - <title>BLE app to check stats via console - Apache Mynewt</title> + <title>BLE app to check stats via console - Apache Mynewt</title> <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../css/font-awesome-4.0.3.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=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'> + <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"> @@ -45,6 +44,16 @@ <body class="BLE app to check stats via console"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<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"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> <div class="top"> - <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt"> <div role="search"> <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -404,14 +421,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <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> @@ -431,7 +443,6 @@ </ul> </div> - </div> </div> <h2 id="check-stats-on-a-ble-device">Check stats on a BLE device</h2> @@ -484,22 +495,22 @@ targets/nrf52_boot <p><br></p> -<p>Define the targets further. Note that you are using the example app <code>bletiny</code> for the application target. Set the bsp correctly (nrf52pdk or nrf52dk depending on whether the board is the preview kit or the dev kit, respectively. Look on the top of your board, if you see PCA100040, use the nrf52dk version, otherwide use the nrf52pdk version). </p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt target set myble bsp=@apache-mynewt-core/hw/bsp/nrf52pdk -Target targets/myble successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf52pdk +<p>Define the targets further. Note that you are using the example app <code>bletiny</code> for the application target. Set the bsp </p> +<p><strong>NOTE:</strong> The preview version, nrf52pdk, is no longer supported. If you do not see PCA100040 on the top of your board, you have a preview version of the board and will need to upgrade your developer board before continuing.</p> +<p><br></p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt target set myble bsp=@apache-mynewt-core/hw/bsp/nrf52dk +Target targets/myble successfully set target.bsp to @apache-mynewt-core/hw/bsp/nrf52dk $ newt target set myble app=@apache-mynewt-core/apps/bletiny Target targets/myble successfully set target.app to @apache-mynewt-core/apps/bletiny $ newt target set myble build_profile=optimized Target targets/myble successfully set target.build_profile to optimized -$ newt target set myble cflags=-DSTATS_NAME_ENABLE -Target targets/myble successfully set pkg.cflags to DSTATS_NAME_ENABLE </pre></div> <p>Use the same <code>newt target set</code> command to set the following definition for the bootloader target -- again, make sure you use the correct value for the bsp based on which version of the board you have..</p> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">targets/nrf52_boot app=@apache-mynewt-core/apps/boot - bsp=@apache-mynewt-core/hw/bsp/nrf52pdk + bsp=@apache-mynewt-core/hw/bsp/nrf52dk build_profile=optimized </pre></div> @@ -512,16 +523,29 @@ targets/my_blinky_sim build_profile=debug targets/myble app=@apache-mynewt-core/apps/bletiny - bsp=@apache-mynewt-core/hw/bsp/nrf52pdk + bsp=@apache-mynewt-core/hw/bsp/nrf52dk build_profile=optimized cflags=-DSTATS_NAME_ENABLE targets/nrf52_boot app=@apache-mynewt-core/apps/boot - bsp=@apache-mynewt-core/hw/bsp/nrf52pdk + bsp=@apache-mynewt-core/hw/bsp/nrf52dk build_profile=optimized </pre></div> +<p>Since we're interested in seeing the stats, we'll need to enable the stats module for the target. By default, the stats module is not enabled, so we will have to override the default behavior. +To do this, you'll need to create a configuration file <code>syscfg.yml</code> in the app directory. from the target definition above, you can see that the app is in <code>apache-mynewt-core/apps/bletiny</code> +so that is where you'll put your configuration file. </p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"># Package: apps/bletiny + +syscfg.vals: + SHELL_TASK: 1 + STATS_NAMES: 1 + STATS_CLI: 1 +</pre></div> + + +<p>The first configuration value turns on the Shell Task, and we'll need this to get to the shell. The next 2 enable the names for the various stats, and then turns on the stats CLI option.</p> <h3 id="build-targets">Build targets</h3> <p>Then build the two targets.</p> <div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ newt build nrf52_boot @@ -558,8 +582,8 @@ $ newt load myble <p>You will now look for some BLE related stats over a serial connection and see the radio is actually working. The picture below shows a serial connector set up. Pin PA.08 is RX and pin PA.06 is TX. Make sure TX from the NRF52 goes to RX on your Serial board, and that RX on the NRF52 goes to TX on your Serial Board.</p> <p><img alt="nRF52" src="../pics/nrf52.JPG" title="nRF52 Dev Board with a Serial Connection set up" /></p> <p><br></p> -<p>You may use any terminal emulation program to communicate with the board. This tutorial shows a Minicom set up. You will have to find out what the usbserial port number is on your laptop, of course.</p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ minicom -D /dev/tty.usbserial-AJ03HAQQ +<p>You may use any terminal emulation program to communicate with the board, but you should connect to the nRF52's serial port using a baudrate of 115200, 8N1, and hardware/software flow control both off. This tutorial shows a Minicom set up. You will have to find out what the usbserial port number is on your laptop, of course.</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">$ minicom -D /dev/tty.usbserial-AJ03HAQQ -b 115200 </pre></div> @@ -574,63 +598,71 @@ Port /dev/tty.usbserial-AJ03HAQQ, 09:57:17 Press Meta-Z for help on special keys <span style="background-color: #ffffcc">? -</span>4828455:log echo ? tasks mempools date -4828457:stat b +</span>4754:Commands: +4754: echo ? prompt tasks mempools date +4756: b </pre></div> <p><br></p> -<p>Try the <code>stat</code> command. </p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="background-color: #ffffcc">stat -</span>4973017:Must specify a statistic name to dump, possible names are: -4973021: stat -4973022: ble_l2cap -4973024: ble_att -4973026: ble_gap -4973027: ble_gattc -4973029: ble_gatts -4973031: ble_hs -4973032: ble_ll_conn -4973034: ble_ll +<p>If you'd like a shell prompt, try the <code>prompt</code> command.</p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="background-color: #ffffcc">prompt +</span>14025:Usage: prompt [set|show] [prompt_char] +prompt set > +15086:Prompt set to: > +15086:Usage: prompt [set|show] [prompt_char] +15087: > +</pre></div> + + +<p>You'll notice that there is an ever-increasing counter before the prompt (and before any output to the terminal). +This is just a counter kept by the MCU.</p> +<p><strong>Note</strong>: If you want to have a shell prompt by default, simply add the line: <code>CONSOLE_PROMPT: 1</code> to your <code>syscfg.yml</code> file and it will be turned on by default.</p> +<p><br></p> +<p>Try the <code>tasks</code> command. </p> +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="background-color: #ffffcc">27365: > tasks +</span>Tasks: +28330: idle (prio: 255, tid: 0, lcheck: 0, ncheck: 0, flags: 0x0, ssize: 64, susage: 34, cswcnt: 233, tot_run_time: 28330ms) +28333: ble_ll (prio: 0, tid: 1, lcheck: 0, ncheck: 0, flags: 0x0, ssize: 80, susage: 60, cswcnt: 11, tot_run_time: 0ms) +28336: shell (prio: 1, tid: 2, lcheck: 0, ncheck: 0, flags: 0x0, ssize: 512, susage: 115, cswcnt: 18, tot_run_time: 0ms) +28339: bletiny (prio: 1, tid: 3, lcheck: 0, ncheck: 0, flags: 0x0, ssize: 512, susage: 138, cswcnt: 456, tot_run_time: 0ms) +28342: > </pre></div> <p><br></p> <p>Try specifying a BLE related stat, for example <code>ble_ll</code>. You should see some HCI (Host Controller Interface) command counts. </p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="background-color: #ffffcc">stat ble_ll -</span>4986297:hci_cmds: 5 -4986297:hci_cmd_errs: 0 -4986299:hci_events_sent: 5 -4986301:bad_ll_state: 0 -4986303:bad_acl_hdr: 0 -4986306:rx_adv_pdu_crc_ok: 0 -4986308:rx_adv_pdu_crc_err: 0 -4986311:rx_adv_bytes_crc_ok: 0 -4986314:rx_adv_bytes_crc_err: 0 -4986317:rx_data_pdu_crc_ok: 0 -4986319:rx_data_pdu_crc_err: 0 -4986322:rx_data_bytes_crc_ok: 0 +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="background-color: #ffffcc">241133: > stat ble_ll +</span>hci_cmds: 11 +241888:hci_cmd_errs: 0 +241888:hci_events_sent: 11 +241890:bad_ll_state: 0 +241890:bad_acl_hdr: 0 +241891:no_bufs: 0 +241891:rx_adv_pdu_crc_ok: 0 +241892:rx_adv_pdu_crc_err: 0 +241893:rx_adv_bytes_crc_ok: 0 +241894:rx_adv_bytes_crc_err: 0 +241895:rx_data_pdu_crc_ok: 0 +241895:rx_data_pdu_crc_err: 0 <snip> </pre></div> <p><br></p> <p>For a more exciting output, try scanning your surroundings for BLE adverstisements. The HCI command shown below specifies a scan duration in ms, sets discovery mode to general (as opposed to limited), the filter to no-whitelist, and type of scan to passive. You should see some scan data flying by!</p> -<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="background-color: #ffffcc">b scan dur=10000 disc=gen filt=no_wl type=passive -</span> -5301227:[ts=5301227ssb, mod=4 level=1] host_hci_cmd_send: ogf=0x08 ocf=0x0b len=7 -5301233:[ts=5301233ssb, mod=4 level=1] Command Complete: cmd_pkts=1 ogf=0x8 ocf=0xb status=0 -5301241:[ts=5301241ssb, mod=4 level=1] host_hci_cmd_send: ogf=0x08 ocf=0x0c len=2 -5301248:[ts=5301248ssb, mod=4 level=1] Command Complete: cmd_pkts=1 ogf=0x8 ocf=0xc status=0 -GAP procedure initiated: discovery; disc_mode=2 filter_policyLE advertising report. len=38 num=1 evtype=3 addr9 -5301270:[ts=5301270ssb, mod=4 level=1] 02 01 06 03 03 aa fe 12 -5301276:[ts=5301276ssb, mod=4 level=1] 16 aa fe 10 f6 02 67 2e -5301281:[ts=5301281ssb, mod=4 level=1] 63 6f 2f 62 65 61 63 6f -5301287:[ts=5301287ssb, mod=4 level=1] 6e 73 -5301291:[ts=5301291ssb, mod=64 level=2] received advertisement; event_type=3 addr_type=1 addr=0xa0:0x0d:0xec:0: -5301316:[ts=5301316ssb, mod=64 level=2] flags=0x06 -5301321:[ts=5301321ssb, mod=64 level=2] uuids16(complete)=0xfeaa -5301327:[ts=5301327ssb, mod=64 level=2] svc_data_uuid16= +<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span style="background-color: #ffffcc">139088: > b scan dur=10000 disc=gen filt=no_wl type=passive +</span>... +146055:received advertisement; event_type=0 addr_type=1 addr=6b:aa:49:b7:46:e6 length_data=24 rssi=-42 data=0x02:0x01:0x1a:0x14:0xff:0x4c:0x00:0x01:0x00:0x00:0x00:0x00:0x04:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00 fields: +146061: flags=0x1a +146062: mfg_data=0x4c:0x00:0x01:0x00:0x00:0x00:0x00:0x04:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00 +146065: +146065:received advertisement; event_type=0 addr_type=0 addr=ac:bc:32:ac:4f:e4 length_data=11 rssi=-36 data=0x02:0x01:0x06:0x07:0xff:0x4c:0x00:0x10:0x02:0x0b:0x00 fields: +146069: flags=0x06 +146070: mfg_data=0x4c:0x00:0x10:0x02:0x0b:0x00 +146071: +146072:scanning finished +... <snip> </pre></div> @@ -702,34 +734,22 @@ Continuing. </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <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> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/tutorials/blinky_primo/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/blinky_primo/index.html b/develop/os/tutorials/blinky_primo/index.html index 5da1af1..982fcb1 100644 --- a/develop/os/tutorials/blinky_primo/index.html +++ b/develop/os/tutorials/blinky_primo/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/blinky_primo/"> --> <link rel="shortcut icon" href="../../../img/favicon.ico"> - <title>Blinky on Arduino Primo - Apache Mynewt</title> + <title>Blinky on Arduino Primo - Apache Mynewt</title> <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../css/font-awesome-4.0.3.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=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'> + <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"> @@ -45,6 +44,16 @@ <body class="Blinky on Arduino Primo"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<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"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> <div class="top"> - <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt"> <div role="search"> <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -459,14 +476,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <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> @@ -486,7 +498,6 @@ </ul> </div> - </div> </div> <h2 id="blinky-your-hello-world-on-arduino-primo">Blinky, your "Hello World!", on Arduino Primo</h2> @@ -714,34 +725,22 @@ for an Arduino Primo board.</p> </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <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> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/tutorials/blinky_sram_olimex/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/blinky_sram_olimex/index.html b/develop/os/tutorials/blinky_sram_olimex/index.html index 18ea9ec..8b3e946 100644 --- a/develop/os/tutorials/blinky_sram_olimex/index.html +++ b/develop/os/tutorials/blinky_sram_olimex/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/blinky_sram_olimex/"> --> <link rel="shortcut icon" href="../../../img/favicon.ico"> - <title>Run Blinky from SRAM, no bootloader - Apache Mynewt</title> + <title>Run Blinky from SRAM, no bootloader - Apache Mynewt</title> <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../css/font-awesome-4.0.3.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=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'> + <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"> @@ -45,6 +44,16 @@ <body class="Run Blinky from SRAM, no bootloader"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<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"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> <div class="top"> - <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt"> <div role="search"> <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -459,14 +476,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <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> @@ -486,7 +498,6 @@ </ul> </div> - </div> </div> <h2 id="run-blinky-from-sram-without-bootloader">Run Blinky from SRAM without bootloader</h2> @@ -661,34 +672,22 @@ To locate the bootloader, the board searches in three places: User Flash Memory, </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <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> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/89c943e1/develop/os/tutorials/event_queue/index.html ---------------------------------------------------------------------- diff --git a/develop/os/tutorials/event_queue/index.html b/develop/os/tutorials/event_queue/index.html index e21777f..7e22bce 100644 --- a/develop/os/tutorials/event_queue/index.html +++ b/develop/os/tutorials/event_queue/index.html @@ -10,15 +10,14 @@ <link rel="canonical" href="http://mynewt.apache.org/os/tutorials/event_queue/"> --> <link rel="shortcut icon" href="../../../img/favicon.ico"> - <title>Add task to manage multiple events - Apache Mynewt</title> + <title>Add task to manage multiple events - Apache Mynewt</title> <link href="../../../css/bootstrap-3.0.3.min.css" rel="stylesheet"> - <link href="../../../css/font-awesome-4.0.3.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=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'> + <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"> @@ -45,6 +44,16 @@ <body class="Add task to manage multiple events"> + <div class="container"> + <div class="row v2-main-banner"> + <div class="col-xs-12 v2-vcenter"> + <a href="/"><img class="logo" src="/img/logo.png"></a> + + <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4> + </div> + </div> +</div> + @@ -52,7 +61,7 @@ -<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> +<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"> @@ -73,7 +82,7 @@ <li class="" > - <a href="/">Home</a> + <a href="/"><i class="fa fa-home" style="font-size: larger;"></i></a> </li> <li class="important" @@ -86,6 +95,11 @@ <a href="/about/">About</a> </li> <li + class="" +> + <a href="/talks/">Talks</a> + </li> + <li class="active" > <a href="/latest/os/introduction">Documentation</a> @@ -120,9 +134,8 @@ <div class="container"> <div class="row"> - <div class="col-md-3 v2-sidebar"><div id="docSidebar" class="hidden-print" role="complementary"> + <div class="col-md-3 v2-sidebar sidebar-container"><div id="docSidebar" class="hidden-print" role="complementary"> <div class="top"> - <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt"> <div role="search"> <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get"> <div class="form-group"> @@ -139,14 +152,14 @@ value="/develop/os/introduction" selected="selected" > - Version: develop + Version: develop (latest) </option> <option value="/v0_9_0/os/introduction" > - Version: 0.9.0 (latest) + Version: 0.9.0 </option> </select> @@ -165,6 +178,10 @@ + + + + @@ -404,14 +421,9 @@ </ul> </div></div> - <div class="show-sidebar-container"> - <button class="show-sidebar">Docs Menu</button> - </div> - <div class="col-md-9" role="main"> - <div class="row doc-header"> - <div class="col-sm-12"> - <div role="navigation" aria-label="breadcrumbs navigation"> + <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> @@ -431,7 +443,6 @@ </ul> </div> - </div> </div> <h2 id="how-to-define-a-task-which-uses-event-queues-to-manage-multiple-events">How to define a task which uses event queues to manage multiple events</h2> @@ -769,34 +780,22 @@ pkg.deps: </li> </ul> </div> - <div class="row"> - <footer> - <div class="row"> - <div class="col-md-12"> - - <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p> - - </div> - </div> - <div class="copyright-logos"> - <div class="row"> - <div class="col-xs-6 text-left"> - <img src="/img/asf_logo_wide_small.png" alt="Apache" title="Apache"> - </div> - <div class="col-xs-6 text-right"> - <img src="/img/egg-logo2.png" alt="Apache Incubator" title="Apache Incubator"> - </div> - </div> + <footer class="row"> + <div class="col-xs-12"> + + <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p> + </div> - <div class="row"> - <div class="col-md-12"> + <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>
