Skip to content

A converter to translate between the Matter data model and SDF

License

Notifications You must be signed in to change notification settings

niklasbhv/sdf-matter-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdf-matter-converter

Tool to convert between the Matter data model and the Semantic Definition Format. The project is usable as a library or as a command line tool.

This tool is currently work in progress, hence it may or may not work in its current state.

Installation

Using CMake:

cmake

Documentation can be generated by using doxygen.

Using the command line tool

Run the converter with:

./sdf-matter-converter [flags]

Using the library

Mappings Overview

Matter → SDF

Matter SDF
Node SDF-Model
Device sdfThing
Endpoint sdfThing
Cluster sdfObject
Attribute sdfProperty
Command sdfAction
Event sdfEvent

SDF → Matter

SDF Matter
sdfThing Endpoint
sdfObject Cluster
sdfProperty Attribute
sdfAction Command
sdfInputData Client-Command
sdfOutputData Server-Command
sdfEvent Event
sdfOutputData
sdfData

License

This project is licensed under the Apache 2.0 license.