Search found 57 matches

by mpulis
Tue Apr 13, 2021 5:28 pm
Forum: General Discussion
Topic: Not allowed to re-bind socket to same port
Replies: 0
Views: 1418

Not allowed to re-bind socket to same port

Hi, I have an application where, upon an external event, a socket is opened to a remote server using TCP and a string is sent over it. A new socket is created each time, then closed and shutdown after the data is sent. Now I've been informed by a client of ours that they wish the source port to rema...
by mpulis
Tue Apr 13, 2021 7:47 am
Forum: General Discussion
Topic: Including files from an external folder
Replies: 0
Views: 1367

Including files from an external folder

Hi, I'm attempting to include some header files to a project from a folder outside of the project's directory. To my understanding, this can be done using the EXTRA_COMPONENT_DIRS in the project's CMakeLists file. However, this is not working. I'm posting the contents of myCMakeLists file below. set...
by mpulis
Mon Mar 15, 2021 12:29 pm
Forum: General Discussion
Topic: ESP32-TLS Client Verification
Replies: 0
Views: 1375

ESP32-TLS Client Verification

Hi,

I know that the ESP32's TLS library supports server-verification using certificates, but is there an option for client-verification as well?
by mpulis
Fri Dec 18, 2020 1:21 pm
Forum: General Discussion
Topic: Query on the ESP32's internal DRAM
Replies: 6
Views: 4399

Re: Query on the ESP32's internal DRAM

I've found the root of the issue! It has nothing to do with the ESP32's memory and everything to do with my firmware :oops: A TCP Client was being initialized twice in the device which kept rebooting, resulting in the lower amount of unallocated memory on it.

Thanks for your support!
by mpulis
Wed Dec 16, 2020 3:48 pm
Forum: General Discussion
Topic: Query on the ESP32's internal DRAM
Replies: 6
Views: 4399

Re: Query on the ESP32's internal DRAM

I see. Well, all the boards (custom made boards) being tested use the WROVER-IE, which should have the same ECO version. But your earlier point regarding the WiFi stack has put a bug in my ear :P I'll try checking how the amount of un-allocated memory varies between different boards both with and wi...
by mpulis
Wed Dec 16, 2020 9:15 am
Forum: General Discussion
Topic: Query on the ESP32's internal DRAM
Replies: 6
Views: 4399

Re: Query on the ESP32's internal DRAM

This is during initialization, just after the WiFi stack has been initialized.

Please forgive what might be an obvious question, but what do you mean by different ECO?
by mpulis
Tue Dec 15, 2020 9:44 am
Forum: General Discussion
Topic: Query on the ESP32's internal DRAM
Replies: 6
Views: 4399

Query on the ESP32's internal DRAM

Hi, I've compiled a firmware and had it run on multiple devices without any sort of issue, but have found 1 which was stuck in a continuous reset loop. On further investigation the cause was found. When a particular task was created using the xTaskCreatePinnedToCore() function, an error code of -1 w...
by mpulis
Tue Aug 04, 2020 5:14 pm
Forum: General Discussion
Topic: Issue with updating an old device OTA
Replies: 3
Views: 3899

Re: Issue with updating an old device OTA

Hi, Yes, that was already enabled. I found the issue. It was because the firmware was attempting to mount a file-system onto a partition with subtype 'spiffs' which existed in the partition table of the new firmware, but not in the old one. I've since managed to get around this by mounting the file-...
by mpulis
Mon Aug 03, 2020 1:05 pm
Forum: General Discussion
Topic: Issue with updating an old device OTA
Replies: 3
Views: 3899

Re: Issue with updating an old device OTA

Forgive me for bumping my own thread, but does anyone have an idea on why this is happening?
by mpulis
Thu Jul 30, 2020 8:43 am
Forum: General Discussion
Topic: Issue with updating an old device OTA
Replies: 3
Views: 3899

Issue with updating an old device OTA

Hi, I need to remotely update a device which is currently running firmware developed using IDF 2.0 to a newer firmware developed in IDF 3.3 . I'm trying out the OTA update locally to test it out but although the new firmware does boot up after the update, it seems to be crashing nearly immediately. ...