Search found 143 matches

by gunar.kroeger
Mon Oct 29, 2018 4:26 pm
Forum: ESP-IDF
Topic: HTTPS Multipart File Transfer to Server
Replies: 4
Views: 6859

Re: HTTPS Multipart File Transfer to Server

So, from what I understand so far, Multipart request is just a regular POST message. I have to 1. esp_http_client_init 2. esp_http_client_set_header for each header needed in the multipart request protocol 3. esp_http_client_open 4. esp_http_client_write every chunk of the file I wish to send 5. esp...
by gunar.kroeger
Thu Oct 25, 2018 8:29 pm
Forum: ESP-IDF
Topic: HTTPS Multipart File Transfer to Server
Replies: 4
Views: 6859

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: 9776

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: 1843

"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: 6
Views: 10816

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: 5836

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: ESP-IDF
Topic: ESP32 SPP send throughput
Replies: 12
Views: 25140

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: 2244

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: 6
Views: 10816

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: 6
Views: 10816

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...