You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2020/05/11 15:32:44 UTC

[mynewt-documentation] branch master updated: ble bare bones tutorial: Add missing #include

This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-documentation.git


The following commit(s) were added to refs/heads/master by this push:
     new d66fed8  ble bare bones tutorial: Add missing #include
d66fed8 is described below

commit d66fed8fea271c03cc2b6f3cb12be74fcc124cc1
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Sat May 9 20:54:28 2020 -0700

    ble bare bones tutorial: Add missing #include
---
 docs/tutorials/ble/ble_bare_bones.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/tutorials/ble/ble_bare_bones.rst b/docs/tutorials/ble/ble_bare_bones.rst
index f789411..b679a37 100644
--- a/docs/tutorials/ble/ble_bare_bones.rst
+++ b/docs/tutorials/ble/ble_bare_bones.rst
@@ -158,6 +158,12 @@ NimBLE controller into build. For this update ``apps/ble_app/syscfg.yml``
     syscfg.vals:
             BLE_HCI_TRANSPORT: builtin
 
+Your `main.c` will also need to include the nimble host header:
+
+.. code-block:: console
+    :emphasize-lines: 1
+
+    #include "host/ble_hs.h"
 
 **Important note:** The controller package affects system configuration,
 see :doc:`this page <../../network/ble_setup/ble_lp_clock>` for