eSE_DRLCFindLoadControlEvent
teSE_DRLCStatus eSE_DRLCFindLoadControlEvent(
uint8 u8SourceEndPointId,
uint32 u32IssuerId,
bool_t bIsServer,
tsSE_DRLCLoadControlEvent **ppsLoadControlEvent,
teSE_DRLCEventList *peEventList);
Description
This function can be used to obtain the specified LCE from the local LCE lists.
The required LCE must be specified in terms of its identifier issued by the utility company. The function will search all the local LCE lists, identify the list (if any) in which the LCE was found and return the found LCE.
Parameters
u8SourceEndPointId: Number of the local endpoint from which the LCE is to be retrieved (endpoint corresponding to the DRLC cluster)
u32IssuerId: Identifier of the LCE to be found (as issued by the utility company)
bIsServer: Cluster server or client:
TRUE - server
FALSE - client
ppsLoadControlEventPointer to a pointer to a
tsSE_DRLCLoadControlEventstructure to receive the obtained LCE (see Section 41.11.1)peEventList: Pointer to variable to receive enumerated value of the list in which the LCE was found (see Section 41.10.7)
Returns
Any relevant DRLC return code listed in Section 41.9 or ZCL return code listed in Section 7.2
Parent topic:Functions