Azure-Samples / Azure-Samples/iot-middleware-freertos-samples

Esp32 WebSocket Sample

Open
#398 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CMake
Stars
88
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I've noticed the azure-iot-sdk-for-csharp automatically switches over from mqtt port 8883 to mqtt over websocket on port 443 when the port is blocked.

I went looking for a websocket example for the esp32 but could not find one. Does anyone here know of a Azure IoT Hub websocket example for the esp32?

Is implementing websocket, as simple as modifying transport_tls_esp32.c to use websocket and sending the wss upgrade http get? Can the websockets implementation be isolated to changes made only in transport_tls_esp32.c ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.