30#ifndef OTA_HTTP_INTERFACE_H
31#define OTA_HTTP_INTERFACE_H
87typedef enum OtaHttpStatus
137typedef struct OtaHttpInterface
OtaHttpStatus_t
The OTA HTTP interface return status.
Definition: ota_http_interface.h:88
@ OtaHttpInitFailed
Error initializing the HTTP connection.
Definition: ota_http_interface.h:90
@ OtaHttpRequestFailed
Error sending the HTTP request.
Definition: ota_http_interface.h:92
@ OtaHttpDeinitFailed
Error deinitializing the HTTP connection.
Definition: ota_http_interface.h:91
@ OtaHttpSuccess
OTA HTTP interface success.
Definition: ota_http_interface.h:89
OtaHttpStatus_t(* OtaHttpRequest_t)(uint32_t rangeStart, uint32_t rangeEnd)
Request file block over Http.
Definition: ota_http_interface.h:119
OtaHttpStatus_t(* OtaHttpInit_t)(char *pUrl)
Init OTA Http interface.
Definition: ota_http_interface.h:105
OtaHttpStatus_t(* OtaHttpDeinit)(void)
Deinit OTA Http interface.
Definition: ota_http_interface.h:130
OTA Event Interface structure.
Definition: ota_http_interface.h:138
OtaHttpDeinit deinit
Reference to HTTP deinitialize.
Definition: ota_http_interface.h:141
OtaHttpRequest_t request
Reference to HTTP data request.
Definition: ota_http_interface.h:140
OtaHttpInit_t init
Reference to HTTP initialization.
Definition: ota_http_interface.h:139