0

I'm trying to develop a matter (https://github.com/project-chip/connectedhomeip/) controller/bridge in order to be able to control matter compatible devices within a linux daemon.

I was thinking that matter could be like any other library to me, they generate a library to link and a set of public headers to compile.

If I see the code in github and compile all the stuff in there, we could see libraries and examples, but there is no documentation about the API (besides of the examples) and if you try to copy an example to outside the repository and try to compile it resolving all references to inside, seems that you need the full source code to compile.

Seems like everything is oriented to develop final devices, with specific boards vendors, but, which is the way to implement something like bridges or controller? seems that everything is developed to create applications inside the own matter repo. Is this the way? is there any reason to do it like this? I would like to understand how is built and how to integrate.

asked Oct 18, 2023 at 20:00
1
  • I "simply" added the paths to the relevant ~300 .cpp files in the matter sdk to my own project as well as all the defines I needed expected by the files in the SDK. Any other way seemed too complicated due to the non-existing documentation. Commented Apr 11, 2024 at 13:12

1 Answer 1

1

Yes, you are right about the matter project and its documentation. There is no even simple example how to develop a custom controller. I had to open an issue to ask questions about the project. But if you want to understand how it is built and how to integrate, then look at https://github.com/project-chip/matter.js . This matter.js has discussion section on github and discord. https://github.com/project-chip/matter.js/discussions or https://discord.gg/ujmRNrhDuW . It is javascript project, but you can ask questions to understand how it is built.

answered Oct 22, 2023 at 20:11
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.