eSE_PriceRemovePriceEntry

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

Description

This function can be used to delete a price entry with specified start-time from a price 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 the successful deletion of a price entry, the specified start-time must exactly match the start-time of an entry in the price list, otherwise the status code E_SE_PRICE_NOT_FOUND will be returned.

Parameters

  • u8SourceEndPointId Number of the local endpoint on which Price cluster resides

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

    • TRUE - server

    • FALSE - client

  • u32StartTime The start-time of the price entry to delete

Returns

  • E_ZCL_SUCCESS

  • E_ZCL_ERR_CLUSTER_NOT_FOUND

  • E_SE_PRICE_NOT_FOUND

  • E_SE_PRICE_TABLE_NOT_FOUND

Parent topic:Functions