Concurrent Multi-protocol between Zigbee and Matter#
ZAP can be used to configure ZCL (Zigbee) and Data-Model (Matter) configurations in a multi-protocol application for Zigbee and Matter. ZAP allows you to create endpoints for Zigbee and Matter explicitly in the same configuration file. If Zigbee and Matter endpoints are on the same endpoint Identifier (for example, LO Dimmable Light on endpoint Id 1 and Matter Dimmable Light on another instance of endpoint 1), ZAP takes care of syncing the common attributes across the Matter and Zigbee attributes. Make sure that the attributes being synced have the same data type.
The common attributes between Zigbee and Matter are established through a file called multi-protocol.json
. The user can link any two clusters across Zigbee and Matter along with their corresponding attributes using the cluster and attribute codes respectively. This file can be found in [SDKPath]/app/zcl/multi-protocol.json
. This file has been updated with a certain set of clusters and attributes to begin with, but the user can update this file as required and ZAP will take care of the syncing the attribute configuration across Zigbee and Matter for common endpoint identifiers.
You can also find a ZAP tutorial in any Zigbee and Matter multi-protocol application under the tutorials page. This tutorial will guide you through the multi-protocol application creation process. This tutorial is only available when you open an existing multi-protocol application and can be found as shown in the image below: