-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you use subscriptions? (CON-1109) #890
Comments
I've just copied esp_matter_controller_subscribe_command.cpp into my app and started editing on it. It looks like that is the only way to do this. |
The current way to use subscriptions is create a We are planing to provide client interaction APIs(read, write, subscribe) with callback input in esp-matter component, which can be called when session is established. |
The controller example in examples needs to be expanded to show the correct ways to call these APIs. |
The controller example is only a command line example which supports base functionality of controller/commissioner like chip-tool, we are planing to provide a thermostat example which will call the client interaction APIs after they are added. |
You don't want a subscription here, instead you want this: #920 |
This returns esp_err_t shouldn't it be returning cmd? And if it is returning cmd how do I override OnAttributeData()? I need to be able to set my own code for OnAttributeData().
The text was updated successfully, but these errors were encountered: