Const
Global elements in the standard Matter Object Model.
These elements are models parented by Matter. We also export the models in this index by directly by name, and they are parented by the Matter.
This means, depending on you use case you may also access these elements directly:
import uint16 from "@matter/model"; Copy
import uint16 from "@matter/model";
Or operationally:
import { Matter } from "@matter/model";const uint16 = Matter.get(DatatypeModel, "uint16"); Copy
import { Matter } from "@matter/model";const uint16 = Matter.get(DatatypeModel, "uint16");
Note that for purposes of disambiguation we suffix device types with "DT" and semantic namespaces with "NS" in this index.
Global elements in the standard Matter Object Model.
These elements are models parented by Matter. We also export the models in this index by directly by name, and they are parented by the Matter.
This means, depending on you use case you may also access these elements directly:
Or operationally:
Note that for purposes of disambiguation we suffix device types with "DT" and semantic namespaces with "NS" in this index.