Search found 143 matches

by gunar.kroeger
Fri Mar 22, 2019 4:22 pm
Forum: General Discussion
Topic: Invalid project path on Eclipse
Replies: 5
Views: 8038

Invalid project path on Eclipse

Hi everyone, After I moved all my header files from main folder to main/include folder following a component structure, I get this warnings in Eclipse: Description Resource Path Location Type Invalid project path: Include path not found (\c\Users\gunar.kroeger\Desktop\eclipse\ESP32_Project\main\incl...
by gunar.kroeger
Wed Mar 13, 2019 1:05 pm
Forum: ESP-IDF
Topic: Error on secondary bluetooth connection
Replies: 3
Views: 4948

Re: Error on secondary bluetooth connection

No I didn't
by gunar.kroeger
Tue Mar 12, 2019 4:20 pm
Forum: General Discussion
Topic: ESP32 Bluetooth SPP with bidirectional communication (send and receive)
Replies: 22
Views: 55342

Re: ESP32 Bluetooth SPP with bidirectional communication (send and receive)

suriyaelango wrote: Hi,
Can someone please tell me if Bluetooth SPP supports multiple clients in case of bi-directional communication? If yes, implementation code, please.
It does. You will have to save the connection handle from incoming clients and direct the messages with esp_spp_write to the correct handle
by gunar.kroeger
Thu Feb 14, 2019 1:33 pm
Forum: ESP-IDF
Topic: Delete folder and contents?
Replies: 3
Views: 5335

Re: Delete folder and contents?

Typo on forum or in code?
sorry, on forum.
Suggest you use the 'classic' opendir/readdir calls instead, and do the recursion yourself.
Ok. Thanks for the quick reply (:
by gunar.kroeger
Wed Feb 13, 2019 7:26 pm
Forum: ESP-IDF
Topic: I²C clock problem
Replies: 18
Views: 21300

Re: I²C clock problem

We are also getting all sorts of issues when i2c is set to a clock higher than 10kHz trying to communicate with a GPS module... had to change back to uart, but still looking for a solution.
by gunar.kroeger
Wed Feb 13, 2019 7:20 pm
Forum: ESP-IDF
Topic: Delete folder and contents?
Replies: 3
Views: 5335

Delete folder and contents?

Hi, I wish to remove directory and and its contents like rm -rf <target> from SD card I found this example: #define _XOPEN_SOURCE 500 #include <stdio.h> #include <ftw.h> #include <unistd.h> int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf) { int rv = remove(fp...
by gunar.kroeger
Fri Feb 01, 2019 11:11 am
Forum: General Discussion
Topic: ESP32 Bluetooth SPP with bidirectional communication (send and receive)
Replies: 22
Views: 55342

Re: ESP32 Bluetooth SPP with bidirectional communication (send and receive)

I find that the best way is to put your loop with esp_spp_write on a separate task. To receive replies, make a queue and use the event only to put received messages into the queue, and process the message from the queue on the task also. But I suggest using a strict request-reply protocol, because i...
by gunar.kroeger
Wed Jan 09, 2019 2:41 pm
Forum: General Discussion
Topic: Flashing custom partitions from Eclipse
Replies: 2
Views: 4116

Re: Flashing custom partitions from Eclipse

Wow thanks! that was exactly what I was looking for!
by gunar.kroeger
Thu Jan 03, 2019 7:41 pm
Forum: General Discussion
Topic: Flashing custom partitions from Eclipse
Replies: 2
Views: 4116

Flashing custom partitions from Eclipse

Hi, I use a custom partition to allow for spiffs and OTA updates. This means I can not use the "Build Targets - > flash" like the docs recommend. So far I have been flashing each partitions bin file to the correct address using mingw32 command: python C:/msys32/home/gunar.kroeger/esp/esp-idf/compone...
by gunar.kroeger
Fri Dec 14, 2018 4:02 pm
Forum: ESP-IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 22978

Re: IRAM0 segment data does not fit

I encountered the same issue when switching from a master IDF commit to v3.2, I also use BT classic, WiFi, CAN, SPI, HTTP, SPIFFS
for now I went back to commit a8754cc, but I really need a solution for this