Search found 77 matches
- Thu Nov 21, 2024 8:43 pm
- Forum: ESP-IDF
- Topic: Pointer to request variable is NULL inside task even though it was assiged an address before task is executed.
- Replies: 5
- Views: 549
Re: Pointer to request variable is NULL inside task even though it was assiged an address before task is executed.
Thanks for responding. I extracted the file descriptor in the handler and tried to use it in a task but no success. It changed from 51 to 0. I definitly thought that would work. I am sure i can do the whole thing in the handler but it would be a lot and stop the website from responding to anything e...
- Thu Nov 21, 2024 3:52 pm
- Forum: ESP-IDF
- Topic: Pointer to request variable is NULL inside task even though it was assiged an address before task is executed.
- Replies: 5
- Views: 549
Re: Pointer to request variable is NULL inside task even though it was assiged an address before task is executed.
I am using a websockets connection as they are supported by the esp_http_server. After an initial http connection the connection is upgraded to a websocket. I thought I could just start streaming some audio data to the browser without dealing with requests and responses. I am using this function: ht...
- Wed Nov 20, 2024 6:34 pm
- Forum: ESP-IDF
- Topic: Pointer to request variable is NULL inside task even though it was assiged an address before task is executed.
- Replies: 5
- Views: 549
Pointer to request variable is NULL inside task even though it was assiged an address before task is executed.
Hello all, I'm coding a web server that uses idf http_webserver api In my uri handler I am saving the request pointer (httpd_req_t*) to a global variable of the same type (httpd_req_t). The uri handler calls a task via xTaskNotifygive() which takes as a parameter the global variable of type httpd_re...
- Wed Nov 13, 2024 10:58 pm
- Forum: ESP32 Arduino
- Topic: I2S setpins() : How to set for RX, TX channels
- Replies: 1
- Views: 494
Re: I2S setpins() : How to set for RX, TX channels
I will try to reword this post to see if I can get some traction. How do i assign different pins to rx and tx channels in std mode. In std mode the setpin() function does not differeniate between tx, rx It is like standard mode is full duplex and simplex mode can not be used. I have been looking at ...
- Tue Nov 12, 2024 7:41 pm
- Forum: ESP32 Arduino
- Topic: I2S setpins() : How to set for RX, TX channels
- Replies: 1
- Views: 494
I2S setpins() : How to set for RX, TX channels
Using rx, tx in simplex operation so the rx, tx bclk, ws, pins are different . In esp-idf you can set rx, tx pins using different configuration variables. In Arduino V3, in std mode there is only setpins() function which does not take rx or tx channel as a parameter. How to differentiate between the...
- Thu Nov 07, 2024 4:04 pm
- Forum: ESP-IDF
- Topic: i2s callback question
- Replies: 3
- Views: 783
Re: i2s callback question
What I found with callbacks. To use i2s callbacks the i2s channel enable and disable statements need to go on either side of a write or read statement else the callback will fire continuously. So enabling / disabling works fine and the callbacks become useful for synching reads and writes to i2s dma...
- Wed Nov 06, 2024 3:16 pm
- Forum: ESP-IDF
- Topic: how to maintain multiple versions of ESP-IDF
- Replies: 3
- Views: 852
Re: how to maintain multiple versions of ESP-IDF
Here is a very good video that shows how to do it.
https://www.youtube.com/watch?v=D_k09QC_s6o&t=56s
https://www.youtube.com/watch?v=D_k09QC_s6o&t=56s
- Wed Nov 06, 2024 12:54 am
- Forum: ESP-IDF
- Topic: i2s callback question
- Replies: 3
- Views: 783
Re: i2s callback question
OK, that sounds like it would make it harder to control what gets tx'd out of the 12s bus but I will try some things.
Thanks
Thanks
- Tue Nov 05, 2024 9:28 pm
- Forum: ESP-IDF
- Topic: i2s callback question
- Replies: 3
- Views: 783
i2s callback question
Hello, As soon as I enable i2s tx channel the on_sent callback fires continuously. I comment out i2s_channel_write statement to make sure nothing is being written to the tx dma buffers. Anyone have an idea why this would happen ? Thank you /* I2S Speaker Example*/ static const char *TAG = "std_rec_e...
- Sat Oct 12, 2024 10:49 pm
- Forum: General Discussion
- Topic: The path for ESP-IDF is not valid: /tools/idf.py not found.
- Replies: 1
- Views: 946
Re: The path for ESP-IDF is not valid: /tools/idf.py not found.
You have to manually create those directories first.