Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to access the device based on C # to the IoT platform

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to access the IoT platform for devices developed based on C #". In daily operation, I believe that many people have doubts about how to access the IoT platform for devices developed based on C#. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "how to access the IoT platform for devices based on C#". Next, please follow the editor to study!

1. Preparation 1.1 sign up for Aliyun account

Use Taobao account or mobile phone number, open Aliyun account, and pass real name authentication (can be verified by Alipay)

1.2 Free launch of IoT Internet of things Suite

Product official website

Https://www.aliyun.com/product/iot

1.3 Software development environment

Language C #

Tool Visual Studio IDE

2. IoT platform cloud development 2.1 create basic products

Product information

Message communication Topic

2.2 registering equipment

Get the device identity triple, ProductKey,DeviceName,DeviceSecret

3. The device side develops 3.1 IoT platform to access password signature algorithm file.

Signature rules referenc

Https://www.yuque.com/cloud-dev/iot-tech/mebm5g

3.2 access to the MQTT library of IoT platform C# version

Mqtt library of C #:

Https://www.eclipse.org/paho/clients/dotnet/

Visual Studio Project:

Https://www.eclipse.org/downloads/download.php?file=/paho/1.2-milestones/m2mqtt/M2Mqtt_4.2.0.0.zip

3.3 device-side applications

4. Running result

The cloud sees the online record of the device, and the data is reported.

At this point, the study on "how to access the IoT platform for devices developed based on C #" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report