Search found 184 matches

by tommeyers
Thu Sep 08, 2022 4:55 pm
Forum: ESP32 Arduino
Topic: How can I upload a large size of data by mqtt?
Replies: 1
Views: 1706

Re: How can I upload a large size of data by mqtt?

Max packet size in protocol is 256MB.

The broker can limit that what is your broker's limit? Probably a lot less. Check the mqtt broker first.

Tom
by tommeyers
Fri Aug 12, 2022 12:48 am
Forum: General Discussion
Topic: MQTT starts too slowly
Replies: 6
Views: 3347

Re: MQTT starts too slowly

I think the idea that investigating and defining the problem isn't necessary is an interesting approach to problem solving. The wrong approach I also think. It is incumbent of the poster to bound the problem. The methods of bounding are simple but necessary. Before I choose a solution I assure I kno...
by tommeyers
Sun Aug 07, 2022 11:57 pm
Forum: General Discussion
Topic: MQTT starts too slowly
Replies: 6
Views: 3347

Re: MQTT starts too slowly

I am not sure where the bottleneck is from your description.
Connecting to an mqtt server involves the server.
Have you used verbose on the sever or used Wireshark or investigated where the roadblock is? I recommend you identify the problem first.

Tom Meyers
by tommeyers
Tue Jul 05, 2022 2:15 pm
Forum: ESP-IDF
Topic: ESP_MQTT saving data from topic
Replies: 1
Views: 1331

Re: ESP_MQTT saving data from topic

by tommeyers
Sat Jun 11, 2022 8:40 pm
Forum: ESP32 Arduino
Topic: I'm programming with arduino but i need more stack space
Replies: 9
Views: 5752

Re: I'm programming with arduino but i need more stack space

The replies all address increasing stack size. I suggest a different approach: define the problem the code as a whole is to solve then consider the various solutions and their data structures.

And answer: what data structures besides a stack can be used.

Tom Meyers
by tommeyers
Sun Apr 10, 2022 9:49 pm
Forum: General Discussion
Topic: ESP32 - added pull-up to 3.3V but measuring 1.6V
Replies: 7
Views: 5036

Re: ESP32 - added pull-up to 3.3V but measuring 1.6V

on the esp32 datasheet pg 28, it says "each digital gpio can be configd with pullups or pulldowns" There are several kinds of GPIOs: digital only GPIOs, analog enabled GPIOs, capacitive touch enabled GPIOs, etc. Analog enabled GPIOs can be configured as digital GPIOs. Capacitive touch enabled GPIOs ...
by tommeyers
Wed Mar 23, 2022 9:43 pm
Forum: Hardware
Topic: Issue with double switch on ESP32-S2
Replies: 3
Views: 1915

Re: Issue with double switch on ESP32-S2

Oh yes.

Bounce.

The signal is bouncing as it opens and closes.

If you have a scope take a look.

Solution:. Denounce sw logic or denounce in hardware. I usually denounce in s/w.

Tom
by tommeyers
Wed Mar 23, 2022 9:37 pm
Forum: ESP-IDF
Topic: How do I build to support multiple variants of an Application?
Replies: 3
Views: 2687

Re: How do I build to support multiple variants of an Application?

I have built a configurator in java. It is to build variants of sensors configured from a library of modules. Each module has a companion xml of prompts, rules, resource items used. I had an information block interface between modules. You picked one OS root / dispatcher and any sensor combination. ...
by tommeyers
Sat Jan 08, 2022 2:51 pm
Forum: General Discussion
Topic: Simultaneous MQTT and HTTP server
Replies: 3
Views: 6468

Re: Simultaneous MQTT and HTTP server

If you can then run mqtt broker in verbose mode while you observe the problem.