Sending WebSocket Messages with AT Instructions

Hello

I have a Grove-Uart Wifi module connected to an Arduino UNO. I'd like to send websocket messages. From what I understand, the AT instruction set is basically the way to go in this situation. I can establish a connection to the websocket server (handshake according to WebSocket - Wikipedia). However, when it comes to actually sending messages, the framing format uses bits in its header to indicate the type of data and its length and I can't see any way to do that with AT commands.

I'm hoping somebody knows better and is able to help. Thanks!

use WiFiEsp library

Thanks for the response. How is this going to help? It seems to me that this library does not specifically support websocket and as such, I'm stuck with the same issue, no?

Thanks.

the WiFiEsp client implements the Client interface, which you can use with some websocket library. this one looks promising

Just a quick thank you! Took me a few attempts and eventually got it to work in combination with GitHub - arduino-libraries/ArduinoHttpClient: Arduino HTTP Client library.

good to know. thank you