Guru meditation error when using esp_http_client_init
Posted: Fri Oct 26, 2018 1:20 pm
Hi,
This is a summary of what I am trying to do:
All of the various values are strings, numbers, or pointers which have been initialised correctly but I keep getting "guru meditation error" whenever I use "esp_http_client_init".
The purpose is to try and establish an HTTP ( not HTTPS) connection to transfer data.
Any one have any suggestions as to what I am doing wrong?
This is a summary of what I am trying to do:
Code: Select all
esp_http_client_handle_t httpClient;
clientConfig.url = httpServerFirmwareUrl;
clientConfig.host = HttpServerIpString;
clientConfig.port = httpServerPortNumber;
clientConfig.method = HTTP_METHOD_GET;
clientConfig.transport_type = HTTP_TRANSPORT_OVER_TCP;
clientConfig.buffer_size = MAX_FIRMWARE_BLOCK_SIZE;
clientConfig.event_handler = Http_OtaClientEventHandler;
httpClient = NULL;
httpClient = esp_http_client_init ( &clientConfig );
The purpose is to try and establish an HTTP ( not HTTPS) connection to transfer data.
Any one have any suggestions as to what I am doing wrong?