2

I was looking for a websocket server for my MKR100 but nothing I found looks it works. I tried all the libraries that come with arduino but half of those doesn't compile on MKR1000 and those that did it doesn't work at all. Your help would be greatly appreciated!

1
  • There is a dedicated WiFi/Ethernet Shield that supports websocket server. But it is only worked with Uno and Mega. This shield name is PHPoC Shield Aug 21 '20 at 6:04
0

This old and simple one has always worked for me on several Arduinos (but I haven't tried it on the MKR1000 specifically):

https://github.com/morrissinger/ESP8266-Websocket

I have forked it and made some changes, but nothing fundamental:

https://github.com/ocrdu/NINA-Websocket

Have a go, it just might work for you.

4
  • Thanks for your answer, but devices based on ESP8266, doesn't work Aug 21 '20 at 19:40
  • IIRC (it's been a while), this websocketserver works on other Arduinos as well, it's more universal than the name suggests.
    – ocrdu
    Aug 21 '20 at 21:51
  • 1
    Thanks Ocrdu, github.com/ocrdu/NINA-Websocket works fine . I didn't use WiFinina I use instead WiFi101 and work ok. Aug 22 '20 at 2:02
  • Good to hear. You may want to accept the answer then.
    – ocrdu
    Aug 24 '20 at 11:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.