mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Add root CA cert bundle to src
This commit is contained in:
parent
af6576b402
commit
ce11627308
@ -19,6 +19,9 @@ LV_FONT_DECLARE(unscii_8_icon);
|
||||
extern const char** btnmatrix_default_map; // memory pointer to lvgl default btnmatrix map
|
||||
extern const char* msgbox_default_map[]; // memory pointer to lvgl default btnmatrix map
|
||||
|
||||
extern const uint8_t rootca_crt_bundle_start[] asm("_binary_data_cert_x509_crt_bundle_bin_start");
|
||||
extern const uint8_t rootca_crt_bundle_end[] asm("_binary_data_cert_x509_crt_bundle_bin_end");
|
||||
|
||||
void my_image_release_resources(lv_obj_t* obj)
|
||||
{
|
||||
if(!obj) return;
|
||||
@ -1345,7 +1348,7 @@ static hasp_attribute_type_t special_attribute_src(lv_obj_t* obj, const char* pa
|
||||
#if defined(ARDUINO) && defined(ARDUINO_ARCH_ESP32)
|
||||
#if HASP_USE_WIFI > 0 || HASP_USE_ETHERNET > 0
|
||||
HTTPClient http;
|
||||
http.begin(payload);
|
||||
http.begin(payload, (const char*)rootca_crt_bundle_start);
|
||||
http.setTimeout(5000);
|
||||
http.setConnectTimeout(5000);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user