28#ifndef OTA_HTTP_INTERFACE_H
29#define OTA_HTTP_INTERFACE_H
85typedef enum OtaHttpStatus
135typedef struct OtaHttpInterface
OtaHttpStatus_t
The OTA HTTP interface return status.
Definition: ota_http_interface.h:86
@ OtaHttpInitFailed
Error initializing the HTTP connection.
Definition: ota_http_interface.h:88
@ OtaHttpRequestFailed
Error sending the HTTP request.
Definition: ota_http_interface.h:90
@ OtaHttpDeinitFailed
Error deinitializing the HTTP connection.
Definition: ota_http_interface.h:89
@ OtaHttpSuccess
OTA HTTP interface success.
Definition: ota_http_interface.h:87
OtaHttpStatus_t(* OtaHttpRequest_t)(uint32_t rangeStart, uint32_t rangeEnd)
Request file block over Http.
Definition: ota_http_interface.h:117
OtaHttpStatus_t(* OtaHttpInit_t)(char *pUrl)
Init OTA Http interface.
Definition: ota_http_interface.h:103
OtaHttpStatus_t(* OtaHttpDeinit)(void)
Deinit OTA Http interface.
Definition: ota_http_interface.h:128
OTA Event Interface structure.
Definition: ota_http_interface.h:136
OtaHttpDeinit deinit
Reference to HTTP deinitialize.
Definition: ota_http_interface.h:139
OtaHttpRequest_t request
Reference to HTTP data request.
Definition: ota_http_interface.h:138
OtaHttpInit_t init
Reference to HTTP initialization.
Definition: ota_http_interface.h:137