zephyr/samples/bluetooth/mesh
Mariusz Skamra be314d3af5 Bluetooth: Add common Kconfig option to disable PHY Update
This adds common option to disable support for PHY Update
procedure in controller and host.
This will reduce flash usage by compiling out le_phy_update_complete
event handler that will never be called if controller has been
compiled with BT_CTLR_PHY option disabled.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-11-21 12:26:27 -05:00
..
src boards: bbc_microbit: Move button data into dts from board.h 2018-11-01 15:58:51 -05:00
CMakeLists.txt samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
README.rst samples: bluetooth: mesh: Add basic documentation 2018-03-05 19:53:48 -05:00
microbit_gatt.conf Bluetooth: Add common Kconfig option to disable PHY Update 2018-11-21 12:26:27 -05:00
prj.conf Bluetooth: Add common Kconfig option to disable PHY Update 2018-11-21 12:26:27 -05:00
prj_bbc_microbit.conf Bluetooth: Add common Kconfig option to disable PHY Update 2018-11-21 12:26:27 -05:00
prj_nrf51_blenano.conf Bluetooth: Add common Kconfig option to disable PHY Update 2018-11-21 12:26:27 -05:00
sample.yaml samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00

README.rst

.. _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 :file:`samples/bluetooth/mesh` in the
Zephyr tree.

See :ref:`bluetooth setup section <bluetooth_setup>` 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.