Oven Application Override APIs#
To override any of the following hooks, declare the corresponding *Impl() method in CustomerAppTask.h and implement it in CustomerAppTask.cpp. Ensure that the method signature matches the declaration in autogen/AppTaskImpl.h.
AppTask#
Override | Public API | Default behavior |
|---|---|---|
|
| Registers the button callback and initializes the oven, connectivity handler, cooktop LED, and display. |
|
| Routes oven-action and function-button events. |
|
| Converts an oven button press into a cooktop on/off action. |
|
| Applies an oven or cooktop action and updates the application UI. |
|
| Propagates the cooktop off state after DNS-SD initialization completes. |
|
| Initializes the Binding Manager and registers its command and context release handlers. |
|
| Notifies bound OnOff and Fan Control clusters of the cooktop state. |
|
| Writes the pending cooktop state to a matching bound OnOff or Fan Control peer. |
|
| Routes OnOff changes and observes Temperature Control and Identify changes. |
|
| Converts an Oven Mode |
|
| Performs no application-specific action by default. |
|
| Performs no application-specific action by default. |
|
| Initializes the oven endpoints, delegates, binding, supported levels, and initial cluster state. |
|
| Synchronizes the cooktop and cooking-surface states after a change to the OnOff attribute. |
|
| Returns true if the requested Oven Mode transition is in the blocked-transition list. |