Search found 3 matches

by spierepf
Tue Oct 01, 2024 8:40 pm
Forum: ESP-ADF
Topic: A2dp sink volume control?
Replies: 12
Views: 27334

Re: A2dp sink volume control?

I ran into the same problem, but I came up with what I think is a simpler solution: void bt_app_a2d_data_cb(const uint8_t *data, uint32_t len) { for(int i = 0; i < len/2; ++i) { int32_t value = ((int16_t*)data)[i] * s_volume >> 7; ((int16_t*)data)[i] = value; } write_ringbuf(data, len); /* log the n...
by spierepf
Sun Aug 15, 2021 3:30 pm
Forum: ESP32 Arduino
Topic: Upload a file to the AdvancedWebServer example using curl
Replies: 0
Views: 3265

Upload a file to the AdvancedWebServer example using curl

I am looking at the AdvancedWebServer example: https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer/examples/AdvancedWebServer And I am wondering if I had a file named "text.js" that I wanted to upload to an ESP32 running that example with ip address 192.168.0.36, what would th...
by spierepf
Sat Dec 05, 2020 3:39 am
Forum: ESP-IDF
Topic: How to maintain a bluetooth connection for more than a few seconds?
Replies: 0
Views: 1551

How to maintain a bluetooth connection for more than a few seconds?

I've compiled the code under `https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/classic_bt/hfp_hf` and uploaded it to my ESP32. When I try to pair the device with my linux computer, it connects for a few seconds, and then immediately disconnects. Here is the log on my com...