Search found 59 matches
- Thu May 11, 2017 9:38 pm
- Forum: Sample Code
- Topic: Full example of using libcurl with ESP32
- Replies: 12
- Views: 43963
Re: Full example of using libcurl with ESP3232
This is great stuff! I'm trying to connect to a server at 192.168.1.20. It is a Ubiquiti ethernet radio. In your example, you create a connection to the (http://loboris.eu/ESP32/test.php) domain. The output you get if verbose is enabled is * timeout on name lookup is not supported * Trying 82.196.4....
- Wed May 10, 2017 1:53 pm
- Forum: Sample Code
- Topic: [Video] - ESP32 and working with Lib CURL
- Replies: 11
- Views: 17446
Re: [Video] - ESP32 and working with Lib CURL
Kolban, I asked about the issue on the libcurl email forum, and I was told I could use a new flag "CURLOPT_SSL_CTX_FUNCTION". I found this example online on how to use it. It is only available in the latest release of the library (7.54.0). I've updated the libcurl library and I'm on 7.54.1-DEV. I al...
- Fri May 05, 2017 8:20 pm
- Forum: Sample Code
- Topic: [Video] - ESP32 and working with Lib CURL
- Replies: 11
- Views: 17446
Re: [Video] - ESP32 and working with Lib CURL
Kolban, Thanks for your help! Everything was very clear. I was able to disable the watch dog timer, for now, to debug my problem. Once I did, the program just sat there indefinitely. I added the verbose flag to give me more to work with and the following was the output. * timeout on name lookup is n...
- Thu May 04, 2017 9:01 pm
- Forum: Sample Code
- Topic: [Video] - ESP32 and working with Lib CURL
- Replies: 11
- Views: 17446
Re: [Video] - ESP32 and working with Lib CURL
Kolban, Thanks for showing us how to get curl working. I'm working on a project that requires me to use https. I'm connecting to a server with a self signed cert. I use curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L); curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYHOST, 0L); to get passed any warnings. T...
- Thu May 04, 2017 8:46 pm
- Forum: General Discussion
- Topic: OTA fails when BLE is enabled
- Replies: 7
- Views: 9767
Re: OTA fails when BLE is enabled
Thank you. I updated the IDF, and make menuconfig gave me the options to disable the gatt client. It cut down the code enough for OTA to work.
THANKS!
THANKS!
- Wed May 03, 2017 10:32 pm
- Forum: General Discussion
- Topic: OTA fails when BLE is enabled
- Replies: 7
- Views: 9767
Re: OTA fails when BLE is enabled
I think my problem is the size of the code when I'm using bluetooth. When I just compile the bluetooth code with everything else commented out (basically the example code from the idf), the size is 872224. When I compile my project without the bluetooth code the size is 591472. Compiling my project ...
- Tue May 02, 2017 4:44 pm
- Forum: General Discussion
- Topic: OTA fails when BLE is enabled
- Replies: 7
- Views: 9767
OTA fails when BLE is enabled
I've recently starting using the BLE on my application. OTA updates were working just fine before I starting using BLE. Now, if I try to run an OTA update with the BLE code running, I get the following errors: I (15703) ota: Connected to server I (15703) ota: Connected to http server I (15703) ota: ...
- Fri Apr 28, 2017 12:20 am
- Forum: General Discussion
- Topic: BLE Warnings on IDF 2.0
- Replies: 0
- Views: 2692
BLE Warnings on IDF 2.0
I've upgraded to the new IDF (2.0), and my BLE code is having a few issues. When the board is reset, I get the following: BTDM CONTROLLER VERSION: 010101 btip start copy .data from 4000d890 to 3ffae6e0, len 00001830 set .bss 0x0 from 3ffb8000 to 3ffbff70, len 00007f70 BTDM ROM VERSION 0101 BD_ADDR: ...
- Fri Apr 14, 2017 6:49 pm
- Forum: General Discussion
- Topic: I2C now working on IDF-v2.0
- Replies: 1
- Views: 3504
I2C now working on IDF-v2.0
I am using two MCP23017 port expanders on the ESP32. Everything was working great until I upgraded my idf to v2.0. My code no longer controls my MCP23017's, and it doesn't throw any errors. The pins on the MCP23017 don't change, and I get random values back from the read. Below I have code for my re...
- Fri Apr 14, 2017 6:26 pm
- Forum: Sample Code
- Topic: [Video] ESP32 - DS1307 real time clock
- Replies: 14
- Views: 31350
Re: [Video] ESP32 - DS1307 real time clock
Got it working! Thanks Kolban for your help. My problem was with localtime(). Before using it, you have to call time(). time_t now_after; time ( &now_after ); char buff_after[100]; strftime (buff_after, 100, "%Y-%m-%dT%H:%M:%S.000", localtime (&now_after)); I do have one problem. Sometimes the reads...