Search found 4 matches

by totsom
Mon Feb 14, 2022 1:19 pm
Forum: ESP-IDF
Topic: MQTT disconnects, error: MQTT_CLIENT: Read error or end of stream
Replies: 0
Views: 966

MQTT disconnects, error: MQTT_CLIENT: Read error or end of stream

As the tittle says, we get random disconnects with only an 'alive' topic updating every second. The error is: MQTT_CLIENT: Read error or end of stream We are working with: platform = espressif32@1.11.2 framework = arduino, espidf We don't know how to look for the MQTT library version.. The last thin...
by totsom
Wed May 20, 2020 8:07 am
Forum: General Discussion
Topic: ULP counter
Replies: 6
Views: 6717

Re: ULP counter

Hello boarchuz, we have though of this possibility but after testing we don't think this is the case because after adding 1 to the variable we wake up the main cores and print the value. How could we try it better? The ULP wakeup period is 20ms.
by totsom
Tue May 19, 2020 7:21 am
Forum: General Discussion
Topic: ULP counter
Replies: 6
Views: 6717

Re: ULP counter

Thank you very much for your response it was really useful, altough we do not understand the reason why this happens.. In our case: - First we put the main ESP32 cores to sleep - The ULP coprocessor initializes a variable at 0 - A function inside the ULP adds 1 to this variable - Wake up main ESP32 ...
by totsom
Mon May 18, 2020 9:46 am
Forum: General Discussion
Topic: ULP counter
Replies: 6
Views: 6717

ULP counter

Hello everyone, We are a team developing a software for the ESP32 and we are using the ULP coprocessor. We have encountered a problem when inplementing a counter. The ULP code used is the following: move r0, counter ld r1, r0, 0 add r1, r1, 1 st r1, r0, 0 To print the variable in the main ESP32 prog...