Search found 606 matches

by fly135
Fri Jul 19, 2019 6:33 pm
Forum: General Discussion
Topic: Using printf inside Task
Replies: 6
Views: 15494

Re: Using printf inside Task

In my experience, using printf adds 1K to the stack requirement for a task.

John A
by fly135
Thu Jun 13, 2019 3:38 pm
Forum: ESP-IDF
Topic: OTA upgrade is aborting
Replies: 21
Views: 31425

Re: OTA upgrade is aborting

Ritu21 wrote:
Thu Jun 13, 2019 1:36 pm
I am getting the same error again. Please help me to solve this issue.
Maybe it's hanging in your NVS calls at the end.

John A
by fly135
Tue Jun 11, 2019 5:07 pm
Forum: General Discussion
Topic: Network penetration on ESP32
Replies: 1
Views: 4451

Re: Network penetration on ESP32

I think you would have to perform that on your product. Security is based on your specific implementation of the security features available to you in the platform. You can produce a product with the ESP32 that has no security if you want.

John A
by fly135
Mon Jun 10, 2019 3:30 pm
Forum: ESP-IDF
Topic: mqtt:fatal error: mqtt_client.h: No such file or directory
Replies: 2
Views: 7867

Re: mqtt:fatal error: mqtt_client.h: No such file or directory

I'm guessing it should be right here.. C:/msys32/home/Administrator/esp/esp-idf/components/mqtt/esp-mqtt/include But I'm wondering why the IDF path to the project.mk is different than the one it's looking for that file. That is likely the clue to your problem. It may be that you are compiling a IDF ...
by fly135
Tue Jun 04, 2019 3:51 pm
Forum: General Discussion
Topic: 2d Array and pointers
Replies: 2
Views: 6110

Re: 2d Array and pointers

I'm doing this off the top of my head, but it should work..
typedef int arr2d[2];

arr2d myvar[] = {{11,12},{21,22},{31,32},{41,42},{51,52}};

or...

arr2d *myvar = {{11,12},{21,22},{31,32},{41,42},{51,52}};


void show (myvar *b,int l,int p);
by fly135
Tue Jun 04, 2019 3:39 pm
Forum: ESP-IDF
Topic: OTA upgrade is aborting
Replies: 21
Views: 31425

Re: OTA upgrade is aborting

Ritesh wrote:
Tue Jun 04, 2019 5:29 am
...
spi_flash_erase_range
spi_flash_write
esp_ota_set_boot_partition
Restart ESP32 with some timer mechanism of 5 seconds or 10 seconds
What's the point of the delay before reboot? I've been doing OTA without a delay before reboot and not sure if there is a potential problem.


John A
by fly135
Fri May 31, 2019 4:15 pm
Forum: General Discussion
Topic: Esp not connecting to wifi after some days
Replies: 14
Views: 24604

Re: Esp not connecting to wifi after some days

Hello everyone, I am getting wifi disconnect issue from very long time. As I kept my ESP32 live for long time, it disconnects and not getting connected to the configured SSID and PASSWORD again till switch it OFF and ON again. I am using esp-idf v3.1.3. Please help me to resolve this issue. Thanks ...
by fly135
Fri May 24, 2019 7:05 pm
Forum: ESP-IDF
Topic: esp_vfs_fat_spiflash_mount fails <SOLVED>
Replies: 2
Views: 7923

Re: esp_vfs_fat_spiflash_mount fails

WiFive wrote:
Fri May 24, 2019 6:43 pm
https://www.esp32.com/viewtopic.php?t=3970
OMG! LOL, I already posted in that thread with my own answer. :oops:

Thanks!!!

John A
by fly135
Fri May 24, 2019 6:12 pm
Forum: ESP-IDF
Topic: esp_vfs_fat_spiflash_mount fails <SOLVED>
Replies: 2
Views: 7923

esp_vfs_fat_spiflash_mount fails <SOLVED>

I'm using IDF v3.1.3 and ran into a problem with esp_vfs_fat_spiflash_mount failing.... static const esp_vfs_fat_mount_config_t mount_config = { 10, // max_files true, //format_if_mount_failed CONFIG_WL_SECTOR_SIZE, // allocation_unit_size }; err = esp_vfs_fat_spiflash_mount(ffs_base_path, "storage"...
by fly135
Wed May 22, 2019 4:09 pm
Forum: General Discussion
Topic: Let's talk wifi and TCP
Replies: 6
Views: 11749

Re: Let's talk wifi and TCP

I may be beating a dead horse, but wifi performance in a busy office setting appears to be pretty bad. Hi John, Just to check all the variables: how is 2.4GHz WiFi performance for other devices in the same environment? ie if you connect a PC to the 2.4GHz network (ie same router, same frequency ban...