eSE_PriceDoesCalorificValueEntryExist

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

Description

This function can be used to check whether a calorific value entry with the specified start-time is present in a calorific value 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 calorific value entry to be successfully found, the specified start-time must exactly match the start-time of an entry in the calorific value list, otherwise the status code E_SE_PRICE_NOT_FOUND will be returned.

Parameters

  • u8SourceEndPointId Number of the local endpoint for the calorific value list to be accessed

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

    • TRUE - server

    • FALSE - client

  • u32StartTime Start-time of the calorific value entry to search for

Returns

  • E_ZCL_SUCCESS

  • E_ZCL_ERR_CLUSTER_NOT_FOUND

  • E_SE_PRICE_NOT_FOUND

Parent topic:Functions