Search found 7 matches
- Wed Jun 19, 2024 6:21 pm
- Forum: ESP-IDF
- Topic: I2S DAC Mode
- Replies: 0
- Views: 431
I2S DAC Mode
Hello I'm working on audio project. I used i2s_a2dp_sink example with DAC mode. But I got ringbuffer overflowed error on DAC output mode. Here is my I2S config and task handler codes below: [Codebox] dac_continuous_config_t cont_cfg = { .chan_mask = DAC_CHANNEL_MASK_ALL, .desc_num = 8, // .buf_size ...
- Thu Nov 30, 2023 8:33 pm
- Forum: General Discussion
- Topic: HTTP server fails after a while.
- Replies: 4
- Views: 5926
Re: HTTP server fails after a while.
mbedtls_ssl_handshake returned -0x2700 The error code means that the certificate failed verification. Are you sure your certificate is setup correctly? Hi I can use POST method in sendPhoto function continuosly without any problem with same certificate. When I try to GET method it crashes after a w...
- Thu Nov 30, 2023 8:31 pm
- Forum: General Discussion
- Topic: HTTP server fails after a while.
- Replies: 4
- Views: 5926
Re: HTTP server fails after a while.
esp_err_t err = esp_http_client_open(client, 0); if (err != ESP_OK) { ESP_LOGE(TAG, "Failed to open HTTP connection: %s", esp_err_to_name(err)); esp_http_client_cleanup(client); } ... err = esp_http_client_close(client); You clean up the client first, then try to close its connection. Among other t...
- Sat Nov 18, 2023 7:33 pm
- Forum: General Discussion
- Topic: HTTP server fails after a while.
- Replies: 4
- Views: 5926
HTTP server fails after a while.
Hello I'm trying to use GET method with Telegram api. static esp_err_t getUpdates_test (void) { char output_buffer[MAX_HTTP_OUTPUT_BUFFER] = {0}; // Buffer to store response of http request // int content_length = 0; char _msg_update_id_append[16] = ""; char url[512] = ""; /* Creating the string of ...
- Mon Nov 13, 2023 6:12 pm
- Forum: General Discussion
- Topic: How to post a photo to Telegram api?
- Replies: 4
- Views: 3108
Re: How to post a photo to Telegram api?
Thanks a lot, after days finally I can post multipart/data-form
- Mon Nov 06, 2023 7:37 pm
- Forum: General Discussion
- Topic: How to post a photo to Telegram api?
- Replies: 4
- Views: 3108
Re: How to post a photo to Telegram api?
Hello. I've changed the 'image/jpeg' to 'multipart/form-data'. esp_http_client_set_header(client, "Content-Type", "multipart/form-data"); Even if I try to post with 'multipart/form-data' I got a response like below: I (8977) Sending sendMessage: Starting Taking Picture! I (8987) Sending sendMessage:...
- Sun Nov 05, 2023 10:14 am
- Forum: General Discussion
- Topic: How to post a photo to Telegram api?
- Replies: 4
- Views: 3108
How to post a photo to Telegram api?
Hello, I am using ESP32-CAM board and trying to post a photo to Telegram api. I've tried to send a text message and take a picture. They are working. But I can not send a photo to api. It gives a response like below: I (6517) Sending sendMessage: Starting Taking Picture! I (6517) Sending sendMessage...