Search found 143 matches

by gunar.kroeger
Wed Nov 14, 2018 3:35 pm
Forum: ESP-IDF
Topic: How to reduce IRAM usage
Replies: 2
Views: 4203

How to reduce IRAM usage

I tried to move to stable version of idf v3.2, but my code would not fit in IRAM anymore, so I returned to the master branch, commit [a8754cc], I was working on and checked usage with command make size-components : Python requirements from C:/msys32/home/gunar.kroeger/esp/esp-idf/requirements.txt ar...
by gunar.kroeger
Tue Nov 13, 2018 5:05 pm
Forum: ESP-IDF
Topic: Error on secondary bluetooth connection
Replies: 3
Views: 4886

Error on secondary bluetooth connection

When connecting a secondary bluetooth device to the esp32 I get an error message: (768946) SPP: ESP_SPP_DATA_IND_EVT len=3 handle=3 D (768946) SPP: primary channel data: I (768946) SPP: start processing 01 D (768946) SPP: RX(3):01| I (768956) SPP: finnished processing 01 I (768956) SPP: ESP_SPP_WRIT...
by gunar.kroeger
Tue Nov 13, 2018 3:09 pm
Forum: General Discussion
Topic: Error on secondary bluetooth connection
Replies: 0
Views: 1805

Error on secondary bluetooth connection

When connecting a secondary bluetooth device to the esp32 I get an error message: (768946) SPP: ESP_SPP_DATA_IND_EVT len=3 handle=3 D (768946) SPP: primary channel data: I (768946) SPP: start processing 01 D (768946) SPP: RX(3):01| I (768956) SPP: finnished processing 01 I (768956) SPP: ESP_SPP_WRIT...
by gunar.kroeger
Tue Nov 06, 2018 1:32 pm
Forum: ESP-IDF
Topic: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?
Replies: 7
Views: 22696

Re: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?

From "esp_event_legacy.h": typedef struct { uint8_t ssid[32]; /**< SSID of disconnected AP */ uint8_t ssid_len; /**< SSID length of disconnected AP */ uint8_t bssid[6]; /**< BSSID of disconnected AP */ uint8_t reason; /**< reason of disconnection */ } system_event_sta_disconnected_t; Is this struct ...
by gunar.kroeger
Mon Nov 05, 2018 2:10 pm
Forum: ESP-IDF
Topic: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?
Replies: 7
Views: 22696

Re: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?

@ESP_igrr
>>Will update event structure to use this enum

Did you get a chance to do this? It looks like it's still an unnamed enum that can't be accessed.
by gunar.kroeger
Wed Oct 31, 2018 5:10 pm
Forum: ESP-IDF
Topic: esp_http_client_write returns -1 after a while
Replies: 3
Views: 5445

Re: esp_http_client_write returns -1 after a while

Ok, I am an idiot. Looking at the documentation for esp_http_client_write: @param[in] len This value must not be larger than the write_len parameter provided to esp_http_client_open() I thought that that I should open the connection with the length of the maximum esp_http_client_write call. Turns ou...
by gunar.kroeger
Tue Oct 30, 2018 3:04 pm
Forum: ESP-IDF
Topic: Compiling program for ESP32 on command prompt
Replies: 4
Views: 5497

Re: Compiling program for ESP32 on command prompt

What is your OS? have you tried to run this command: /usr/bin/python2 -m pip install --user -r /home/apmosys123/Projects/ESP32/esp-idf/requirements.txt I had a problem on windows using this command and somewhere someone said that for windows the update should be done with packman instead of with pip...
by gunar.kroeger
Tue Oct 30, 2018 2:54 pm
Forum: ESP-IDF
Topic: esp_http_client_write returns -1 after a while
Replies: 3
Views: 5445

esp_http_client_write returns -1 after a while

Hi everyone, I'm uploading files via POST Multipart messages (see https://www.esp32.com/viewtopic.php?f=13&t=7801&p=33058#p33058 ) Instead of using esp_http_client_perform , I had to use esp_http_client_write for writing the body, since the full files will not fit inside the memory. the issue is tha...
by gunar.kroeger
Tue Oct 30, 2018 2:37 pm
Forum: ESP-IDF
Topic: HTTPS Multipart File Transfer to Server
Replies: 4
Views: 6737

Re: HTTPS Multipart File Transfer to Server

This works! I have been able to send small files to the server.
I came across another problem for larger files but I think I should open another thread for it
by gunar.kroeger
Mon Oct 29, 2018 4:48 pm
Forum: ESP-IDF
Topic: IDF V3.2 with CAN driver
Replies: 13
Views: 13235

Re: IDF V3.2 with CAN driver

I would also like to see the CAN driver added too a stable version!