eOTA_ServerImageNotify
teZCL_Status eOTA_ServerImageNotify(
uint8 u8SourceEndpoint,
uint8 u8DestinationEndpoint,
tsZCL_Address *psDestinationAddress,
tsOTA_ImageNotifyCommand *psImageNotifyCommand);
Description
This function issues an Image Notify message to one or more clients to indicate that a new application image is available for download.
The message can be unicast to an individual client or multicast to selected clients (but cannot be broadcast to all clients, for security reasons).
Parameters
u8SourceEndpoint: Number of endpoint (on server) from which the message is sent
u8DestinationEndpoint: Number of endpoint (on client) to which the message is sent
psDestinationAddress: Pointer to structure containing the address of the target client for the message - a multicast to more than one client is also possible (see Section 6.1.4)
psImageNotifyCommand: Pointer to structure containing payload for message (see Section 49.11.5)
Returns
E_ZCL_SUCCESS
E_ZCL_FAIL
Parent topic:Server Functions