eclipse-paho / paho.mqtt.m2mqtt

Eclipse Public License 1.0
521 stars 303 forks source link

regarding aws iot support on uwp application #93

Open sonalipan opened 6 years ago

sonalipan commented 6 years ago

I do not find any support or Nuget package of AWS IOT service using MQTT for Universal windows application. Could you please help me out?

PillarOfSociety commented 4 years ago

Its been two years, but it probably doesn't hurt to throw this out there. I got MQTT publishes working in a console app in .net.

https://github.com/aws-samples/iot-dotnet-publisher-consumer/blob/master/README.md https://m2mqtt.wordpress.com/m2mqtt-and-amazon-aws-iot/

They are both doing something similar. I did not try in UWP. Because AWS came out with the SDK.

There is not a good example for using the AWSSDK from nuget to do MQTT Pub or sub, but you can do MQTT from the AmazonIotDataClient, but you must login via cognito first and have valid permissions as well as a policy attached. https://github.com/aws/aws-sdk-js/issues/1312