Search found 621 matches

by PeterR
Tue Nov 17, 2020 12:42 pm
Forum: General Discussion
Topic: esp-mdf mqtt cannot subscribe topic
Replies: 11
Views: 8787

Re: esp-mdf mqtt cannot subscribe topic

It is not clear what you mean. The new line without full stop makes the two first lines unclear. Are you saying that your root node is the MQTT server? Which MQTT server did you use? Also produce a log of one of the ESP MQTT client's setup & return status codes. Did you esp_mqtt_client_register_even...
by PeterR
Mon Nov 16, 2020 6:09 pm
Forum: General Discussion
Topic: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
Replies: 8
Views: 9785

Re: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB

emac_esp32_rx_task() I guess a way of dealing with it is to limit any queue within emac->eth->stack_input(emac->eth, buffer, length); and block. To be fair you have to be hammering the input to get this to fail, but it will/can & especially when the handler is slow and memory is limited. Only seen o...
by PeterR
Mon Nov 16, 2020 4:45 pm
Forum: General Discussion
Topic: esp-mdf mqtt cannot subscribe topic
Replies: 11
Views: 8787

Re: esp-mdf mqtt cannot subscribe topic

in esp-mdf mqtt, the publish topic works fine What makes you think that publish worked fine? Guess you are QoS0? but when you try to subscribe a topic, the payload does not come to the mesh What return code did you get from esp_mqtt_client_subscribe()? You have not told us anything about your MQTT ...
by PeterR
Sat Nov 14, 2020 10:23 pm
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 12
Views: 19875

Re: Issues when using SPI SD card

This is 5V SD card adapter.
lol, that would do it!
He says that this works under arduino. Why do you think that the switch of OS helps/hinders? Random life stuff?
by PeterR
Fri Nov 13, 2020 10:49 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 784985

Re: What would you like to see in The Next Chip?

Interesting use/case. An off grid mesh agricultural sensor, sounds fun!
by PeterR
Fri Nov 13, 2020 9:36 pm
Forum: General Discussion
Topic: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
Replies: 8
Views: 9785

Re: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB

Pray that the HTTP client does the flow control. The emac task (ESP32 mac) will just malloc on frame (rather inefficientlty if you ask me) & close connection on fail. So if throughput is high and memory low.... I have only seen this become an issue on local loop. Network traffic is slower I guess. B...
by PeterR
Fri Nov 13, 2020 9:23 pm
Forum: General Discussion
Topic: ULP - 32 bits arithmetics
Replies: 6
Views: 5435

Re: ULP - 32 bits arithmetics

May be missing the difficulty but:
ntoh/hton
This seams an endian issue.
by PeterR
Fri Nov 13, 2020 5:59 pm
Forum: General Discussion
Topic: Whit tou use uint8_t buffer to receive uart data?
Replies: 5
Views: 4725

Re: Whit tou use uint8_t buffer to receive uart data?

Yea, I agree. <stdint.h> types are a lot clearer about sizes & should be used (in our work). I never understood why printable data was a char (int8_t) because you cannot print much of that! 'C' was a great invention though. Some of us (back in the day) were also on PLM and FORTRAN. All respect to C ...
by PeterR
Fri Nov 13, 2020 5:02 pm
Forum: ESP-IDF
Topic: Sending passthrough command // problems in structural understanding
Replies: 3
Views: 2891

Re: Sending passthrough command // problems in structural understanding

Embedded is hard and so even more fun than Java! Not sure why embedded gets paid less though*. BT is quite a hard starting point IMHO. Its a big fat stack with quite a few things to learn. Anyway - I am not an expert on core dumps. I can tell you though that typically core dumps which (as yours) do ...
by PeterR
Fri Nov 13, 2020 4:49 pm
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 12
Views: 19875

Re: Issues when using SPI SD card

Try a really, really slow SPI speed. Like 1MHz. This will help show that the issue is not hardware.