Search found 12 matches

by levente
Mon Jun 10, 2024 12:37 pm
Forum: ESP-IDF
Topic: Switching between Ethernet and Wifi without reboot
Replies: 0
Views: 289

Switching between Ethernet and Wifi without reboot

Looking at IDF v5.2.1 and beyond: with the rearchitected Netif component and the sequence of creating an Ethernet or a Wifi stack, was wondering based on documentation and examples (which only create one or other type of network stack): Is there now a way to demolish e.g. Ethernet-based Netif instan...
by levente
Tue Jun 04, 2024 10:11 am
Forum: ESP-IDF
Topic: Handling disconnect/reconnect in "permanent" MQTT session
Replies: 0
Views: 354

Handling disconnect/reconnect in "permanent" MQTT session

Hello, using esp-aws-iot component master branch with IDF5.2.1 , and having managed to run shadow updates and jobs, one major area admittedly remains a puzzle - any thoughts hugely appreciated: Our IoT device, unlike the examples' central philosophy, needs to have a "permanent" MQTT session - and it...
by levente
Fri Dec 17, 2021 1:02 pm
Forum: ESP IoT Solution
Topic: Release schedule for AWS IOT SDK v4 (202103.00) ported to esp-aws-iot component?
Replies: 2
Views: 15420

Re: Release schedule for AWS IOT SDK v4 (202103.00) ported to esp-aws-iot component?

Hello again, Sorry but is it in any way possible to find out any information about the mentioned beta branch? It is a fundamental aspect for anybody planning productised use of the library - but it seems impossible to find any even estimated release schedule. Any help much appreciated again, but it'...
by levente
Mon Dec 06, 2021 5:56 pm
Forum: ESP IoT Solution
Topic: Release schedule for AWS IOT SDK v4 (202103.00) ported to esp-aws-iot component?
Replies: 2
Views: 15420

Re: Release schedule for AWS IOT SDK v4 (202103.00) ported to esp-aws-iot component?

Hello again, regarding the original question - any way of finding out any estimate for the timeline of when it could be used in productisation? It is quite significant aspect as it is currently on Beta branch - and so far was impossible to find out in any way any information on this. Thanks again in...
by levente
Fri Nov 26, 2021 10:56 am
Forum: ESP-IDF
Topic: heap_caps_malloc() returning NULL on spiram
Replies: 10
Views: 19935

Re: heap_caps_malloc() returning NULL on spiram

Would concur, the problem was/is most likely that with the specific capabilities (especially DMA) *and* large requested size, the pool had no such allocation class available. So with heap allocations, even thought the physical maximum size of available heap is larger than what is being requested, de...
by levente
Fri Nov 26, 2021 10:32 am
Forum: ESP-IDF
Topic: OTA via esp_https_ota() - still usable on top of newer v4 AWS IOT C SDK?
Replies: 0
Views: 2675

OTA via esp_https_ota() - still usable on top of newer v4 AWS IOT C SDK?

Hello, the IDF examples for using AWS IOT C SDK 202003.00 (the v4 SDK) show vast user code for performing OTA over HTTPS or MQTT, needing to set up myriad operations that were not necessary when using esp_https_ota() and older v3 AWS IOT SDK. However, IDF documentation still specifies esp_https_ota(...
by levente
Fri Nov 19, 2021 12:46 pm
Forum: ESP-IDF
Topic: Using more than 24 bits in EventGroups
Replies: 7
Views: 9658

Re: Using more than 24 bits in EventGroups

Hmmm haven't tried, only split things into multiple groups - but if needing to wait on multiple events bits "across" the different groups, not quite sure how it would be done. The FreeRTOS function can exit wait for a mask of expected bits but only within same event group, so would think some thinki...
by levente
Fri Nov 19, 2021 12:43 pm
Forum: ESP-IDF
Topic: ESP32 chip Revision
Replies: 1
Views: 1895

Re: ESP32 chip Revision

It should - we used for ages min rev1 on an actual rev3 silicon for various reasons.
One footnote that it changes the "strategy" of SDK config options, so changing this option can cause eyewatering number of config flag changes, as many are inter-related (e.g. secure boot modes etc.).
by levente
Fri Nov 19, 2021 8:06 am
Forum: ESP-IDF
Topic: Using more than 24 bits in EventGroups
Replies: 7
Views: 9658

Re: Using more than 24 bits in EventGroups

Not sure there would be a way that is safe/clean - the 8 vs 24 bit event groups are very built into FreeRTOS internals, there is even dependency on their internal use of the data types at even task implementation level. So below suggests that even if one somehow hacked the size of event groups, the ...
by levente
Thu Nov 18, 2021 3:07 pm
Forum: ESP-IDF
Topic: IDF v4.x - SD card in SPI mode with non-default SPI data GPIOs: deprecated functions in IDF
Replies: 0
Views: 1590

IDF v4.x - SD card in SPI mode with non-default SPI data GPIOs: deprecated functions in IDF

Hello, as migration from IDF v3.x to IDF 4.3.1 was done, we noticed that APIs that allowed mounting the SD card such that non-default SPI GPIOs could be specified are marked as 'deprecated' in new esp_vfs_fat_sdmmc_mount() API. The new esp_vfs_fat_sdspi_mount() API has arguments that no longer allow...