hi , is there any example code for https request in esp32..?

Reeshma
Posts: 37
Joined: Tue Mar 28, 2017 12:40 pm

hi , is there any example code for https request in esp32..?

Postby Reeshma » Fri May 26, 2017 11:25 am

I have tried the example code of https request , but i can't get the output.
The output which am getting is
I (222) wifi: wifi firmware version: 75d56a6
I (232) wifi: config NVS flash: enabled
I (232) wifi: config nano formating: disabled
[0;32mI (232) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
[0;32mI (242) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
I (272) wifi: Init dynamic tx buffer num: 32
I (272) wifi: Init dynamic rx buffer num: 32
I (272) wifi: wifi driver task: 3ffbe1d4, prio:23, stack:4096
I (282) wifi: Init static rx buffer num: 10
I (282) wifi: Init dynamic rx buffer num: 32
I (282) wifi: Init rx ampdu len mblock:7
I (292) wifi: Init lldesc rx ampdu entry mblock:4
I (292) wifi: wifi power manager task: 0x3ffc359c prio: 21 stack: 2560
[0;32mI (302) example: Setting WiFi configuration SSID shaolin...[0m
I (312) wifi: wifi timer task: 3ffc461c, prio:22, stack:3584
[0;32mI (362) phy: phy_version: 354.0, b2dba61, May 16 2017, 21:41:06, 0, 0[0m
I (362) wifi: mode : sta (24:0a:c4:00:51:a6)
[0;32mI (362) example: Seeding the random number generator[0m
[0;32mI (362) example: Loading the CA root certificate...[0m
[0;32mI (372) example: Setting hostname for TLS session...[0m
[0;32mI (372) example: Setting up the SSL/TLS structure...[0m
till this , am getting the output , i cannot able to read the http response...
caN anyone please say , what modification will am need to do ...?? in code or else make menuconfig....

f.h-f.s.
Posts: 214
Joined: Thu Dec 08, 2016 2:53 pm

Re: hi , is there any example code for https request in esp32..?

Postby f.h-f.s. » Fri May 26, 2017 5:59 pm

The next print line would be:

Code: Select all

xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT, false, true, portMAX_DELAY);
ESP_LOGI(TAG, "Connected to AP");
Could it be you set the wrong wifi ssid or password? if you did, the program would be waiting indefinitely on the wait bits. You can also set the log to verbose in menuconfig, that might give you clues.

Reeshma
Posts: 37
Joined: Tue Mar 28, 2017 12:40 pm

Re: hi , is there any example code for https request in esp32..?

Postby Reeshma » Mon May 29, 2017 4:19 am

Thank you sir , now i can able to read the https response ...because i made a mistake in the SSID configuration.Thanks for your response sir.

Who is online

Users browsing this forum: Bing [Bot] and 45 guests