Add README, 'make help', header comments, Copyright notices

This commit is contained in:
Angus Gratton 2015-06-02 15:06:40 +10:00
parent c8bc934b3d
commit c126fa6430
7 changed files with 165 additions and 26 deletions

View file

@ -1,3 +1,9 @@
/* http_get - Retrieves a web page over HTTP GET.
*
* See http_get_ssl for a TLS-enabled version.
*
* This sample code is in the public domain.,
*/
#include "espressif/esp_common.h"
#include "FreeRTOS.h"

View file

@ -1,3 +1,11 @@
/* http_get_ssl - HTTPS version of the http_get example.
*
* Retrieves a web page over HTTPS (TLS) using GET.
*
* Does not validate server certificate.
*
* This sample code is in the public domain.,
*/
#include "espressif/esp_common.h"
#include "FreeRTOS.h"
@ -214,3 +222,4 @@ static void display_cipher(SSL *ssl)
printf("\n");
}