Search found 15 matches
- Tue Oct 09, 2018 12:28 pm
- Forum: General Discussion
- Topic: How should one handle expiring TLS certificates?
- Replies: 4
- Views: 11464
Re: How should one handle expiring TLS certificates?
Thank you for the explanation. I'd like to restated it to make sure I understand the current situation. Since I'm using a root certificate which we do not control, when it expires HTTPS will fail to work. If we continue down this route, this means that we'll need to use OTA to ensure that we do not ...
- Mon Oct 08, 2018 7:55 pm
- Forum: General Discussion
- Topic: How should one handle expiring TLS certificates?
- Replies: 4
- Views: 11464
How should one handle expiring TLS certificates?
I've not done much work using HTTPS, but here's what I have so far. We have a server running at https://mydomain.azurewebsites.net I obtained a root certificate via the command openssl s_client -showcerts -connect <server_name>:443 </dev/null I am able to validate my connection, send data, and recei...
- Fri Oct 05, 2018 3:10 pm
- Forum: General Discussion
- Topic: esp_tls_conn_read is adding extra characters to the data I receive
- Replies: 4
- Views: 7197
Re: esp_tls_conn_read is adding extra characters to the data I receive
I opted to remove the chunk lengths from the response myself. I think using the http client may very well be a better option, but I'm very time constrained at the moment. If I encountered any more issues with these server communications, then I'll look into the http client. But for now, this is work...
- Fri Oct 05, 2018 1:18 pm
- Forum: General Discussion
- Topic: esp_tls_conn_read is adding extra characters to the data I receive
- Replies: 4
- Views: 7197
Re: esp_tls_conn_read is adding extra characters to the data I receive
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding That data is coming from the server That would explain it, thanks! Hi Henry, You may find the esp_http_client component helpful. It supports chunked encoding: https://docs.espressif.com/projects/esp-idf/en/latest/api-refere...
- Thu Oct 04, 2018 10:12 pm
- Forum: General Discussion
- Topic: esp_tls_conn_read is adding extra characters to the data I receive
- Replies: 4
- Views: 7197
esp_tls_conn_read is adding extra characters to the data I receive
I'm POST'ing data to a server and getting a response from it. Here's what I expect to get: HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: application/json; charset=utf-8 Server: Kestrel X-Powered-By: ASP.NET Set-Cookie: ARRAffinity=0c1a6972157af12ca575fb7a0ce73c735c8fb0151334f0283fcc042a33...
- Mon Oct 01, 2018 6:17 pm
- Forum: General Discussion
- Topic: Issues with CP2102N in custom board
- Replies: 2
- Views: 6076
Re: Issues with CP2102N in custom board
Were you able to figure out the issue? I'm in a similar position. I was able to program the board a couple of times, but I had to disconnect USB and plug it back in each time. I then programmed in some sample Ethernet code and have been unable to get it to program since. Edit: I somehow turned off t...
- Mon Jun 11, 2018 1:06 pm
- Forum: General Discussion
- Topic: If want to enable WiFi and BLE with partitions two ota, 4MB flash is enough or not?
- Replies: 9
- Views: 17024
Re: If want to enable WiFi and BLE with partitions two ota, 4MB flash is enough or not?
I've run into a similar situation. I'm using WiFi, SmartConfig, BLE, AWS IoT, Shadow data, OTA, and a few other things. My application is sitting at about 1.1 MB. I've eliminated the factory partition and upped my two OTA partitions to 1.5 MB each. Once the system leaves the factory, we do not want ...
- Fri Jun 08, 2018 6:09 pm
- Forum: General Discussion
- Topic: I'm not quite sure I understand the usage of PSRAM on the WROVER
- Replies: 4
- Views: 9448
Re: I'm not quite sure I understand the usage of PSRAM on the WROVER
Putting 40K on the stack is IMO never a good thing to do. You should as Kolban says... use the heap. With the ext spi ram you can create storage on the heap with the following.... heap_caps_malloc(size, MALLOC_CAP_SPIRAM); John A I'm ordering a WROVER kit today instead of my DevKitC. I'll update my...
- Fri Jun 08, 2018 6:07 pm
- Forum: General Discussion
- Topic: I'm not quite sure I understand the usage of PSRAM on the WROVER
- Replies: 4
- Views: 9448
Re: I'm not quite sure I understand the usage of PSRAM on the WROVER
Great, think I got it. Would like one clarification though. You suggest In your example/story, consider storing your received data in a heap allocated chunk of storage such as that returned by malloc(). This will (by definition) not use any stack space such as your local FreeRTOS stack. The heap req...
- Fri Jun 08, 2018 4:37 pm
- Forum: General Discussion
- Topic: I'm not quite sure I understand the usage of PSRAM on the WROVER
- Replies: 4
- Views: 9448
I'm not quite sure I understand the usage of PSRAM on the WROVER
I'm working on a project which needs to support receiving commands from AWS MQTT in JSON format. Those commands may be as large as 40kB. That seems to be a pretty significant chunk of my available stack space and doesn't leave much room for anything else. For starting my MQTT task: void Mqtt_Start_T...