Search found 7 matches

by SimonVs
Fri Oct 18, 2024 7:50 am
Forum: ESP-IDF
Topic: Websocket heap consumption
Replies: 0
Views: 456

Websocket heap consumption

Hi I am using the websocket client example in my project. For this project i am required to open up to 5 websockets at the same time. The problem for this seems to be the heap consumption. There is a heap allocation of 10kByte per websocket. Is there a way to reduce this? I do not use SSL, but is th...
by SimonVs
Tue Oct 05, 2021 9:59 am
Forum: ESP-IDF
Topic: Bluetooth reconnect issue
Replies: 0
Views: 1471

Bluetooth reconnect issue

Hello, I am able to connect to the ESP using the a2p example. It is also possible to reconnect to it, even when it is not discoverable. So far that is ok. But when i remove all bonded devices using: 'esp_bt_gap_remove_bond_device(dev_list )', my mobile phone is still able to reconnect to the ESP. (t...
by SimonVs
Fri Apr 16, 2021 8:37 am
Forum: Sample Code
Topic: Bluetooth and ethernet
Replies: 0
Views: 6157

Bluetooth and ethernet

Hello, Is it possible to have ethernet and bluetooth working at the same time? I have combined the bluetooth A2DP sink example together with the ethernet basic example. It is possible to ping the device, but when i connect to the device with bluetooth, the ethernet connection gets disconnected. Anot...
by SimonVs
Mon Feb 08, 2021 8:21 pm
Forum: IDEs for ESP-IDF
Topic: Monitor problem after VSC update
Replies: 1
Views: 3291

Monitor problem after VSC update

Hello, I am currently working on the websocket server example. I use the visual studio code IDE, with espressif version v0.6.1. As a development board i am using the ESP32 WROOM devkit 1. Sometimes everything works just fine, but most of the times the monitor complains: Exception in thread Thread-2:...
by SimonVs
Sat Feb 06, 2021 5:45 pm
Forum: Sample Code
Topic: websocket server example
Replies: 2
Views: 5899

Re: websocket server example

Hi,

Thanks for the reply. I found out i made a mistake at the client side.
It works fine now.
by SimonVs
Sun Jan 31, 2021 4:03 pm
Forum: Sample Code
Topic: websocket server example
Replies: 2
Views: 5899

websocket server example

Hi,

I'm trying to get the websocket server example to work.
In the monitor i see an IP address is obtained but when sending somthing an error is received at the client side:

"failed: Error during WebSocket handshake: Unexpected response code: 302"

Can somebody help me with this?

Thanks in advance!
by SimonVs
Wed Oct 21, 2020 7:13 am
Forum: ESP IoT Solution
Topic: ESP-IDF A2DP sink example
Replies: 0
Views: 2477

ESP-IDF A2DP sink example

Hello, I'm trying to get the a2dp sink example to work properly. But glitches occure when connecting and when restarting after a suspend. The glitches can be heared in the first seconds. After that it works just fine. I am using an ESP32 devkitc_V4, esp-idf latest version V4.3 (but also tried older ...