Markus

Results 259 comments of Markus

if you need a char and use a single quote ' not " so "/" is a pointer to a const char and '/' is the value of / -->...

looks like you try to connect to a socket.io server, then you need the handle the Protokoll correctly. sending Ping / pong for example see: https://github.com/Links2004/arduinoWebSockets/blob/master/examples/esp8266/WebSocketClientSocketIO/WebSocketClientSocketIO.ino or you can use...

Hi, the WebsocketServer creates a plain websocket, but your ios lib expects socket.io on top of the websocket ;)

the arduinoWebSockets only implements a socket.io client (like your ios lib) but no socket.io server. If you want to connect to the ESP you will need a websocket lib for...

Hi, the "reference" where the first google result for "IOS websocket client" ;) https://github.com/TakahikoKawasaki/nv-websocket-client#sample-application

will take a look at this, but need to check how ESP32 suppport is and may only make this a opt in.

@gitZui can you post your code? the pointer / the data is valide as long `webSocketEvent` has not returned. after the return the pointer is invalide, and the OS may...

@Tusharkumar0012 looks to me like you build a JSON with the wrong format for socket.io. socket.io expects a JSON array where the first element is the event name, and the...

best way to start is to enable debug. https://github.com/Links2004/arduinoWebSockets/blob/ATmega/src/WebSockets.h#L30 for AVR you need to get printf working since it is not supported out of the box there. read `Adding printf()...

the most likely the problem is around: https://github.com/Links2004/arduinoWebSockets/blob/ATmega/src/WebSocketsServer.cpp#L382 for some reason there we get a valide ptr there. then a client is created with this invalide socket, which then is...