svenschoen
Member
Hello,
I want to connect my Teensy LC with a websocket server (10.20.3.13:3001). The example "Webclient" in the ethernet library works fine, so I guess there is no problem with the hardware. In the example I can see in serial monitor that the W5200 is selected. So far so good.
When I use the library from https://github.com/muzzley/arduino-wsclient. Which works fine with an arduino, hangs on _socket.available(). It keeps returning 0.
Also when I use this library there is no serial print of the selected wiznet chip.
Any hint or suggestion is welcome, I would rather work with teensy than an arduino. Size and power is super!
I want to connect my Teensy LC with a websocket server (10.20.3.13:3001). The example "Webclient" in the ethernet library works fine, so I guess there is no problem with the hardware. In the example I can see in serial monitor that the W5200 is selected. So far so good.
When I use the library from https://github.com/muzzley/arduino-wsclient. Which works fine with an arduino, hangs on _socket.available(). It keeps returning 0.
Code:
while(_socket.available() == 0 && attempts < maxAttempts){
delay(100);
attempts++;
Serial.println(_socket.available());
Serial.println(attempts);
}
Any hint or suggestion is welcome, I would rather work with teensy than an arduino. Size and power is super!