1.. _bluetooth_mesh_models_op_agg_srv:
2
3Opcodes Aggregator Server
4#########################
5
6The Opcodes Aggregator Server model is a foundation model defined by the Bluetooth
7mesh specification. It is an optional model, enabled with the
8:kconfig:option:`CONFIG_BT_MESH_OP_AGG_SRV` option.
9
10The Opcodes Aggregator Server model is introduced in the Bluetooth Mesh Protocol
11Specification version 1.1, and is used to support the functionality of processing
12a sequence of access layer messages.
13
14The Opcodes Aggregator Server model accepts messages encrypted with the node's device key
15or the application keys.
16
17If present, the Opcodes Aggregator Server model must only be instantiated on the primary element.
18
19The targeted server models should be bound to the same application key that is used
20to encrypt the sequence of access layer messages sent to the Opcodes Aggregator Server.
21
22The Opcodes Aggregator Server handles aggregated messages and dispatches them to the
23respective models and their message handlers. Current implementation assumes that
24responses are sent from the same execution context as the received message and
25doesn't allow to send a postponed response, for example from a work queue.
26
27API reference
28*************
29
30.. doxygengroup:: bt_mesh_op_agg_srv
31   :project: Zephyr
32   :members:
33