You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/06/20 21:42:41 UTC

[39/51] [partial] incubator-mynewt-site git commit: generated two versions of docs - develop and v0_9_0

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/d18c34dd/develop/network/ble/ble_intro/index.html
----------------------------------------------------------------------
diff --git a/develop/network/ble/ble_intro/index.html b/develop/network/ble/ble_intro/index.html
new file mode 100644
index 0000000..7962eb4
--- /dev/null
+++ b/develop/network/ble/ble_intro/index.html
@@ -0,0 +1,476 @@
+<!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">
+        
+        
+        <link rel="canonical" href="http://mynewt.apache.org/network/ble/ble_intro/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>NimBLE Introduction - 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 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="NimBLE Introduction">
+
+
+        
+
+
+
+
+
+
+<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" 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="/">Home</a>
+                </li>
+                <li 
+  class="important"
+>
+                    <a href="/quick-start/">Quick Start</a>
+                </li>
+                <li 
+  class=""
+>
+                    <a href="/about/">About</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"><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">
+                    <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
+    </option>
+    
+    <option
+      value="/v0_9_0/os/introduction"
+      
+    >
+      Version: 0.9.0 (latest)
+    </option>
+    
+</select>
+</li>
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  
+    <li ><a href="../../../os/introduction/">Mynewt Documentation</a>
+  
+  
+    <ul>
+          
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../os/get_started/get_started/">Basic Setup</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../../os/get_started/vocabulary/">Concepts</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../os/tutorials/tutorials/">Tutorials</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../os/os_user_guide/">OS User Guide</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li><a href="
+  ./
+">BLE User Guide</a>
+  
+  
+    <ul>
+          
+              
+                
+    <li class="active">
+      <a href="./">NimBLE Introduction</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../ble_sec/">NimBLE Security</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../nimble_setup/">Set up application</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../ini_stack/ble_ini_intro/">Initialize stack</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../bletiny_api/">API for bletiny app</a>
+  
+  
+    </li>
+
+              
+          
+    </ul>
+  
+    </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="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">
+  <ul class="wy-breadcrumbs pull-right">
+    <li><a href="/develop/os/introduction">Docs</a></li>
+    
+    
+        
+          <li>&raquo; <a href="../../../os/introduction/">Mynewt Documentation</a></li>
+        
+      
+        
+          <li>&raquo; BLE User Guide</li>
+        
+      
+      
+        <li>&raquo; NimBLE Introduction</li>
+      
+    
+    
+  </ul>
+</div>
+                            </div>
+                        </div>
+                        
+                            <h2 id="ble-introduction">BLE Introduction</h2>
+<p>Apache Mynewt offers the world's first fully open-source Bluetooth Low Energy (BLE) or Bluetooth Smart stack. It is called NimBLE. </p>
+<p>BLE technology operates in the unlicensed industrial, scientific and medical (ISM) band at 2.4 to 2.485 GHz which is available in most countries. It uses a spread spectrum, frequency hopping, full-duplex signal. BLE FHSS employs 40 2-MHz-wide channels to ensure greater reliability over longer distances. It also features 0-dBm (1 mW) power output and a typical maximum range of 50 meters. Note that BLE is not compatible with standard Bluetooth.</p>
+<p><br></p>
+<h3 id="features">Features</h3>
+<p>NimBLE complies with Bluetooth Core Specification 4.2 which introduces several new features that make it an ideal wireless technology for the Internet of Things (IoT).</p>
+<ul>
+<li>LE Privacy 1.2 for frequent changes to the device address to make it difficult to track for outsiders <strong>Roadmap</strong></li>
+<li>LE Secure Connections featuring FIPS-compliant algorithms. <strong>Roadmap</strong></li>
+<li>LE Data Length Extension for higher throughput <strong>Available now</strong></li>
+<li>Enables users to assign an Internet Protocol (IP) address (complaint with the IPv6 or 6LoWPAN standard) to a Bluetooth device through Internet Protocol Support Profile (IPSP) <strong>Roadmap</strong></li>
+</ul>
+<p>NimBLE supports features from older specifications including,</p>
+<ul>
+<li>Support multiple roles (master(central)/slave(peripheral), server/client) simultaneously</li>
+<li>Support simultaneous advertising and scanning</li>
+<li>Support being slave to multiple masters simultaneously (subject to memory and scheduling constraints)</li>
+<li>Low Duty Cycle Directed Advertising</li>
+<li>Connection parameters request procedure</li>
+<li>LE Ping</li>
+<li>32 bits UUID</li>
+<li>L2CAP Connection Oriented Channels</li>
+</ul>
+<p><br></p>
+<h3 id="components">Components</h3>
+<p>A Bluetooth low energy stack (NimBLE included) consists of two components with several subcomponents:</p>
+<ul>
+<li>
+<p><strong>Controller</strong></p>
+<ul>
+<li><strong>Physical Layer</strong>: adaptive frequency-hopping Gaussian Frequency Shift Keying (GFSK) radio using 40 RF channels (0-39), with 2 MHz spacing.</li>
+<li><strong>Link Layer</strong>: with one of five states (Standby, Advertising, Scanning, Initiating, Connection states) active at any time</li>
+</ul>
+</li>
+<li>
+<p><strong>Host</strong></p>
+<ul>
+<li><strong>Logical Link Control and Adaptation Protocol (L2CAP)</strong>: provides logical channels, named L2CAP channels, which are multiplexed over one or more logical links to provide packet segmentation and reassembly, flow control, error control, streaming, QoS etc. </li>
+<li><strong>Security Manager (SM)</strong>: uses Security Manager Protocol (SMP) for pairing and transport specific key distribution for securing radio communication </li>
+<li><strong>Attribute protocol (ATT)</strong>: allows a device (<em>Server</em>) to expose certain pieces of data, known as <em>Attributes</em>, to another device (<em>Client</em>)</li>
+<li><strong>Generic Attribute Profile (GATT)</strong>: a framework for using the ATT protocol to exchange attributes encapsulated as <em>Characteristics</em> or <em>Services</em> </li>
+<li><strong>Generic Access Profile (GAP)</strong>: a base profile which all Bluetooth devices implement, which in the case of LE, defines the Physical Layer, Link Layer, L2CAP, Security Manager, Attribute Protocol and Generic Attribute Profile. </li>
+<li><strong>Host Controller Interface (HCI)</strong>: the interface between the host and controller either through software API or by a hardware interface such as SPI, UART or USB.</li>
+</ul>
+</li>
+</ul>
+<p>Subsequent chapters in this manual will go into the details of the implementation of each component, APIs available, and things to consider while designing a NimBLE app.</p>
+<p><br></p>
+<h3 id="example-nimble-projects">Example NimBLE projects</h3>
+<p>Mynewt comes with two built-in projects that allow users to play with NimBLE, try the tutorials out with, and see how to use available services.</p>
+<ol>
+<li><strong>bletiny</strong> : A simple shell application which provides a basic interface to the host-side of the BLE stack. </li>
+<li><strong>bleprph</strong>: A basic peripheral device with no user interface. It advertises automatically on startup, and resumes advertising whenever a connection is terminated. It supports a maximum of one connection.</li>
+</ol>
+<p><br></p>
+                        
+                        <div class="row">
+                            
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+    <li>
+    
+    <a href=../../../os/modules/logs/logs/>
+        <span class="fa fa-arrow-left"></span>
+        Previous: Logs
+    </a>
+    
+    </li>
+    <li class="pull-right">
+    
+    <a href=../ble_sec/>
+        Next: NimBLE Security
+        <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 &copy; 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-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <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>
+        </div>
+    </div>
+</footer>
+                        </div>
+                    </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/d18c34dd/develop/network/ble/ble_sec/index.html
----------------------------------------------------------------------
diff --git a/develop/network/ble/ble_sec/index.html b/develop/network/ble/ble_sec/index.html
new file mode 100644
index 0000000..7f75b07
--- /dev/null
+++ b/develop/network/ble/ble_sec/index.html
@@ -0,0 +1,471 @@
+<!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">
+        
+        
+        <link rel="canonical" href="http://mynewt.apache.org/network/ble/ble_sec/">
+        <link rel="shortcut icon" href="../../../img/favicon.ico">
+
+	<title>NimBLE Security - 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 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="NimBLE Security">
+
+
+        
+
+
+
+
+
+
+<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" 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="/">Home</a>
+                </li>
+                <li 
+  class="important"
+>
+                    <a href="/quick-start/">Quick Start</a>
+                </li>
+                <li 
+  class=""
+>
+                    <a href="/about/">About</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"><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">
+                    <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
+    </option>
+    
+    <option
+      value="/v0_9_0/os/introduction"
+      
+    >
+      Version: 0.9.0 (latest)
+    </option>
+    
+</select>
+</li>
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  
+    <li ><a href="../../../os/introduction/">Mynewt Documentation</a>
+  
+  
+    <ul>
+          
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../os/get_started/get_started/">Basic Setup</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../../os/get_started/vocabulary/">Concepts</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../os/tutorials/tutorials/">Tutorials</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../os/os_user_guide/">OS User Guide</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li><a href="
+  ../ble_intro/
+">BLE User Guide</a>
+  
+  
+    <ul>
+          
+              
+                
+    <li >
+      <a href="../ble_intro/">NimBLE Introduction</a>
+    </li>
+
+              
+          
+              
+                
+    <li class="active">
+      <a href="./">NimBLE Security</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../nimble_setup/">Set up application</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../ini_stack/ble_ini_intro/">Initialize stack</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../bletiny_api/">API for bletiny app</a>
+  
+  
+    </li>
+
+              
+          
+    </ul>
+  
+    </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="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">
+  <ul class="wy-breadcrumbs pull-right">
+    <li><a href="/develop/os/introduction">Docs</a></li>
+    
+    
+        
+          <li>&raquo; <a href="../../../os/introduction/">Mynewt Documentation</a></li>
+        
+      
+        
+          <li>&raquo; <a href="../ble_intro/">BLE User Guide</a></li>
+        
+      
+      
+        <li>&raquo; NimBLE Security</li>
+      
+    
+    
+  </ul>
+</div>
+                            </div>
+                        </div>
+                        
+                            <h2 id="ble-security">BLE Security</h2>
+<p>The Bluetooth Low Energy security model includes five distinct security concepts as listed below. For detailed specifications, see BLUETOOTH SPECIFICATION Version 4.2 [Vol 1, Part A].</p>
+<ul>
+<li>
+<p><strong>Pairing</strong>: The process for creating one or more shared secret keys. In LE a single link key is generated by combining contributions from each device into a link key used during pairing. </p>
+</li>
+<li>
+<p><strong>Bonding</strong>: The act of storing the keys created during pairing for use in subsequent connections in order to form a trusted device pair. <font color="#F2853F"><em>Bonding is currently a roadmap item for Apache Mynewt.</em> </font></p>
+</li>
+<li>
+<p><strong>Device authentication</strong>: Verification that the two devices have the same keys (verify device identity)</p>
+</li>
+<li>
+<p><strong>Encryption</strong>: Keeps message confidential. Encryption in Bluetooth LE uses AES-CCM cryptography and is performed in the <em>Controller</em>.</p>
+</li>
+<li>
+<p><strong>Message integrity</strong>: Protects against message forgeries.</p>
+</li>
+</ul>
+<p>Bluetooth LE uses four association models depending on the I/O capabilities of the devices. <font color="#F2853F"><em>Apache Mynewt has first implemented support for "Just Works" only.</em></font></p>
+<ul>
+<li>
+<p><strong>Just Works</strong>: designed for scenarios where at least one of the devices does not have a display capable of displaying a six digit number nor does it have a keyboard capable of entering six decimal digits.</p>
+</li>
+<li>
+<p><strong>Numeric Comparison</strong>: designed for scenarios where both devices are capable of displaying a six digit number and both are capable of having the user enter "yes" or "no". A good example of this model is the cell phone / PC scenario.</p>
+</li>
+<li>
+<p><strong>Out of Band</strong>: designed for scenarios where an Out of Band mechanism is used to both discover the devices as well as to exchange or transfer cryptographic numbers used in the pairing process.</p>
+</li>
+<li>
+<p><strong>Passkey Entry</strong>: designed for the scenario where one device has input capability but does not have the capability to display six digits and the other device has output capabilities. A good example of this model is the PC and keyboard scenario.</p>
+</li>
+</ul>
+<h3 id="key-generation">Key Generation</h3>
+<p>Key generation for all purposes in Bluetooth LE is performed by the <em>Host</em> on each LE device independent of any other LE device. </p>
+<h3 id="privacy-feature">Privacy Feature</h3>
+<p>Bluetooth LE supports an optional feature during connection mode and connection procedures that reduces the ability to track a LE device over a period of time by changing the Bluetooth device address on a frequent basis. <font color="#F2853F"><em>Privacy support is currently a roadmap item for Apache Mynewt.</em></font></p>
+<p>There are two variants of the privacy feature. </p>
+<ul>
+<li>
+<p>In the first variant, private addresses are resolved and generated by the <em>Host</em>.</p>
+</li>
+<li>
+<p>In the second variant, private addresses are resolved and generated by the <em>Controller</em> without involving the Host after the Host provides the Controller device identity information. The Host may provide the Controller with a complete resolving list or a subset of the resolving list.</p>
+</li>
+</ul>
+<p>Device filtering becomes possible in the second variant when address resolution is performed in the Controller because the peer\u2019s device identity address can be resolved prior to checking whether it is in the white list.</p>
+<p><strong>Note</strong>: When address resolution is performed exclusively in the Host, a device may experience increased power consumption because device filtering must be disabled.</p>
+<p>For more details on the privacy feature, refer to BLUETOOTH SPECIFICATION Version 4.2 [Vol 3, Part C] (Published 02 December 2014), Page 592.</p>
+                        
+                        <div class="row">
+                            
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+    <li>
+    
+    <a href=../ble_intro/>
+        <span class="fa fa-arrow-left"></span>
+        Previous: NimBLE Introduction
+    </a>
+    
+    </li>
+    <li class="pull-right">
+    
+    <a href=../nimble_setup/>
+        Next: Set up application
+        <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 &copy; 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-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <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>
+        </div>
+    </div>
+</footer>
+                        </div>
+                    </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/d18c34dd/develop/network/ble/bletiny/bletiny_GAP/index.html
----------------------------------------------------------------------
diff --git a/develop/network/ble/bletiny/bletiny_GAP/index.html b/develop/network/ble/bletiny/bletiny_GAP/index.html
new file mode 100644
index 0000000..25cc732
--- /dev/null
+++ b/develop/network/ble/bletiny/bletiny_GAP/index.html
@@ -0,0 +1,651 @@
+<!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">
+        
+        
+        <link rel="canonical" href="http://mynewt.apache.org/network/ble/bletiny/bletiny_GAP/">
+        <link rel="shortcut icon" href="../../../../img/favicon.ico">
+
+	<title>GAP in bletiny - 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 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="GAP in bletiny">
+
+
+        
+
+
+
+
+
+
+<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" 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="/">Home</a>
+                </li>
+                <li 
+  class="important"
+>
+                    <a href="/quick-start/">Quick Start</a>
+                </li>
+                <li 
+  class=""
+>
+                    <a href="/about/">About</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"><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">
+                    <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
+    </option>
+    
+    <option
+      value="/v0_9_0/os/introduction"
+      
+    >
+      Version: 0.9.0 (latest)
+    </option>
+    
+</select>
+</li>
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  
+    <li ><a href="../../../../os/introduction/">Mynewt Documentation</a>
+  
+  
+    <ul>
+          
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../../os/get_started/get_started/">Basic Setup</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../../../os/get_started/vocabulary/">Concepts</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../../os/tutorials/tutorials/">Tutorials</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../../os/os_user_guide/">OS User Guide</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li><a href="
+  ../../ble_intro/
+">BLE User Guide</a>
+  
+  
+    <ul>
+          
+              
+                
+    <li >
+      <a href="../../ble_intro/">NimBLE Introduction</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../ble_sec/">NimBLE Security</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../nimble_setup/">Set up application</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../ini_stack/ble_ini_intro/">Initialize stack</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../bletiny_api/">API for bletiny app</a>
+  
+  
+    <ul>
+          
+              
+          
+              
+                
+    <li class="active">
+      <a href="./">GAP in bletiny</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../bletiny_GATT/">GATT in bletiny</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../bletiny_advdata/">Advertisement Data Fields</a>
+    </li>
+
+              
+          
+    </ul>
+  
+    </li>
+
+              
+          
+    </ul>
+  
+    </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="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">
+  <ul class="wy-breadcrumbs pull-right">
+    <li><a href="/develop/os/introduction">Docs</a></li>
+    
+    
+        
+          <li>&raquo; <a href="../../ble_intro/">BLE User Guide</a></li>
+        
+      
+        
+          <li>&raquo; <a href="../../bletiny_api/">API for bletiny app</a></li>
+        
+      
+      
+        <li>&raquo; GAP in bletiny</li>
+      
+    
+    
+  </ul>
+</div>
+                            </div>
+                        </div>
+                        
+                            <h2 id="gap-api-for-bletiny">GAP API for bletiny</h2>
+<p><br></p>
+<p>Generic Access Profile (GAP) defines the generic procedures related to discovery of Bluetooth devices (idle mode procedures) and link management aspects of connecting to Bluetooth devices (connecting mode procedures). It also defines procedures related to use of different security levels. </p>
+<p>Several different modes and procedures may be performed simultaneously over an LE physical transport. The following modes and procedures are defined for use over an LE physical transport:</p>
+<ol>
+<li><strong>Broadcast mode and observation procedure</strong><ul>
+<li>These allow two devices to communicate in a unidirectional connectionless manner using the advertising events.</li>
+</ul>
+</li>
+<li><strong>Discovery modes and procedures</strong><ul>
+<li>All devices shall be in either non-discoverable mode or one of the discoverable modes.</li>
+<li>A device in the discoverable mode shall be in either the general discoverable mode or the limited discoverable mode.</li>
+<li>A device in non-discoverable mode will not be discovered by any device that is performing either the general discovery procedure or the limited discovery procedure.</li>
+</ul>
+</li>
+<li><strong>Connection modes and procedures</strong><ul>
+<li>allow a device to establish a connection to another device.</li>
+<li>allow updating of parameters of the connection </li>
+<li>allow termination of the connection </li>
+</ul>
+</li>
+<li><strong>Bonding modes and procedures</strong><ul>
+<li>Bonding allows two connected devices to exchange and store security and identity information to create a trusted relationship. </li>
+<li>Bonding can occur only between two devices in bondable mode.</li>
+</ul>
+</li>
+</ol>
+<p><br></p>
+<h3 id="usage-api">Usage API</h3>
+<table>
+<thead>
+<tr>
+<th><strong>Item No.</strong></th>
+<th><strong>Modes and Procedures</strong></th>
+<th><strong>nimBLE command</strong></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>1</td>
+<td>Broadcast Mode</td>
+<td><code>b adv conn=non disc=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Observation Procedure</td>
+<td><code>b scan dur=x disc=x type=x filt=x</code></td>
+</tr>
+<tr>
+<td>2</td>
+<td>Non-Discoverable mode</td>
+<td><code>b adv conn=x disc=non</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Limited Discoverable mode</td>
+<td><code>b adv conn=x disc=ltd</code></td>
+</tr>
+<tr>
+<td></td>
+<td>General Discoverable mode</td>
+<td><code>b adv conn=x disc=gen</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Limited Discovery procedure</td>
+<td><code>b scan dur=x disc=ltd type=active filt=no_wl</code></td>
+</tr>
+<tr>
+<td></td>
+<td>General Discovery procedure</td>
+<td><code>b scan dur=x disc=gen type=active filt=no_wl</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Name Discovery procedure</td>
+<td>UNSUPPORTED</td>
+</tr>
+<tr>
+<td>3</td>
+<td>Non-connectable mode</td>
+<td><code>b adv conn=non disc=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Directed connectable mode</td>
+<td><code>b adv conn=dir disc=x addr_type=x addr=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Undirected connectable mode</td>
+<td><code>b adv conn=und disc=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Auto connection establishment procedure</td>
+<td><code>b wl addr_type=x addr=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Auto connection establishment procedure</td>
+<td><code>b conn addr_type=wl</code></td>
+</tr>
+<tr>
+<td></td>
+<td>General connection establishment procedure</td>
+<td>AVAILABLE SOON</td>
+</tr>
+<tr>
+<td></td>
+<td>Selective connection establishment procedure</td>
+<td>AVAILABLE SOON</td>
+</tr>
+<tr>
+<td></td>
+<td>Direct connection establishment procedure</td>
+<td><code>b conn addr_type=x addr=x [params]</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Connection parameter update procedure</td>
+<td><code>b update conn=x &lt;params&gt;</code></td>
+</tr>
+<tr>
+<td></td>
+<td>Terminate connection procedure</td>
+<td><code>b term conn=x</code></td>
+</tr>
+<tr>
+<td>4</td>
+<td>Non-Bondable mode</td>
+<td>AVAILABLE SOON</td>
+</tr>
+<tr>
+<td></td>
+<td>Bondable mode</td>
+<td>AVAILABLE SOON</td>
+</tr>
+<tr>
+<td></td>
+<td>Bonding procedure</td>
+<td>AVAILABLE SOON</td>
+</tr>
+</tbody>
+</table>
+<p><br></p>
+<h3 id="connection-parameters">Connection Parameters</h3>
+<p>The Connection parameter definitions can be found in Section 7.8.12 of the BLUETOOTH SPECIFICATION Version 4.2 [Vol 2, Part E].</p>
+<table>
+<thead>
+<tr>
+<th><strong>Name</strong></th>
+<th><strong>Description</strong></th>
+<th><strong>nimBLE parameter</strong></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Minimum connection interval</td>
+<td>Defines minimum allowed connection interval</td>
+<td>itvl_min</td>
+</tr>
+<tr>
+<td>Maximum connection interval</td>
+<td>Defines maximum allowed connection interval</td>
+<td>itvl_max</td>
+</tr>
+<tr>
+<td>Conn_Latency</td>
+<td>Defines the maximum allowed connection latency</td>
+<td>latency</td>
+</tr>
+<tr>
+<td>Supervision_Timeout</td>
+<td>Link supervision timeout for the connection.</td>
+<td>timeout</td>
+</tr>
+<tr>
+<td>LE_Scan_Interval</td>
+<td>Recommendation from the Host on how long the Controller should scan</td>
+<td>scan_itvl</td>
+</tr>
+<tr>
+<td>LE_Scan_Window</td>
+<td>Recommendation from the Host on how frequently the Controller should scan</td>
+<td>scan_window</td>
+</tr>
+<tr>
+<td>Minimum_CE_Length</td>
+<td>Informative parameter providing the Controller with the expected minimum length of the connection event</td>
+<td>min_ce_len</td>
+</tr>
+<tr>
+<td>Maximum_CE_Length</td>
+<td>Informative parameter providing the Controller with the expected maximum length of the connection event</td>
+<td>max_ce_len</td>
+</tr>
+</tbody>
+</table>
+<h3 id="advertisement-data-fields">Advertisement data fields</h3>
+                        
+                        <div class="row">
+                            
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+    <li>
+    
+    <a href=../../bletiny_api/>
+        <span class="fa fa-arrow-left"></span>
+        Previous: API for bletiny app
+    </a>
+    
+    </li>
+    <li class="pull-right">
+    
+    <a href=../bletiny_GATT/>
+        Next: GATT in bletiny
+        <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 &copy; 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-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <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>
+        </div>
+    </div>
+</footer>
+                        </div>
+                    </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/d18c34dd/develop/network/ble/bletiny/bletiny_GATT/index.html
----------------------------------------------------------------------
diff --git a/develop/network/ble/bletiny/bletiny_GATT/index.html b/develop/network/ble/bletiny/bletiny_GATT/index.html
new file mode 100644
index 0000000..66169f6
--- /dev/null
+++ b/develop/network/ble/bletiny/bletiny_GATT/index.html
@@ -0,0 +1,618 @@
+<!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">
+        
+        
+        <link rel="canonical" href="http://mynewt.apache.org/network/ble/bletiny/bletiny_GATT/">
+        <link rel="shortcut icon" href="../../../../img/favicon.ico">
+
+	<title>GATT in bletiny - 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 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="GATT in bletiny">
+
+
+        
+
+
+
+
+
+
+<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" 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="/">Home</a>
+                </li>
+                <li 
+  class="important"
+>
+                    <a href="/quick-start/">Quick Start</a>
+                </li>
+                <li 
+  class=""
+>
+                    <a href="/about/">About</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"><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">
+                    <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
+    </option>
+    
+    <option
+      value="/v0_9_0/os/introduction"
+      
+    >
+      Version: 0.9.0 (latest)
+    </option>
+    
+</select>
+</li>
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  
+    <li ><a href="../../../../os/introduction/">Mynewt Documentation</a>
+  
+  
+    <ul>
+          
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../../os/get_started/get_started/">Basic Setup</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../../../os/get_started/vocabulary/">Concepts</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../../os/tutorials/tutorials/">Tutorials</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../../os/os_user_guide/">OS User Guide</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li><a href="
+  ../../ble_intro/
+">BLE User Guide</a>
+  
+  
+    <ul>
+          
+              
+                
+    <li >
+      <a href="../../ble_intro/">NimBLE Introduction</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../ble_sec/">NimBLE Security</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../nimble_setup/">Set up application</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../ini_stack/ble_ini_intro/">Initialize stack</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../bletiny_api/">API for bletiny app</a>
+  
+  
+    <ul>
+          
+              
+          
+              
+                
+    <li >
+      <a href="../bletiny_GAP/">GAP in bletiny</a>
+    </li>
+
+              
+          
+              
+                
+    <li class="active">
+      <a href="./">GATT in bletiny</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../bletiny_advdata/">Advertisement Data Fields</a>
+    </li>
+
+              
+          
+    </ul>
+  
+    </li>
+
+              
+          
+    </ul>
+  
+    </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="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">
+  <ul class="wy-breadcrumbs pull-right">
+    <li><a href="/develop/os/introduction">Docs</a></li>
+    
+    
+        
+          <li>&raquo; <a href="../../ble_intro/">BLE User Guide</a></li>
+        
+      
+        
+          <li>&raquo; <a href="../../bletiny_api/">API for bletiny app</a></li>
+        
+      
+      
+        <li>&raquo; GATT in bletiny</li>
+      
+    
+    
+  </ul>
+</div>
+                            </div>
+                        </div>
+                        
+                            <h2 id="gatt-feature-api-for-bletiny">GATT feature API for bletiny</h2>
+<p><br></p>
+<p>GATT(GENERIC ATTRIBUTE PROFILE) describes a service framework using the Attribute Protocol for discovering services, and for reading and writing characteristic values on a peer device. There are 11 features defined in the GATT Profile, and each of the features is mapped to procedures and sub-procedures: </p>
+<table>
+<thead>
+<tr>
+<th><strong>Item No.</strong></th>
+<th><strong>Feature</strong></th>
+<th><strong>Sub-Procedure</strong></th>
+<th><strong>nimBLE command</strong></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>1</td>
+<td>Server Configuration</td>
+<td>Exchange MTU</td>
+<td><code>b mtu</code></td>
+</tr>
+<tr>
+<td>2</td>
+<td>Primary Service Discovery</td>
+<td>Discover All Primary Services</td>
+<td><code>b disc svc conn=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Discover Primary Services By Service UUID</td>
+<td><code>b disc svc conn=x uuid=x</code></td>
+</tr>
+<tr>
+<td>3</td>
+<td>Relationship Discovery</td>
+<td>Find Included Services</td>
+<td><code>b find inc_svcs conn=x start=x end=x</code></td>
+</tr>
+<tr>
+<td>4</td>
+<td>Characteristic Discovery</td>
+<td>Discover All Characteristic of a Service</td>
+<td><code>b disc chr conn=x start=x end=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Discover Characteristic by UUID</td>
+<td><code>b disc chr conn=x start=x end=x uuid=x</code></td>
+</tr>
+<tr>
+<td>5</td>
+<td>Characteristic Descriptor Discovery</td>
+<td>Discover All Characteristic Descriptors</td>
+<td><code>b disc dsc conn=x start=x end=x</code></td>
+</tr>
+<tr>
+<td>6</td>
+<td>Reading a Characteristic Value</td>
+<td>Read Characteristic Value</td>
+<td><code>b read conn=x attr=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Read Using Characteristic UUID</td>
+<td><code>b read conn=x start=x end=x uuid=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Read Long Characteristic Values</td>
+<td><code>b read conn=x attr=x long=1</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Read Multiple Characteristic Values</td>
+<td><code>b read conn=x attr=x attr=y attr=z</code></td>
+</tr>
+<tr>
+<td>7</td>
+<td>Writing a Characteristic Value</td>
+<td>Write Without Response</td>
+<td><code>b write conn=x value=0xXX:0xXX no_rsp=1</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Signed Write Without Response</td>
+<td>NOT SUPPORTED</td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Write Characteristic Value</td>
+<td><code>b write conn=x attr=x value=0xXX:0xXX</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Write Long Characteristic Values</td>
+<td><code>b write conn=x attr=x value=0xXX:0xXX long=1</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Characteristic Value Reliable Writes</td>
+<td><code>b write conn=x attr=x value=0xXX:0xXX attr=y value=0xYY:0xYY</code></td>
+</tr>
+<tr>
+<td>8</td>
+<td>Notification of a Characteristic Value</td>
+<td>Notifications</td>
+<td>Write CLIENT CONFIGURATION characteristic</td>
+</tr>
+<tr>
+<td>9</td>
+<td>Indication of a Characteristic Value</td>
+<td>Indications</td>
+<td>Write CLIENT CONFIGURATION characteristic</td>
+</tr>
+<tr>
+<td>10</td>
+<td>Reading a Characteristic Descriptor</td>
+<td>Read Characteristic Descriptors</td>
+<td><code>b read conn=x attr=x</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Read Long Characteristic Descriptors</td>
+<td><code>b read conn=x attr=x long=1</code></td>
+</tr>
+<tr>
+<td>11</td>
+<td>Writing a Characteristic Descriptor</td>
+<td>Write Characteristic Descriptors</td>
+<td><code>b write conn=x value=0xXX:0xXX</code></td>
+</tr>
+<tr>
+<td></td>
+<td></td>
+<td>Write Long Characteristic Descriptors</td>
+<td><code>b write conn=x value=0xXX:0xXX long=1</code></td>
+</tr>
+</tbody>
+</table>
+<p><br></p>
+<h3 id="using-nimble-commands">Using nimBLE commands</h3>
+<p>Assuming you have discovered and established a BLE connection with at least one peer device (as explained earlier in <a href="../../bletiny_api/">API for bletiny app</a>, you can find out what characteristics and services are available over these connections. Here is a recap.</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">b show conn
+</pre></div>
+
+
+<p>To show discovered services</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">b show svc
+</pre></div>
+
+
+<p>To show discovered characteristics</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">b show chr
+</pre></div>
+
+
+<p>To show connection RSSI</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%">b show rssi conn=x
+</pre></div>
+                        
+                        <div class="row">
+                            
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+    <li>
+    
+    <a href=../bletiny_GAP/>
+        <span class="fa fa-arrow-left"></span>
+        Previous: GAP in bletiny
+    </a>
+    
+    </li>
+    <li class="pull-right">
+    
+    <a href=../bletiny_advdata/>
+        Next: Advertisement Data Fields
+        <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 &copy; 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-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <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>
+        </div>
+    </div>
+</footer>
+                        </div>
+                    </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/d18c34dd/develop/network/ble/bletiny/bletiny_advdata/index.html
----------------------------------------------------------------------
diff --git a/develop/network/ble/bletiny/bletiny_advdata/index.html b/develop/network/ble/bletiny/bletiny_advdata/index.html
new file mode 100644
index 0000000..572fa27
--- /dev/null
+++ b/develop/network/ble/bletiny/bletiny_advdata/index.html
@@ -0,0 +1,562 @@
+<!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">
+        
+        
+        <link rel="canonical" href="http://mynewt.apache.org/network/ble/bletiny/bletiny_advdata/">
+        <link rel="shortcut icon" href="../../../../img/favicon.ico">
+
+	<title>Advertisement Data Fields - 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 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="Advertisement Data Fields">
+
+
+        
+
+
+
+
+
+
+<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top" 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="/">Home</a>
+                </li>
+                <li 
+  class="important"
+>
+                    <a href="/quick-start/">Quick Start</a>
+                </li>
+                <li 
+  class=""
+>
+                    <a href="/about/">About</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"><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">
+                    <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
+    </option>
+    
+    <option
+      value="/v0_9_0/os/introduction"
+      
+    >
+      Version: 0.9.0 (latest)
+    </option>
+    
+</select>
+</li>
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+      
+        
+          
+  
+  
+    <li ><a href="../../../../os/introduction/">Mynewt Documentation</a>
+  
+  
+    <ul>
+          
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../../os/get_started/get_started/">Basic Setup</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../../../os/get_started/vocabulary/">Concepts</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../../os/tutorials/tutorials/">Tutorials</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../../../os/os_user_guide/">OS User Guide</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li><a href="
+  ../../ble_intro/
+">BLE User Guide</a>
+  
+  
+    <ul>
+          
+              
+                
+    <li >
+      <a href="../../ble_intro/">NimBLE Introduction</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../ble_sec/">NimBLE Security</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../../nimble_setup/">Set up application</a>
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../ini_stack/ble_ini_intro/">Initialize stack</a>
+  
+  
+    </li>
+
+              
+          
+              
+                
+  
+  
+    <li ><a href="../../bletiny_api/">API for bletiny app</a>
+  
+  
+    <ul>
+          
+              
+          
+              
+                
+    <li >
+      <a href="../bletiny_GAP/">GAP in bletiny</a>
+    </li>
+
+              
+          
+              
+                
+    <li >
+      <a href="../bletiny_GATT/">GATT in bletiny</a>
+    </li>
+
+              
+          
+              
+                
+    <li class="active">
+      <a href="./">Advertisement Data Fields</a>
+    </li>
+
+              
+          
+    </ul>
+  
+    </li>
+
+              
+          
+    </ul>
+  
+    </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="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">
+  <ul class="wy-breadcrumbs pull-right">
+    <li><a href="/develop/os/introduction">Docs</a></li>
+    
+    
+        
+          <li>&raquo; <a href="../../ble_intro/">BLE User Guide</a></li>
+        
+      
+        
+          <li>&raquo; <a href="../../bletiny_api/">API for bletiny app</a></li>
+        
+      
+      
+        <li>&raquo; Advertisement Data Fields</li>
+      
+    
+    
+  </ul>
+</div>
+                            </div>
+                        </div>
+                        
+                            <h2 id="advertisement-data-fields">Advertisement Data Fields</h2>
+<p><br></p>
+<p>This part defines the advertisement data fields used in the <code>bletiny</code> app. For a complete list of all data types and formats used for Extended Inquiry Response (EIR), Advertising Data (AD), and OOB data blocks, refer to the Supplement to the Bluetooth Core Specification, CSSv6, available for download <a href="https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=302735&amp;_ga=1.133090766.1368218946.1444779486">here</a>. </p>
+<p><br></p>
+<table>
+<thead>
+<tr>
+<th><strong>Name</strong></th>
+<th><strong>Definition</strong></th>
+<th><strong>Details</strong></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>uuids16</td>
+<td>16-bit Bluetooth Service UUIDs</td>
+<td>Indicates the Service UUID list is incomplete i.e. more 16-bit Service UUIDs available. 16 bit UUIDs shall only be used if they are assigned by the Bluetooth SIG.</td>
+</tr>
+<tr>
+<td>uuids16_is_complete</td>
+<td>16-bit Bluetooth Service UUIDs</td>
+<td>Indicates the Service UUID list is complete. 16 bit UUIDs shall only be used if they are assigned by the Bluetooth SIG.</td>
+</tr>
+<tr>
+<td>uuids32</td>
+<td>32-bit Bluetooth Service UUIDs</td>
+<td>Indicates the Service UUID list is incomplete i.e. more 32-bit Service UUIDs available. 32 bit UUIDs shall only be used if they are assigned by the Bluetooth SIG.</td>
+</tr>
+<tr>
+<td>uuids32_is_complete</td>
+<td>32-bit Bluetooth Service UUIDs</td>
+<td>Indicates the Service UUID list is complete. 32 bit UUIDs shall only be used if they are assigned by the Bluetooth SIG.</td>
+</tr>
+<tr>
+<td>uuids128</td>
+<td>Global 128-bit Service UUIDs</td>
+<td>More 128-bit Service UUIDs available.</td>
+</tr>
+<tr>
+<td>uuids128_is_complete</td>
+<td>Global 128-bit Service UUIDs</td>
+<td>Complete list of 128-bit Service UUIDs</td>
+</tr>
+<tr>
+<td>tx_pwr_lvl</td>
+<td>TX Power Level</td>
+<td>Indicates the transmitted power level of the packet containing the data type. The TX Power Level data type may be used to calculate path loss on a received packet using the following equation: <br> <br> pathloss = Tx Power Level \u2013 RSSI <br> <br> where \u201cRSSI\u201d is the received signal strength, in dBm, of the packet received.</td>
+</tr>
+<tr>
+<td>device_class</td>
+<td>Class of device</td>
+<td>Size: 3 octets</td>
+</tr>
+<tr>
+<td>slave_itvl_range</td>
+<td>Slave Connection Interval Range</td>
+<td>Contains the Peripheral\u2019s preferred connection interval range, for all logical connections. Size: 4 Octets . The first 2 octets defines the minimum value for the connection interval in the following manner: <br> <br> connIntervalmin = Conn_Interval_Min * 1.25 ms <br> <br> Conn_Interval_Min range: 0x0006 to 0x0C80 <br> Value of 0xFFFF indicates no specific minimum. <br> <br> The other 2 octets defines the maximum value for the connection interval in the following manner: <br> <br> connIntervalmax = Conn_Interval_Max * 1.25 ms <br> Conn_Interval_Max range: 0x0006 to 0x0C80 <br> Conn_Interval_Max shall be equal to or greater than the Conn_Interval_Min. <br> Value of 0xFFFF indicates no specific maximum.</td>
+</tr>
+<tr>
+<td>svc_data_uuid16</td>
+<td>Service Data - 16 bit UUID</td>
+<td>Size: 2 or more octets <br> The first 2 octets contain the 16 bit Service UUID followed by additional service data</td>
+</tr>
+<tr>
+<td>public_tgt_addr</td>
+<td>Public Target Address</td>
+<td>Defines the address of one or more intended recipients of an advertisement when one or more devices were bonded using a public address. This data type shall exist only once. It may be sent in either the Advertising or Scan Response data, but not both.</td>
+</tr>
+<tr>
+<td>appearance</td>
+<td>Appearance</td>
+<td>Defines the external appearance of the device. The Appearance data type shall exist only once. It may be sent in either the Advertising or Scan Response data, but not both.</td>
+</tr>
+<tr>
+<td>adv_itvl</td>
+<td>Advertising Interval</td>
+<td>Contains the advInterval value as defined in the Core specification, Volume 6, Part B, Section 4.4.2.2.</td>
+</tr>
+<tr>
+<td>le_addr</td>
+<td>LE Bluetooth Device Address</td>
+<td>Defines the device address of the local device and the address type on the LE transport.</td>
+</tr>
+<tr>
+<td>le_role</td>
+<td>LE Role</td>
+<td>Defines the LE role capabilities of the device. <br> 0x00 Only Peripheral Role supported <br> 0x01 Only Central Role supported <br> 0x02 Peripheral and Central Role supported, Peripheral Role preferred for connection establishment <br> 0x03 Peripheral and Central Role supported, Central Role preferred for connection establishment <br> 0x04 \u2013 0xFF Reserved for future use</td>
+</tr>
+<tr>
+<td>svc_data_uuid32</td>
+<td>Service Data - 32 bit UUID</td>
+<td>Size: 4 or more octets <br> The first 4 octets contain the 32 bit Service UUID followed by additional service data</td>
+</tr>
+<tr>
+<td>svc_data_uuid128</td>
+<td>Service Data - 128 bit UUID</td>
+<td>Size: 16 or more octets <br> The first 16 octets contain the 128 bit Service UUID followed by additional service data</td>
+</tr>
+<tr>
+<td>uri</td>
+<td>Uniform Resource Identifier (URI)</td>
+<td>Scheme name string and URI as a UTF-8 string</td>
+</tr>
+<tr>
+<td>mfg_data</td>
+<td>Manufacturer Specific data</td>
+<td>Size: 2 or more octets <br> The first 2 octets contain the Company Identifier Code followed by additional manufacturer specific data</td>
+</tr>
+</tbody>
+</table>
+<p><br></p>
+                        
+                        <div class="row">
+                            
+
+
+
+<ul class="nav nav-pills" style="margin-bottom: 10px">
+    <li>
+    
+    <a href=../bletiny_GATT/>
+        <span class="fa fa-arrow-left"></span>
+        Previous: GATT in bletiny
+    </a>
+    
+    </li>
+    <li class="pull-right">
+    
+    <a href=../../../../newt/newt_intro/>
+        Next: Newt Tool Guide
+        <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 &copy; 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-right">
+                <img src="/img/apache-feather.png" alt="Apache" title="Apache">
+            </div>
+            <div class="col-xs-6 text-left">
+                <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-12">
+            <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>
+        </div>
+    </div>
+</footer>
+                        </div>
+                    </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