28#ifndef OTA_HTTP_INTERFACE_H
29#define OTA_HTTP_INTERFACE_H
79typedef enum OtaHttpStatus
129typedef struct OtaHttpInterface
OtaHttpStatus_t
The OTA HTTP interface return status.
Definition: ota_http_interface.h:80
@ OtaHttpInitFailed
Error initializing the HTTP connection.
Definition: ota_http_interface.h:82
@ OtaHttpRequestFailed
Error sending the HTTP request.
Definition: ota_http_interface.h:84
@ OtaHttpDeinitFailed
Error deinitializing the HTTP connection.
Definition: ota_http_interface.h:83
@ OtaHttpSuccess
OTA HTTP interface success.
Definition: ota_http_interface.h:81
OtaHttpStatus_t(* OtaHttpRequest_t)(uint32_t rangeStart, uint32_t rangeEnd)
Request file block over Http.
Definition: ota_http_interface.h:111
OtaHttpStatus_t(* OtaHttpInit_t)(char *pUrl)
Init OTA Http interface.
Definition: ota_http_interface.h:97
OtaHttpStatus_t(* OtaHttpDeinit)(void)
Deinit OTA Http interface.
Definition: ota_http_interface.h:122
OTA Event Interface structure.
Definition: ota_http_interface.h:130
OtaHttpDeinit deinit
Reference to HTTP deinitialize.
Definition: ota_http_interface.h:133
OtaHttpRequest_t request
Reference to HTTP data request.
Definition: ota_http_interface.h:132
OtaHttpInit_t init
Reference to HTTP initialization.
Definition: ota_http_interface.h:131