forked from espressif/arduino-esp32
Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (#1878)
* TX Flow Control and Code cleanup * Use semaphore instead of delay TX functionality is done. * Use single buffer and empty queue on exit * Fix compile issues because of LwIP code relocation * Add temporary header to fix Azure not compiling * Fix AsyncUDP early init * AsyncUDP Multicast fixes * Add source mac address and rework multicast * Allow redefinition of default pins for Serials 1 and 2 * Update IDF to 3276a13 * Update esptool.py to 2.5.0 * Fix sketches * Fix log level in BluetoothSetial
This commit is contained in:
@ -76,6 +76,11 @@ typedef enum {
|
||||
HTTP_METHOD_PUT, /*!< HTTP PUT Method */
|
||||
HTTP_METHOD_PATCH, /*!< HTTP PATCH Method */
|
||||
HTTP_METHOD_DELETE, /*!< HTTP DELETE Method */
|
||||
HTTP_METHOD_HEAD, /*!< HTTP HEAD Method */
|
||||
HTTP_METHOD_NOTIFY, /*!< HTTP NOTIFY Method */
|
||||
HTTP_METHOD_SUBSCRIBE, /*!< HTTP SUBSCRIBE Method */
|
||||
HTTP_METHOD_UNSUBSCRIBE,/*!< HTTP UNSUBSCRIBE Method */
|
||||
HTTP_METHOD_OPTIONS, /*!< HTTP OPTIONS Method */
|
||||
HTTP_METHOD_MAX,
|
||||
} esp_http_client_method_t;
|
||||
|
||||
@ -131,7 +136,7 @@ typedef struct {
|
||||
* - `esp_http_client_handle_t`
|
||||
* - NULL if any errors
|
||||
*/
|
||||
esp_http_client_handle_t esp_http_client_init(esp_http_client_config_t *config);
|
||||
esp_http_client_handle_t esp_http_client_init(const esp_http_client_config_t *config);
|
||||
|
||||
/**
|
||||
* @brief Invoke this function after `esp_http_client_init` and all the options calls are made, and will perform the
|
||||
@ -350,6 +355,17 @@ esp_err_t esp_http_client_close(esp_http_client_handle_t client);
|
||||
*/
|
||||
esp_err_t esp_http_client_cleanup(esp_http_client_handle_t client);
|
||||
|
||||
/**
|
||||
* @brief Get transport type
|
||||
*
|
||||
* @param[in] client The esp_http_client handle
|
||||
*
|
||||
* @return
|
||||
* - HTTP_TRANSPORT_UNKNOWN
|
||||
* - HTTP_TRANSPORT_OVER_TCP
|
||||
* - HTTP_TRANSPORT_OVER_SSL
|
||||
*/
|
||||
esp_http_client_transport_t esp_http_client_get_transport_type(esp_http_client_handle_t client);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user