zephyr/include/bluetooth
Tobias Svehagen 80669decce Bluetooth: Mesh: Add support for provisioner role over PB-ADV
Make it possible to provision devices over advertising bearer (PB-ADV).
Many messages in the provisioning protocol are the same for provisioner
and device so much of the code could be reused by only changing when
they are expected to arrive.

This introduces to concept of local and remote device keys. The models
for cfg_cli and cfg_srv have been updated to reflect this concept. Both
the send and receive path in the transport layer have been updated to
support encrypting/decrypting with local and remote device keys.

When a node has been provisioned it is stored in bt_mesh_net.nodes. If
CONFIG_BT_SETTINGS is enabled, they are also saved to settings. If the
callback node_added in bt_mesh_prov has been set, it will be called for
every node that gets provisioned. This includes when they are retrieved
from settings.

The configuration CONFIG_BT_MESH_NODE_COUNT controls how many nodes that
can be provisioned.

Signed-off-by: Tobias Svehagen <tobias.svehagen@gmail.com>
2019-10-30 13:08:09 +01:00
..
mesh Bluetooth: Mesh: Add support for provisioner role over PB-ADV 2019-10-30 13:08:09 +01:00
services doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
a2dp-codec.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
a2dp.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
addr.h Bluetooth: Host: Move Bluetooth Device address definition to own header 2019-10-17 10:04:06 +02:00
att.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
avdtp.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
bluetooth.h Bluetooth: Host: Move Bluetooth Device address definition to own header 2019-10-17 10:04:06 +02:00
buf.h Bluetooth: Introduce separate pool for discardable events 2019-07-01 16:36:15 +03:00
conn.h Bluetooth: Host: Move HCI error codes to its own header 2019-10-17 10:04:06 +02:00
controller.h Bluetooth: Controller: Add support for setting public address 2018-09-21 12:40:10 +02:00
crypto.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
gap.h Bluetooth: Host: Move GAP and GAP defined assigned numbers to own header 2019-10-17 10:04:06 +02:00
gatt.h Bluetooth: GATT: Add function to check if attribute has been subscribed 2019-10-15 15:08:56 +03:00
hci.h Bluetooth: HCI: Add function to get connection handle of connection 2019-10-17 10:04:06 +02:00
hci_err.h Bluetooth: Host: Move HCI error codes to its own header 2019-10-17 10:04:06 +02:00
hci_raw.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
hci_vs.h Bluetooth: controller: Preliminary work in progress mesh ext. 2019-01-23 09:45:06 +01:00
hfp_hf.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
l2cap.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
mesh.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
rfcomm.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
sdp.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
testing.h Bluetooth: testing: Exclude Mesh related code if BT_MESH not set 2018-09-19 10:48:39 +03:00
uuid.h Bluetooth: UUID: Fix documentation for BT_UUID_128_ENCODE 2019-10-24 18:48:50 +03:00