eSE_DRLCCancelAllLoadControlEvents
teSE_DRLCStatus eSE_DRLCCancelAllLoadControlEvents(
uint8 u8SourceEndPointId,
uint8 u8DestinationEndPointId,
tsZCL_Address psDestinationAddress,
teSE_DRLCCancelControl eCancelEventControl,
uint8 *pu8TransactionSequenceNumber);
Description
This function can be used on the DRLC cluster server to cancel all LCEs. The LCEs are cancelled locally and the cancellation is also sent to the specified DRLC cluster client endpoints. The LCEs are ultimately moved to the ‘Deallocated’ list.
The cancellation request should normally be sent to client endpoints that have been previously bound to the cluster server. This is done by specifying an address type of E_ZCL_AM_BOUND in the tsZCL_Address structure - in this case, the address field of this structure and the destination endpoint in the function call are both ignored.
The LCE cancellation end-time requirement must be specified as an immediate or randomized end (for a full description of the end-time options, refer to Section41.5.3).
Parameters
u8SourceEndPointId: Number of the local endpoint through which the request is sent
u8DestinationEndPointId: Number of the remote endpoint to which the request is sent. Note that this parameter is ignored when sending to address types E_ZCL_AM_BOUND and E_ZCL_AM_GROUP
psDestinationAddress: Pointer to a ZCL structure containing the address of the remote node to which the request is sent
eCancelEventControl: Enumeration indicating an immediate or randomized end, one of:
E_SE_DRLC_CANCEL_CONTROL_IMMEDIATE
E_SE_DRLC_CANCEL_CONTROL_USE_RANDOMISATION
pu8TransactionSequenceNumber: Pointer to a location to store the Transaction Sequence Number (TSN) of the request
Returns
Any relevant DRLC return code listed in Section 41.9 or ZCL return code listed in Section 7.2
Parent topic:Functions