Search found 142 matches

by gunar.kroeger
Tue Nov 13, 2018 5:05 pm
Forum: ESP32 IDF
Topic: Error on secondary bluetooth connection
Replies: 3
Views: 1386

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

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: ESP32 IDF
Topic: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?
Replies: 7
Views: 6412

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: ESP32 IDF
Topic: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?
Replies: 7
Views: 6412

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: ESP32 IDF
Topic: esp_http_client_write returns -1 after a while
Replies: 2
Views: 1197

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: ESP32 IDF
Topic: Compiling program for ESP32 on command prompt
Replies: 4
Views: 1462

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: ESP32 IDF
Topic: esp_http_client_write returns -1 after a while
Replies: 2
Views: 1197

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: ESP32 IDF
Topic: HTTPS Multipart File Transfer to Server
Replies: 3
Views: 1880

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: ESP32 IDF
Topic: IDF V3.2 with CAN driver
Replies: 13
Views: 3486

Re: IDF V3.2 with CAN driver

I would also like to see the CAN driver added too a stable version!
by gunar.kroeger
Mon Oct 29, 2018 4:26 pm
Forum: ESP32 IDF
Topic: HTTPS Multipart File Transfer to Server
Replies: 3
Views: 1880

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

Go to advanced search