zephyr/samples/bluetooth/mesh
Johan Hedberg 9540f7d52d Bluetooth: Mesh: Add skeleton for persistent storage
Add initial skeleton for doing settings-based persistent storage for
the mesh network state. This patch only includes restoring some core
network state such as IV Index, Sequence number, Net Keys, App Keys
and the Replay Protection list. The remaining state, and actually
storing the state, is left for follow-up patches.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2018-05-09 12:36:32 +03:00
..
src Bluetooth: Mesh: Add skeleton for persistent storage 2018-05-09 12:36:32 +03:00
CMakeLists.txt cmake: Don't link with subsys__bluetooth unnecessarily 2017-12-19 12:46:03 -05:00
microbit_gatt.conf Bluetooth: controller: Add Minimum Number of Used Channels Proc 2017-08-21 08:41:56 -04:00
prj_bbc_microbit.conf Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
prj_nrf51_blenano.conf Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
prj.conf Bluetooth: Mesh: Add skeleton for persistent storage 2018-05-09 12:36:32 +03:00
README.rst samples: bluetooth: mesh: Add basic documentation 2018-03-05 19:53:48 -05: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 :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.