zephyr/samples/bluetooth
Trond Einar Snekvik 0151d6dc33 Bluetooth: Mesh: Model extension concept
Adds the model extension concept to the access layer, as described in
the Mesh Profile Specification, Section 2.3.6. Extensions are
implemented as a tree, using two pointers in each model:

The extends pointer points to the first extended model, and the next
pointer points to the next sibling or (if the NEXT_IS_PARENT flag is
set) the parent model in the tree, forming a cyclical "Left-child
right-sibling" (LCRS) tree. The tree root can be obtained by calling
bt_mesh_model_root_get(), and the extended models can be walked by
calling bt_mesh_model_tree_walk().

According to the Mesh Profile Specification Section 4.2.3, all models in
the same extension tree share one subscription list per element. This is
implemented by walking the model's extension tree, and pooling the
subscription lists of all models in the same element into one. If the
config server adds a subscription to a model, it may be stored in any of
the model tree's models' subscription lists. No two models in the same
extension tree and element will have duplicate groups listed. This
allows us to increase extended models' capacity for subscriptions
significantly.

Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
2019-11-07 18:57:32 +02:00
..
beacon
central
central_hr
eddystone coccinelle: standardize kernel API timeout arguments 2019-10-04 16:23:57 -04:00
handsfree
hci_spi doc: s/device tree/devicetree/ 2019-10-08 11:53:40 +02:00
hci_uart Bluetooth: samples: Reduce the bbc_microbit RAM usage 2019-10-16 15:38:12 +03:00
hci_usb kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
ibeacon
ipsp coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mesh Bluetooth: Mesh: Model extension concept 2019-11-07 18:57:32 +02:00
mesh_demo samples: migrating to NVS backend with settings 2019-10-11 14:55:24 +02:00
peripheral Bluetooth: Keys: add key overwrite feature for key storage. 2019-10-17 22:20:55 +03:00
peripheral_csc Bluetooth: GATT: Add support to setting permission on CCCD 2019-09-19 21:12:39 +03:00
peripheral_dis Bluetooth: samples: peripheral_dis: Failed to save with custom settings 2019-10-16 16:39:47 +03:00
peripheral_esp Bluetooth: GATT: Add support to setting permission on CCCD 2019-09-19 21:12:39 +03:00
peripheral_hids samples: migrating to NVS backend with settings 2019-10-11 14:55:24 +02:00
peripheral_hr
peripheral_ht Bluetooth: GATT: Add support to setting permission on CCCD 2019-09-19 21:12:39 +03:00
peripheral_sc_only Bluetooth: samples: Add newline when using printk 2019-10-07 20:50:14 +03:00
scan_adv
bluetooth.rst