Search found 39 matches

by plusorc
Mon Apr 08, 2024 2:24 am
Forum: General Discussion
Topic: Issue with ESP32 OTA Connection to AWS S3
Replies: 4
Views: 1635

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: 281

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: 703

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: 584

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: 584

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: 1435

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: 14290

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: 14290

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 8979 times
by plusorc
Mon Sep 14, 2020 10:37 am
Forum: Hardware
Topic: Gaps in ADC voltage response when using DMA
Replies: 15
Views: 14290

Re: Gaps in ADC voltage response when using DMA

I actually meant externally , If you're trying to read from INPUT pins like GPIO34 .. AFAIK it doesn't have internal resistors see this thread , I ended up using 2n222 to invert the signal and only that made it work accurately In my case I also couldn't pull down the PIN externally so I inverted the...
by plusorc
Sun Sep 13, 2020 9:28 pm
Forum: Hardware
Topic: Gaps in ADC voltage response when using DMA
Replies: 15
Views: 14290

Re: Gaps in ADC voltage response when using DMA

can you repeat your simplified test after pulling low the PIN you're reading from ?

I had strange results recently when I was just reading mains frequency , and now all is good after
inverting the signal (had to do that instead of pulling low the PIN)