Search found 5 matches

by SauliusJ
Thu May 18, 2023 3:02 pm
Forum: ESP-IDF
Topic: error while connecting to server via WebSocket, esp-wrover-b
Replies: 4
Views: 2366

Re: error while connecting to server via WebSocket, esp-wrover-b

I think I found my problem - I was trying to upgrade TCP to WS, without going TCP -> HTTP first.

Going to check whether that was the problem.
by SauliusJ
Thu May 18, 2023 10:10 am
Forum: ESP-IDF
Topic: error while connecting to server via WebSocket, esp-wrover-b
Replies: 4
Views: 2366

Re: error while connecting to server via WebSocket, esp-wrover-b

in my knowledge, a HTTP server is a TCP server, just one level higher. Yes, the server is able to receive WS connections. However, when connecting to the correct uri, the server does not see the connection, however, the error is, as mentioned before, ESP_ERR_ESP_TLS_TCP_CLOSED_FIN. From what I googl...
by SauliusJ
Tue May 16, 2023 3:51 pm
Forum: ESP-IDF
Topic: error while connecting to server via WebSocket, esp-wrover-b
Replies: 4
Views: 2366

error while connecting to server via WebSocket, esp-wrover-b

Hello, while connecting to a TCP server with a websocket, i am unable to receive a handshake. esp_transport_connect() function fails, errno = 128, esp-tls error code - 0x8008, ESP_ERR_ESP_TLS_TCP_CLOSED_FIN. Logs "Error read response for Upgrade header GET / HTTP/1.1". Could someone lead me towards ...
by SauliusJ
Mon Mar 20, 2023 9:20 am
Forum: ESP-IDF
Topic: Issue with isolating a cpu1 core ESP-IDF
Replies: 2
Views: 1068

Re: Issue with isolating a cpu1 core ESP-IDF

TLDR:
(1) Is there a possible way to COMPLETELY exclude all the other stuff from cpu1 and use it only for data measurement? if not, whats the reason of having dual core?

(2) When trying to connect to created http server port, the procpu resets. doubleExceptionVector error. Tips on solving it?
by SauliusJ
Thu Mar 16, 2023 2:43 pm
Forum: ESP-IDF
Topic: Issue with isolating a cpu1 core ESP-IDF
Replies: 2
Views: 1068

Issue with isolating a cpu1 core ESP-IDF

Hey, I am struggling to find a solution for my problem. Here are the details: DevKit - ESP-WROVER-KIT-E, using ESP-IDF framework My goal is to use ESP32 both cores separately - CPU1 have to be responsible ONLY for data measurement, CPU0 - http server, connection to wifi and etc. Data measurement goa...