ZLL On Off Server#
Callbacks for ZLL On Off Server Component.
Callbacks#
emberAfPluginZllOnOffServerOffWithEffectCallback(uint8_t endpoint, uint8_t effectId, uint8_t effectVariant)
Off with effect.
Callbacks Documentation#
emberAfPluginZllOnOffServerOffWithEffectCallback#
EmberAfStatus emberAfPluginZllOnOffServerOffWithEffectCallback (uint8_t endpoint, uint8_t effectId, uint8_t effectVariant)
Off with effect.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | Ver.: always |
uint8_t | N/A | effectId | Ver.: always |
uint8_t | N/A | effectVariant | Ver.: always |
This callback is called by the ZLL On/Off Server plugin whenever an OffWithEffect command is received. The application should implement the effect and variant requested in the command and return EMBER_ZCL_STATUS_SUCCESS if successful or an appropriate error status otherwise.
Returns
EmberAfStatus return status