0

Websocket library for M0 Wifi device
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Websocket library for M0 Wifi device

by mshulman on Fri Jul 23, 2021 10:41 am

Help,

I have the Feather M0 Wifi device (http://adadruit.com/product/3010) board, and I’m looking for a recommendation on a websocket client library.

I found two so far, but neither sketch compiles for my board.

I want to subscribe to a websocket server on my Wifi network and respond to changes in a subscribed channel.

Thank you for your help! I’m new to the Feather community!

mshulman
 
Posts: 8
Joined: Thu Jul 22, 2021 2:43 pm

Re: Websocket library for M0 Wifi device

by mshulman on Sun Jul 25, 2021 5:27 am

I found that WiFi101 works well and has Websocket support.

Be sure to use `
Code: Select all | TOGGLE FULL SIZE
WiFi.setPins(8,7,4,2);
in your setup()

mshulman
 
Posts: 8
Joined: Thu Jul 22, 2021 2:43 pm

Re: Websocket library for M0 Wifi device

by franklin97355 on Sun Jul 25, 2021 3:21 pm

Thanks for posting. Embedded websockets are difficult to code with a minimum memory device.

franklin97355
 
Posts: 22157
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Please be positive and constructive with your questions and comments.