Search found 102 matches

by gunar.kroeger
Thu Oct 25, 2018 8:29 pm
Forum: ESP32 IDF
Topic: HTTPS Multipart File Transfer to Server
Replies: 3
Views: 1538

HTTPS Multipart File Transfer to Server

Hi again! I am required to upload files from SD card to a server with a specified url and header using multipart request I have already successfully used esp_http_client example and was able to use POST commands to send data to the specified url through HTTPS. But I couldn't find an example on how t...
by gunar.kroeger
Mon Oct 08, 2018 4:42 pm
Forum: General Discussion
Topic: Visual Studio Code, ESP-IDF, C++ include errors?
Replies: 3
Views: 2038

Re: Visual Studio Code, ESP-IDF, C++ include errors?

I had the same issue.
If you clean the project and rebuild it it should work.
It seams that changing the extension from .c to .cpp breaks things a bit
by gunar.kroeger
Mon Sep 03, 2018 1:49 pm
Forum: General Discussion
Topic: "btm_sec_connected: incoming connection failed without asking PIN"
Replies: 0
Views: 417

"btm_sec_connected: incoming connection failed without asking PIN"

Im getting stack overflows when trying to send files through Bluetooth SPP: ***ERROR*** A stack overflow in task 33mW (%d) %s: Security Manager: btm_sec_connected: incoming connection failed without asking PIN [0m has been detected. and ***ERROR*** A stack overflow in task nnection failed without as...
by gunar.kroeger
Fri Aug 31, 2018 1:21 pm
Forum: General Discussion
Topic: CAN-Bus API multiple filter configuration
Replies: 5
Views: 1986

Re: CAN-Bus API multiple filter configuration

I want to reduce the load on the cpu as much as possible so that other tasks (like logging onto the SD card, wifi and compressing data) can utilize it more.
For now I will set hw filters for all possible message ids i could receive and software filters for every id that I want to receive.

Thanks :D
by gunar.kroeger
Thu Aug 30, 2018 5:39 pm
Forum: General Discussion
Topic: Tearing my hair out trying to reliably write logfiles to SDCard
Replies: 3
Views: 1406

Re: Tearing my hair out trying to reliably write logfiles to SDCard

Even doing an fflush() after every fprintf or using setbuf(fp,0) doesn't have any effect.
instead of fflush() you should use fsync(). This should have the same behaviour as fclose() without actually closing the file.
by gunar.kroeger
Tue Aug 28, 2018 12:55 pm
Forum: ESP32 IDF
Topic: ESP32 SPP send throughput
Replies: 12
Views: 6351

Re: ESP32 SPP send throughput

Still waiting for an answer for this.
Looks like a bug to me.
by gunar.kroeger
Mon Aug 27, 2018 3:07 pm
Forum: General Discussion
Topic: BT SPP handling congestions
Replies: 0
Views: 709

BT SPP handling congestions

What is the correct and robust way of handling congestions for fast BT SPP data transfer from the esp to an android application? I need to transfer files over bluetooth and it should be as fast as possible, but even if I wait for the ESP_SPP_WRITE_EVT before writing the next message I get the ESP_SP...
by gunar.kroeger
Mon Aug 20, 2018 9:24 pm
Forum: General Discussion
Topic: CAN-Bus API multiple filter configuration
Replies: 5
Views: 1986

Re: CAN-Bus API multiple filter configuration

And is there a way to change the acceptance filter on the fly?
Or do I have to reinstall the driver?

Thanks
by gunar.kroeger
Wed Aug 15, 2018 2:21 pm
Forum: General Discussion
Topic: CAN-Bus API multiple filter configuration
Replies: 5
Views: 1986

CAN-Bus API multiple filter configuration

I see that a few days ago a new commit was made to the idf that included a driver for the CAN-bus module I already tested it and it works well but I couldn't find out how to set multiple acceptance filters currently I am using #define CAN_FILTER_CONFIG_ACCEPT_ALL() {.acceptance_code = 0, .acceptance...
by gunar.kroeger
Wed Aug 01, 2018 3:12 pm
Forum: General Discussion
Topic: Changing running app partition without reseting ESP
Replies: 5
Views: 1959

Re: Changing running app partition without reseting ESP

Hmm interesting. So, a simple solution would be to boot on ota0 partition if there was a "virgin power on" so that if this partition calls esp_reset() it would fall into another reason and start the ota1 partition binary. Is this supported in the current bootloader by changing settings in menuconfig...

Go to advanced search