This PR adds a new method to the ZigBeeOtaStatusCallback class that will allow listeners to be notified when the client sends a QueryNextImageResponse. It allows the application to return an OTA file based on the client request.
It should be noted that the listener does not get very long to respond, so if the firmware is not available immediately (within a few hundred milliseconds) then the application should return null and retrieve the firmware asynchronously such that it's ready for next time, or initiate the transfer from the server with the setFirmware method.
This PR adds a new method to the
ZigBeeOtaStatusCallback
class that will allow listeners to be notified when the client sends aQueryNextImageResponse
. It allows the application to return an OTA file based on the client request.It should be noted that the listener does not get very long to respond, so if the firmware is not available immediately (within a few hundred milliseconds) then the application should return
null
and retrieve the firmware asynchronously such that it's ready for next time, or initiate the transfer from the server with thesetFirmware
method.Signed-off-by: Chris Jackson chris@cd-jackson.com