Search found 19 matches

by ppisljar
Sun Nov 14, 2021 6:25 pm
Forum: ESP-IDF
Topic: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)
Replies: 7
Views: 12470

Re: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)

Hello,

is this possible in esp-idf 4 ? i see rtc_module.c has changed a lot and those functions are no longer there.
would it be possible to get an example of how to do this in esp 4? thank you
by ppisljar
Tue Sep 24, 2019 8:08 pm
Forum: ESP-IDF
Topic: http server async response and keeping socket open
Replies: 2
Views: 5509

Re: http server async response and keeping socket open

i figured you can't really mix httpd_resp_* with httpd_default_send ... if you want to use the later you should only use the later and also send correct HTTP headers first.
by ppisljar
Tue Sep 24, 2019 7:23 pm
Forum: ESP-IDF
Topic: http server async response and keeping socket open
Replies: 2
Views: 5509

Re: http server async response and keeping socket open

i narrowed it down to this code inside response handler not working: const char* str = "event: test\ndata: test\n\n"; int resp = httpd_default_send(req->handle, httpd_req_to_sockfd(req), str, strlen(str), 0); printf("sent with: %i", resp); httpd_default_send does not return error (resp is correct le...
by ppisljar
Tue Sep 24, 2019 5:55 pm
Forum: ESP-IDF
Topic: http server async response and keeping socket open
Replies: 2
Views: 5509

http server async response and keeping socket open

Hello, i would like to implement EventSource in http server, which requires me to keep the connections open and send data to them at later time. I tried several aproaches so far: - getting `fd` and `hd` from `req`, storing them and using them later from another function later with `http_default_send...
by ppisljar
Sun Sep 15, 2019 6:23 pm
Forum: ESP-IDF
Topic: multiple definitions of 'operator|='
Replies: 4
Views: 7043

Re: multiple definitions of 'operator|='

the code can be seen here https://github.com/ppisljar/esp32ctrl
by ppisljar
Sun Sep 15, 2019 6:22 pm
Forum: ESP-IDF
Topic: multiple definitions of 'operator|='
Replies: 4
Views: 7043

Re: multiple definitions of 'operator|='

the code was working with esp-idf 4.0 (with gcc 4.2.0) .... latest version is 4.1 with gcc 8.2.0
by ppisljar
Sun Sep 15, 2019 1:50 pm
Forum: ESP-IDF
Topic: multiple definitions of 'operator|='
Replies: 4
Views: 7043

multiple definitions of 'operator|='

Recently i installed esp idf on new machine, thus upgraded to latest version with cmake and gcc 8.2.0 however my project now no longer builds. it compiled ok, but when linking i get the following errors: /home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/...
by ppisljar
Thu Sep 21, 2017 6:41 pm
Forum: General Discussion
Topic: How to make ESP32 output 20MHZ's clock
Replies: 4
Views: 20031

Re: How to make ESP32 output 20MHZ's clock

seems pwm can only be used to generate 333k clock ... what about higher frequencies ?
by ppisljar
Fri Sep 08, 2017 5:14 am
Forum: ESP-IDF
Topic: connect and send audio data to a2dp sink
Replies: 3
Views: 8220

Re: connect and send audio data to a2dp sink

still no progress on this, its the last thing holding my project back at the moment,

anyone else managed to make A2DP-SRC: (Advanced Audio Distribution Source) work on ESP32 ?
by ppisljar
Wed May 24, 2017 3:54 pm
Forum: ESP32 Arduino
Topic: bluetooth code size enormous
Replies: 5
Views: 12028

Re: bluetooth code size enormous

i tried to compile esp-idf example to verify the size .... and its 715kb (compared to 950kb with arduino) ... still quite huge for something that doesn't do much (if you want to use OTA with it ... you have like 300kb left for your other code (and other libs ... like wifi and stuff) ... but running ...