Markus

Results 259 comments of Markus

I dont have a example like this. but it looks like you can use the Gamepad API in the browser. https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API with a data flow like this it is possible:...

please enable debug output. in the arduino IDE its a setting in the menu where you configure your board. https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/debugging.html for more advanced IDEs you need to set a compile...

the log shows that there is a connection problem on the TCP level. the ESP can not connect to 192.168.1.104 on port 5000. the ESP is connected to 192.168.43.183/24 which...

based on the logs the ESP tries to connect 192.168.1.104:5000 which is not the same layer 2 network segment then 192.168.43.183/24. in this case the gateway (192.168.43.250) needs to have...

do you run Wireshark on the gateway (192.168.43.250) ? or on 192.168.1.104?

ok the log now shows that the TCP connection is established and the first HTTP header is send from the ESP to the server. but the server kills the TCP...

if `%ld` support has been added to the printf for the ESP sure. last time I checked the printf Implementation for the ESP had no `%ld`support. Note: the compiler warning...

there is no break missing :) the code does what is intended to do. the 403 (basic access authentication) case is simply not implemented and will be handled the same...

commenting is fin, code duplication is always a bad idea. that is why its possible to use a case with out a break :) in 95% of the cases it...

yes, you can activate a timeout (keep alive / heartbeat) or manually disconnect all or one client. https://github.com/Links2004/arduinoWebSockets/blob/a14b6b73b4f05e189ca49d6e84202c2b55db528a/src/WebSocketsServer.h#L90-L91 https://github.com/Links2004/arduinoWebSockets/blob/a14b6b73b4f05e189ca49d6e84202c2b55db528a/src/WebSocketsServer.h#L80-L81