Search found 41 matches

by plusorc
Wed Apr 24, 2024 2:40 pm
Forum: ESP-IDF
Topic: [Solved] sdCard (sdmmc / 1 bit mode) memory leak (16-28 bytes) on 2nd unmount
Replies: 2
Views: 907

Re: [Solved] sdCard (sdmmc / 1 bit mode) memory leak (16-28 bytes) on 2nd unmount

Thank You so much for your help Switching to v5.2.1 solved the problem Chip Started Wifi Started Getting Auth Info , Memory : 159Kb Getting Auth Info ..... Success !, Memory : 170Kb Start Sending File : file_1024000.txt, Size : 1024000 !Ahora mismo : Wed Apr 24 14:13:01 UTC 2024, ¡Hola Mundo! Finish...
by plusorc
Tue Apr 23, 2024 1:52 pm
Forum: ESP-IDF
Topic: [Solved] sdCard (sdmmc / 1 bit mode) memory leak (16-28 bytes) on 2nd unmount
Replies: 2
Views: 907

[Solved] sdCard (sdmmc / 1 bit mode) memory leak (16-28 bytes) on 2nd unmount

In brief words - We have to mount and un-mount sdCard on regular basis - First time we do this -> no leak - 2nd time mounting doesn't leak memory either - 2nd un-mount of the sdCard leaks memory Chip : ESP32 (rev 1) IDF : ESP-IDF v5.1.3-416-gd23b7a0361 Reproduce Code #include "esp_vfs_fat.h" #includ...
by plusorc
Mon Apr 08, 2024 2:24 am
Forum: General Discussion
Topic: Issue with ESP32 OTA Connection to AWS S3
Replies: 4
Views: 2851

Re: Issue with ESP32 OTA Connection to AWS S3

Are you commenting the Keys in your config client ? All I see is one line and is commented in the code you posted . This is how the config should be with mutual auth "which AWS uses" void update_firmware(char *lnk) { printf("\nFirmware Update Started !\n"); esp_http_client_config_t config = { .url =...
by plusorc
Tue Apr 02, 2024 3:46 am
Forum: ESP-IDF
Topic: MQTT certificate cause crash
Replies: 1
Views: 706

Re: MQTT certificate cause crash

I haven't done this method in a while , I usually use an NVS partition for that But is there any chance you forgot to include the certificate in CmakeLists.txt in the main folder ? # Embed the server root certificate into the final binary # # (If this was a component, we would set COMPONENT_EMBED_TX...
by plusorc
Tue Apr 02, 2024 3:28 am
Forum: ESP-IDF
Topic: Is it possible to run esp_http_client & mqtt at the same time ?
Replies: 0
Views: 1055

Is it possible to run esp_http_client & mqtt at the same time ?

I'm trying to run MQTT for logging together with espHttpClient doing multipart post upload for some reason this is not working at all I have the http working very well without any issue When I run MQTT, it connects to my mosquitto broker and subscribes , but the espHttpClient stops uploading the dat...
by plusorc
Mon Sep 25, 2023 1:19 am
Forum: ESP-IDF
Topic: Can't Get File Serial Number (st_ino) from files on sdCard/Flash
Replies: 2
Views: 1125

Re: Can't Get File Serial Number (st_ino) from files on sdCard/Flash

Thanks for the info on both ESPs & Linux :)

I really Appreciate your help
by plusorc
Sun Sep 24, 2023 5:12 pm
Forum: ESP-IDF
Topic: Can't Get File Serial Number (st_ino) from files on sdCard/Flash
Replies: 2
Views: 1125

Can't Get File Serial Number (st_ino) from files on sdCard/Flash

Every thing that is working on C / linux system , Is working on ESP Flash struct stat st ; char* filePath = "/sdcard/myFile.txt"; stat(filePath, &st); From here I can get all the usual info , Size , Name , Type of File .. except the st.st_ino It's always zero I even get a warning about the proper ty...
by plusorc
Fri Jul 23, 2021 3:21 am
Forum: ESP-IDF
Topic: ESP8266-RTOS SDK , Directed Broadcast Fails
Replies: 0
Views: 1978

ESP8266-RTOS SDK , Directed Broadcast Fails

Hello I'm having hard time trying to get 8266-Rtos to do a directed UDP Broadcast (192.168.1.255) The example Server in the IDF does work but loses so many packets , This doesn't happen with 2 Android Phones using the same Subnet . Sending a Unicast packet to the chip works with almost 99% success ....
by plusorc
Tue Sep 15, 2020 3:08 pm
Forum: Hardware
Topic: Gaps in ADC voltage response when using DMA
Replies: 15
Views: 17566

Re: Gaps in ADC voltage response when using DMA

ADC works , actually it works like you expect it to work , but sometimes it just makes strange behaviour If you look at the link I posted earlier , it works but gives strange results from time to time and only by inverting the signal from HIGH to LOW or (pulling the PIN LOW) , it worked very accurat...
by plusorc
Tue Sep 15, 2020 12:49 pm
Forum: Hardware
Topic: Gaps in ADC voltage response when using DMA
Replies: 15
Views: 17566

Re: Gaps in ADC voltage response when using DMA

I'm getting the same thing you have , even when I pulled it low .. same result
bands.png
bands.png (60.26 KiB) Viewed 11059 times