Search found 2 matches

by talss89
Sat Jun 15, 2019 11:01 am
Forum: ESP-IDF
Topic: ESP32 memmem?
Replies: 2
Views: 4502

Re: ESP32 memmem?

Hi caseymdk, I know this is an old thread, but in case any one else has the same issue: memmem is a GNU extension. You need to define a feature test macro: _GNU_SOURCE . It must be defined before any standard headers have been included . For example: #define _GNU_SOURCE #include <stdio.h> #include <...
by talss89
Fri Oct 26, 2018 8:25 pm
Forum: ESP-IDF
Topic: HTTPS OTA with Basic Authorization
Replies: 12
Views: 15692

Re: HTTPS OTA with Basic Authorization

Hi - I've been working on HTTPS OTA today (not basic auth, admittedly), and saw your post when I was searching around streaming other data to flash with microtar. From what I've seen, esp_http_client_init() is called by esp_https_ota(), and it's this function that takes the authorisation properties ...