Search found 8 matches

by dtaylor
Thu Sep 23, 2021 5:56 pm
Forum: ESP-IDF
Topic: How to compile the examples?
Replies: 2
Views: 2303

Re: How to compile the examples?

This is the guide that I used. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/ Essentially you setup the command line build environment which is based in python. Then looks like in Windows you get a shortcut which fires the esport.bat script that initializes the build enviro...
by dtaylor
Mon Sep 13, 2021 8:37 pm
Forum: ESP-IDF
Topic: Help with secure Peer to Peer bidirectional communications on a local network: Websocket? MQTT? Other?
Replies: 2
Views: 2503

Help with secure Peer to Peer bidirectional communications on a local network: Websocket? MQTT? Other?

What I'm looking for is secure Peer to Peer bidirectional communications on a local network because in some cases there may not have internet access so I can't facilitate with a cloud server. What I was trying to do. Is there another way? Or a way to make this work? Secure websocket server on an es3...
by dtaylor
Mon Sep 13, 2021 7:16 pm
Forum: ESP-IDF
Topic: esp32 wss_server example handshake failed
Replies: 3
Views: 2981

Re: esp32 wss_server example handshake failed

Additional information: I tried this using client to connect from google chrome, firefox and safari. None worked. I also tried making an Android application and connect from a websocket client there. Still didn't work but got an client side error that indicates the certificate is the issue: Error No...
by dtaylor
Mon Sep 13, 2021 6:44 pm
Forum: ESP-IDF
Topic: esp32 wss_server example handshake failed
Replies: 3
Views: 2981

Re: esp32 wss_server example handshake failed

Just looking for differences in config of working https server and my not working wss_server example. Found in https server that PSK verification was disabled. So disabled this in wss_server example and now get this error towards the end of the handshake: I (160312) mbedtls: ssl_tls.c:2814 ssl->f_re...
by dtaylor
Mon Sep 13, 2021 6:05 pm
Forum: ESP-IDF
Topic: esp32 wss_server example handshake failed
Replies: 3
Views: 2981

Re: esp32 wss_server example handshake failed

Please also, let me know if additional information would help solve this so I can add this info to my original question.
Thank you! :)
by dtaylor
Mon Sep 13, 2021 4:39 pm
Forum: ESP-IDF
Topic: esp32 wss_server example handshake failed
Replies: 3
Views: 2981

esp32 wss_server example handshake failed

Hello, I'm trying to get the secure websocket example working but can't connect. I managed to get the ws_server working successfully. I was also able to successfully get the simple https server working. Here is the debug from mbedtls. I am using the certificate and key provided in the example. I'm u...
by dtaylor
Thu Aug 26, 2021 8:06 pm
Forum: ESP-IDF
Topic: Websockets: Async send within an interrupt
Replies: 3
Views: 4626

Re: Websockets: Async send within an interrupt

I know this is old and likely solved for the OP, but thought I would offer help for anyone else working with websockets on the esp32. I started down the same path with the example found at: eps-idf/examples/protocols/http_server/ws_server This was a good basic starting point. A more complete example...
by dtaylor
Tue Aug 24, 2021 6:02 pm
Forum: ESP-IDF
Topic: Can't get IP address using ethernet/basic example with Olimex ESP32-PoE (Rev. B)
Replies: 3
Views: 4559

Re: Can't get IP address using ethernet/basic example with Olimex ESP32-PoE (Rev. B)

Wow, Thanks so much for this! Helped me out. In case it's not clear to people using esp-idf and the basic ethernet example and the Olimex ESP32-POE. (In my case board rev. E) Change configurations in terminal: idf.py menuconfig Go to: Example configuration---> set PHY Reset GPIO number to -1 to disa...