tsSM_GetProfileRequestCommand
This stucture contains the details of a ‘Get Profile’ request (from a cluster client). It is included in the structure tsSM_CallBackMessage when an E_CLD_SM_SERVER_RECEIVED_COMMAND event containing the command E_CLD_SM_GET_PROFILE is generated on the cluster server.
typedef struct
{
teSM_IntervalChannel eIntervalChannel;
uint8 u8NumberOfPeriods;
uint8 u8SourceEndPoint;
uint8 u8DestinationEndPoint;
uint32 u32EndTime;
tsZCL_Address sSourceAddress;
}tsSM_GetProfileRequestCommand;
where:
eIntervalChannelis a value indicating the required consumption data:E_CLD_SM_CONSUMPTION_RECEIVED - units from customer
E_CLD_SM_CONSUMPTION_DELIVERED - units to customer
u8NumberOfPeriodsis the number of consumption intervals for which data is being requestedu8SourceEndPointis the number of the source endpoint of the request on the clientu8DestinationEndPointis the number of the destination endpoint of the request on the serveru32EndTimeis the end-time for which consumption data is being requested - the most recent consumption data will be reported which has an end-time equal to or earlier than this end-time (a zero value will result in the most recent consumption data)sSourceAddressis a structure containing the source address of the request - that is, the address of the requesting client (the structure is described in Section 6.1.4)
Parent topic:Structures