eSE_DRLCSetEventUserData

teSE_DRLCStatus eSE_DRLCSetEventUserData(
    uint32 u32IssuerId,
    uint8 u8SourceEndPointId,
    teSE_DRLCUserEventSet eUserEventSetID,
    uint16 u16EventData);

Description

This function can be used on a DRLC cluster client to locally modify the load control data of an LCE. Any one of the following data values can be changed:

  • Criticality level

  • Cooling temperature set-point

  • Heating temperature set-point

  • Load adjustment percentage

  • Duty cycle

The function can be called multiple times to modify more than one of the above values. The data values are fully described in Section 41.11.1.

Parameters

  • u32IssuerId: Identifier of the LCE (as issued by the utility company)

  • u8SourceEndPointId: Number of the local endpoint where the LCE is located (endpoint corresponding to the DRLC cluster)

  • eUserEventSetID: Identifier of the load control data item to be modified, one of:

    • E_SE_DRLC_CRITICALITY_LEVEL_APPLIED

    • E_SE_DRLC_COOLING_TEMPERATURE_SET_POINT_APPLIED

    • E_SE_DRLC_HEATING_TEMPERATURE_SET_POINT_APPLIED

    • E_SE_DRLC_AVERAGE_LOAD_ADJUSTMENT_PERCENTAGE_APPLIED

    • E_SE_DRLC_DUTY_CYCLE_APPLIED

  • u16EventData: Value to which the specified data item is to be set (for formats of data values, refer to descriptions in Section 41.11.1)

Returns

Any relevant DRLC return code listed in Section 41.9 or ZCL return code listed in Section 7.2

Parent topic:Functions