eCLD_PPGetPowerProfileEntry
teZCL_Status eCLD_PPGetPowerProfileEntry(
uint8 u8SourceEndPointId,
uint8 u8PowerProfileId,
tsCLD_PPEntry **ppsPowerProfileEntry);
Description
This function can be used on a cluster server to obtain an entry from the local power profile table. The required entry is specified using the relevant Power Profile ID. The function obtains a pointer to the relevant entry, if it exists - a pointer must be provided to a location to receive the pointer to the entry.
If no entry with the specified Power Profile ID is found, the function returns E_ZCL_ERR_INVALID_VALUE.
Parameters
u8SourceEndPointId: Number of local endpoint on which cluster resides
u8PowerProfileId: Identifier of power profile to be obtained
ppsPowerProfileEntry: Pointer to a location to receive a pointer to the required power profile table entry (see Section 21.10.2)
Returns
E_ZCL_SUCCESS
E_ZCL_FAIL
E_ZCL_ERR_INVALID_VALUE
Parent topic:Server Functions