zephyr/samples/bluetooth/mesh
Johan Hedberg 8c294995e0 samples: bluetooth/mesh: Fix configuration
This sample is often the first one used as reference for Bluetooth
Mesh, so it should have a good configuration as a starting point.
Comment out the LPN options to eliminate Kconfig warnings, since the
LOW_POWER option they depend on is not enabled. Also disable
INIT_STACKS since that's only needed for fine-tuning the app
configuration, and otherwise only causes unnecessary spam in the
console.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2019-03-19 15:24:09 +02:00
..
src boards: bbc_microbit: Move button data into dts from board.h 2018-11-01 15:58:51 -05:00
CMakeLists.txt cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
microbit_gatt.conf Bluetooth: Add common Kconfig option to disable LE Data Length Update 2018-11-21 12:26:27 -05:00
prj_bbc_microbit.conf Bluetooth: Add common Kconfig option to disable LE Data Length Update 2018-11-21 12:26:27 -05:00
prj_nrf51_blenano.conf Bluetooth: Add common Kconfig option to disable LE Data Length Update 2018-11-21 12:26:27 -05:00
prj.conf samples: bluetooth/mesh: Fix configuration 2019-03-19 15:24:09 +02:00
README.rst doc: Bluetooth: Documentation overhaul 2019-03-13 10:40:05 +01:00
sample.yaml samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00

.. _ble_mesh:

Bluetooth: Mesh
###############

Overview
********

This sample demonstrates Bluetooth Mesh functionality. It has several
standard Mesh models, and supports provisioning over both the
Advertising and the GATT Provisioning Bearers (i.e. PB-ADV and PB-GATT).
The application also needs a functioning serial console, since that's
used for the Out-of-Band provisioning procedure.

Requirements
************

* A board with Bluetooth LE support, or
* QEMU with BlueZ running on the host

Building and Running
********************

This sample can be found under :zephyr_file:`samples/bluetooth/mesh` in the
Zephyr tree.

See :ref:`bluetooth samples section <bluetooth-samples>` for details on how
to run the sample inside QEMU.

For other boards, build and flash the application as follows:

.. zephyr-app-commands::
   :zephyr-app: samples/bluetooth/mesh
   :board: <board>
   :goals: flash
   :compact:

Refer to your :ref:`board's documentation <boards>` for alternative
flash instructions if your board doesn't support the ``flash`` target.