Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

Visual Basic or C# Client
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Visual Basic or C# Client

by jlharing on Fri Apr 08, 2016 1:41 pm

Does anyone know of a Visual Basic or C# MQTT client library that will work with Adafruit.IO?

jlharing
 
Posts: 34
Joined: Thu Feb 26, 2015 4:24 pm

Re: Visual Basic or C# Client

by Mr_Paul on Fri Apr 08, 2016 2:25 pm


Mr_Paul
 
Posts: 24
Joined: Mon Dec 10, 2012 11:58 am

Re: Visual Basic or C# Client

by jlharing on Sun Apr 10, 2016 9:40 am

Thank you very much.

I am having a little trouble connecting to Adafruit IO, I am using the following code:

MqttClient client = new MqttClient("io.adafruit.com");

Guid userid = Guid.NewGuid();
int code = client.Connect(userid.ToString(), "myUserName", "myAOIKey");

I get a return code of 5.

Any help would be appreciated.

jlharing
 
Posts: 34
Joined: Thu Feb 26, 2015 4:24 pm

Please be positive and constructive with your questions and comments.


cron