zcl.scenes.h: ZbZclScenesServerAlloc Callbacks?
Hello ST friends!
I'm implementing a dimmable light profile on a STM32WB55, so I need to implement the Scenes cluster. However, when allocating the ScenesServer, I cannot register any callbacks.
How do I receive the Scenes Server commands on my application?
For example, the OnOffServer allocation looks like this (includes a pointer to callbacks):
struct ZbZclClusterT * ZbZclOnOffServerAlloc(struct ZigBeeT *zb, uint8_t endpoint, struct ZbZclOnOffServerCallbacksT *callbacks, void *arg);On the other hand, the ScenesServer allocation looks like this (no callback pointer...)
struct ZbZclClusterT * ZbZclScenesServerAlloc(struct ZigBeeT *zb, uint8_t endpoint, uint8_t maxScenes);Is it all handled by the ZigBee stack itself and I will receive the callbacks to the OnOff cluster? I will try to test this next, but for this, I will need to implement the ScenesClient first...
Any clues are appreciated.
