Search found 97 matches

by rwel59
Mon Jun 07, 2021 12:15 pm
Forum: ESP-IDF
Topic: Can't change current partition running
Replies: 4
Views: 3261

Can't change current partition running

Using both OTA and normal flashing to update code under development. Occasionally, when I flash new code, I cannot get the new code to execute without deleting one of the partitions using partition table.

Is this expected behavior? Is there a command to select current partition?
by rwel59
Mon May 31, 2021 1:02 pm
Forum: ESP-IDF
Topic: Corrupt Heap issue connecting to aws_iot
Replies: 2
Views: 2070

Re: Corrupt Heap issue connecting to aws_iot

I did some investigation without much luck. I'm guessing that it has something to do with the steps I am taking to shutdown the mqtt connection (or there is an issue with the library) and was hoping someone had some insight on that. Looks like the esp-aws-iot library will be getting updated soon and...
by rwel59
Sun May 30, 2021 1:03 pm
Forum: ESP-IDF
Topic: Corrupt Heap issue connecting to aws_iot
Replies: 2
Views: 2070

Corrupt Heap issue connecting to aws_iot

I am using the aws_iot sdk in esp-idf. Currently working on stabilizing the mqtt connection and am cycling the mqtt connection. We always connect successfully at initial connection after reboot. The corrupt heap issue occurs around 2-5 cycles of mqtt begin/end. Creating the mqtt connection is pretty...
by rwel59
Tue May 04, 2021 11:59 pm
Forum: General Discussion
Topic: How to determine the status of AWS IOT mqtt connection
Replies: 1
Views: 2026

Re: How to determine the status of AWS IOT mqtt connection

to answer my own question and not sure why I couldn't find this before...

method: bool aws_iot_mqtt_is_client_connected (AWS_IoT_Client *pClient) documented at http://aws-iot-device-sdk-embedded-c-do ... 3739e3d744
by rwel59
Fri Apr 23, 2021 11:52 am
Forum: IDEs for ESP-IDF
Topic: What is the best method for updating esp-idf to get latest commits VS Code extension
Replies: 2
Views: 3269

What is the best method for updating esp-idf to get latest commits VS Code extension

I've been using the vs code extension with linux (ubuntu 20.04) for a couple of months and am pretty happy with it.

I need to update esp-idf v4.2 to get commits that with hopefully solve a couple of issues I am troubleshooting. What is the best method to do this?
by rwel59
Thu Apr 22, 2021 1:06 pm
Forum: ESP-IDF
Topic: Upgraded version of built-in aws-iot sdk
Replies: 0
Views: 1050

Upgraded version of built-in aws-iot sdk

I'm having some stability issues trying to maintain a connection using the built-in version of aws-iot sdk. I am currently using esp-idf v4.2. Looks like aws has released new versions of their sdk. I cannot find any info on what version is built-in but guessing that its not the latest. Are there any...
by rwel59
Wed Apr 21, 2021 12:12 pm
Forum: General Discussion
Topic: How to determine the status of AWS IOT mqtt connection
Replies: 1
Views: 2026

How to determine the status of AWS IOT mqtt connection

Using espidf v4.2 with the embedded aws-iot-sdk. Occasionally I get an error in the yield loop that causes the mqtt connection to get dropped but the disconnect handler does not get called. So now, I simply print out the error and call yield again which returns OK. Is there a method to call that wil...
by rwel59
Tue Dec 29, 2020 4:48 pm
Forum: ESP-IDF
Topic: Can't finish tools download - too slow
Replies: 1
Views: 1775

Re: Can't finish tools download - too slow

after numerous attempts, process finally completed using vscode extension
by rwel59
Tue Dec 29, 2020 3:13 pm
Forum: ESP-IDF
Topic: Can't finish tools download - too slow
Replies: 1
Views: 1775

Can't finish tools download - too slow

Doing fresh install on Ubuntu 20.04. Trying to install tools both through the vscode extension and running ./install.sh.

Download speed is really slow and both methods end up failing. Any fix or workaround I can use?