eSE_PriceDoesConversionFactorEntryExist

teSE_PriceStatus eSE_PriceDoesConversionFactorEntryExist(
    uint8 u8SourceEndPointId,
    bool_t bIsServer,
    uint32 u32StartTime);

Description

This function can be used to check whether a conversion factor entry with the specified start-time is present in a conversion factor list on the local device.

You must specify the endpoint on which the local Price cluster resides and whether this cluster instance is a server or a client.

For a conversion factor entry to be successfully found, the specified start-time must exactly match the start-time of an entry in the conversion factor list, otherwise the status code E_SE_PRICE_NOT_FOUND will be returned.

Parameters

  • u8SourceEndPointId Number of the local endpoint for the conversion factor list to be accessed

  • bIsServer Nature of the Price cluster instance containing the price list:

  • TRUE - server

  • FALSE - client

  • u32StartTime Start-time of the conversion factor entry to search for

Returns

  • E_ZCL_SUCCESS

  • E_ZCL_ERR_CLUSTER_NOT_FOUND

  • E_SE_PRICE_NOT_FOUND

Parent topic:Functions