Search found 154 matches

by hassan789
Sat Nov 25, 2017 6:06 pm
Forum: General Discussion
Topic: OpenSSL vs mBedTLS
Replies: 5
Views: 6048

Re: OpenSSL vs mBedTLS

Thanks WiFive. It looks like "esp-idf/components/openssl/platform/" wraps mbedtls to make it look like openssl.
Seems its easier to use the openssl API, but it gives less control and is less efficient than directly using mbedtls.
by hassan789
Fri Nov 24, 2017 4:37 am
Forum: General Discussion
Topic: OpenSSL vs mBedTLS
Replies: 5
Views: 6048

OpenSSL vs mBedTLS

Some basic SSL Questions, which I am having trouble with... 1. What is the difference between OpenSSL vs mbedTLS, as used in the ESP-IDF sdk? It looks like mbedTLS has additional crypto libraries as well. 2. Why do both libraries need to be included in the SDK? Sometimes I see examples using OpenSSL...
by hassan789
Thu Nov 23, 2017 1:35 am
Forum: ESP-IDF
Topic: Minimizing power consumption while connected to WiFi
Replies: 6
Views: 11219

Re: Minimizing power consumption while connected to WiFi

A good article on how modem-sleep, light-sleep and DTIM will work (but its for esp8266). Looks like the esp8266 can get <1mA at DTIM 3 when idle. https://www.espressif.com/sites/default/files/9b-esp8266-low_power_solutions_en_0.pdf Hopefully, we get light-sleep (aka tickless sleep) soon for ESP32 as...
by hassan789
Wed Nov 22, 2017 1:30 am
Forum: General Discussion
Topic: What happens if two ESP32 use the same static IP?
Replies: 2
Views: 1953

Re: What happens if two ESP32 use the same static IP?

Thanks. I guess I will test it myself to see how the esp/lwip stack will react.
by hassan789
Tue Nov 21, 2017 3:35 pm
Forum: General Discussion
Topic: What happens if two ESP32 use the same static IP?
Replies: 2
Views: 1953

What happens if two ESP32 use the same static IP?

What would happen if two ESP32 use the same static IP (via WiFi)? Will the second one not be able to connect?
by hassan789
Sat Nov 04, 2017 2:28 am
Forum: General Discussion
Topic: Inter-task Communication: pass the same payload through more then two tasks
Replies: 7
Views: 3629

Re: Inter-task Communication: pass the same payload through more then two tasks

Option 1: Do 3 different queues. This will use more memory, but will ensure parallel push of data.
Options 2: Use 3 different binary semaphore "takes", and have each task retrieve the payload upon a successful "take".
by hassan789
Thu Nov 02, 2017 2:35 am
Forum: ESP-IDF
Topic: ESP32 IDF RTOS SDK vs NON-OS SDK
Replies: 3
Views: 3333

Re: ESP32 IDF RTOS SDK vs NON-OS SDK

Once you use FreeRTOS (or other RTOS) you will never go back to bare metal. There is a few hours of learning curve, but you will understand it very quickly.
by hassan789
Tue Oct 31, 2017 2:54 am
Forum: ESP-IDF
Topic: Confusing Heap availability in ESP-IDF (dual-core, freertos, no Bluetooth, no wifi)
Replies: 2
Views: 2358

Re: Confusing Heap availability in ESP-IDF (dual-core, freertos, no Bluetooth, no wifi)

Thanks ESP_igrr, I was able to allocate 280kB of ram, via malloc. Looks like however, non-contiguous memory is not supported at this time, since I could not malloc all 280kB at once. Had to do it in this exact order of 3 chunks: 160kB 110kB 10kB Next steps is to study the heap_caps API: http://esp-i...
by hassan789
Mon Oct 30, 2017 10:55 pm
Forum: ESP-IDF
Topic: Confusing Heap availability in ESP-IDF (dual-core, freertos, no Bluetooth, no wifi)
Replies: 2
Views: 2358

Confusing Heap availability in ESP-IDF (dual-core, freertos, no Bluetooth, no wifi)

tl;dr -- you can skip down to summary ;) Hi All. I am trying to do some image processing on the ESP32 chip, however, I am unable to use too much heap ram. I would like to use 300kB+ if possible (more the better) in dual-core mode. I am NOT using bluetooth, and I am not using WiFi. I am using the lat...
by hassan789
Thu Oct 19, 2017 3:52 am
Forum: General Discussion
Topic: ESP32 Specifications (WiFi Receive)
Replies: 1
Views: 6685

Re: ESP32 Specifications (WiFi Receive)

So in LR mode, we have a possible link budget of 125dB (+20dB TX) - (-105dB RX). That is almost 18km in freespace. Even if we loose 1.5dB + 1.5dB due to pcb and antennas, we still can still expect ~12km range in freespace (line of sight NOT needed). EDIT: It seems that Espressif advertises that LR m...

Go to advanced search