Search found 9 matches

by bcolbert
Wed Apr 10, 2024 6:31 pm
Forum: ESP-IDF
Topic: mDNS reporting wrong IP address with esp32-wifi-manager
Replies: 2
Views: 2034

Re: mDNS reporting wrong IP address with esp32-wifi-manager

An old post but I have the same problem. Solution is changing from line 233 in http_app.c as per link:https://github.com/elijahnyp/esp32-wifi-manager Now through the browser "name.local" works. Thank you for your response. I'm not sure I understand. What is the change that is needed at line 233? I'...
by bcolbert
Mon Jul 26, 2021 3:21 pm
Forum: ESP-IDF
Topic: File not opening from SPIFFS
Replies: 7
Views: 6451

Re: File not opening from SPIFFS

Thank you again for the reply.

I'm using IDF version:

% idf.py --version
ESP-IDF v4.4-dev-1849-g8e3e65a47-dirty

I'll put together a simple version and see what happens.
by bcolbert
Sun Jul 25, 2021 6:09 pm
Forum: ESP-IDF
Topic: File not opening from SPIFFS
Replies: 7
Views: 6451

Re: File not opening from SPIFFS

Thank you for the reply ESP_Sprite. I tried both forms, what I posted and

Code: Select all

fread(snd_buff, 1, BLOCK_SIZE, fd);
and it still returns 0 with no data and feof() never triggers. It's all very disappointing.
by bcolbert
Sat Jul 24, 2021 7:25 pm
Forum: ESP-IDF
Topic: File not opening from SPIFFS
Replies: 7
Views: 6451

Re: File not opening from SPIFFS

Wow! My BIG mistake on testing the opening of the file. I ported the code from using open() to fopen() and mucked up my success test. Fixed now, opening the file, but still have a major problem. Getting 0 bytes read. I may make that another forum post. ESP_LOGI(BT_APP_CORE_TAG, "Opening file %s", fi...
by bcolbert
Sat Jul 24, 2021 1:49 am
Forum: ESP-IDF
Topic: File not opening from SPIFFS
Replies: 7
Views: 6451

File not opening from SPIFFS

I'm trying to read a file from SPIFFS but getting NULL from fopen. I'm able to stat the file, but open isn't working. partitions.csv: # ESP-IDF Partition Table # Name, Type, SubType, Offset, Size, Flags nvs, data, nvs, 0x9000, 24K, phy_init, data, phy, 0xf000, 4K, factory, app, factory, 0x10000, 150...
by bcolbert
Fri Jul 23, 2021 4:21 pm
Forum: ESP-IDF
Topic: Does not work with VSCode on Mac OS Catalina
Replies: 0
Views: 1323

Does not work with VSCode on Mac OS Catalina

I'm unable to use the ESP-IDF extension for VSCode on MacOS Catalina. I suspect it's trying to use the system installed Python (2.7) even though I have a Python (3.8) installed from brew. Everything I try ends with: "Something went wrong <place your activity here>" Does anyone else use the ESP-IDF e...
by bcolbert
Mon Jul 12, 2021 4:24 pm
Forum: ESP-IDF
Topic: mDNS reporting wrong IP address with esp32-wifi-manager
Replies: 2
Views: 2034

mDNS reporting wrong IP address with esp32-wifi-manager

I'm not sure where to ask this but I'm hoping someone has run into this and has a fix. I'm using esp32-wifi-manager (https://github.com/tonyp7/esp32-wifi-manager) in my project. It works great and appears pretty simple. When the WiFi is uninitialized it starts initialized the WiFi in AP mode and pro...
by bcolbert
Tue Jul 06, 2021 5:35 pm
Forum: ESP32 Arduino
Topic: Crash with BT and WIFI
Replies: 2
Views: 3606

Re: Crash with BT and WIFI

I figured out what the problem was. The flash allocation wasn't correct (big enough?). Either way, I was able to fix by modifying the listing for my board in the boards.txt file by adding: esp32doit-devkit-v1.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS) esp32doit-devkit-v1.menu.Par...
by bcolbert
Mon Jul 05, 2021 7:43 pm
Forum: ESP32 Arduino
Topic: Crash with BT and WIFI
Replies: 2
Views: 3606

Crash with BT and WIFI

Hello, I have a very small sketch that just enables bluetooth and WiFi. If I include either esp_bluedroid_init or WiFi.mode in the sketch the program crashes. It never reaches the loop() call, as a matter of fact, even with a Serial.print at the beginning of the setup, I never see it the setup print...