OTA Send back acknowledgement

This commit is contained in:
Otto Winter 2018-11-09 14:27:12 +01:00
parent 3594779401
commit e3094d9689
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -200,6 +200,7 @@ def perform_ota(sock, password, file_handle, filename):
receive_exactly(sock, 1, 'receive OK', RESPONSE_RECEIVE_OK) receive_exactly(sock, 1, 'receive OK', RESPONSE_RECEIVE_OK)
receive_exactly(sock, 1, 'Update end', RESPONSE_UPDATE_END_OK) receive_exactly(sock, 1, 'Update end', RESPONSE_UPDATE_END_OK)
send_check(sock, RESPONSE_OK, 'end acknowledgement')
_LOGGER.info("OTA successful") _LOGGER.info("OTA successful")