2025-03-07 4:40 AM
Hello,
I am trying to implement a BMP 280 with matter. The project is to send the measured temperature back into matter and display on the home app on iPhone. At the end of 1.2.2.5 matter develop and prototype document, it mentioned to check if for each callback in the .h file, the corresponding folder should be added to the CUBE IDE. I have two callbacks in the .h file that I couldn't find a corresponding folder.
The first one is:
The second one is:
Solved! Go to Solution.
2025-03-12 2:05 AM
Hi @bradyc17,
Temperature measurement cluster is implemented by default in the SDK Matter with all attributes, no need to add a folder for it.
Regards, Ouadi
2025-03-11 4:41 AM
Hi @bradyc17 ,
Please find below my answer to your questions :
1- MatterTemperatureMeasurementPluginServerInitCallback() is already defined in the file ..\Middlewares\connectedhomeip\src\app\util\util.cpp as it does not have a cluster implementation, so you have nothing to do.
2-MatterBindingPluginServerInitCallback() is defined inside the cluster ..\Middlewares\Third_Party\connectedhomeip\src\app\clusters, you have to include the folder in your project.
Best regards,
Ouadi
2025-03-11 6:36 AM
Hello @Ouadi
Thanks for getting back to me!
I am wondering if you can explain a bit more about "cluster implementation". From my understanding is that cluster is basically the functionalities of an endpoint. For example, one of the cluster of BMP 280 will be measuring temperature.
Second I am curious how come the BMP 280 does not need a cluster implementation?
Thanks
Brady
2025-03-12 2:05 AM
Hi @bradyc17,
Temperature measurement cluster is implemented by default in the SDK Matter with all attributes, no need to add a folder for it.
Regards, Ouadi
2025-03-12 2:14 AM
Hi @Ouadi
Got it! Thanks for helping me out!
I've another question about files unable to open in Cube IDE after renaming the project in Cube IDE. I've tagged you in the post, hopefully you can give me some insight about it!
Thanks
Brady