SDK Usage
Introduction
The IoT Device C# SDK provides abundant demo code for devices to communicate with the platform and implement advanced services such as device, gateway, and OTA services. For details about the integration guide, see IoT Device C# SDK.
Requirements
- .NET SDK 8.0 has been installed.
- The corresponding IDE (Visual Studio Code 2017+, Rider 17.0.6+) has been installed. This SDK does not depend on the IDE. You can select the IDE or directly use the CLI as required.
Directory Structure
- iot-device-sdk-csharp: SDK code
- iot-device-demo: demo code for demonstration
- iot-tcp-device: demo for simulating devices that are connected through TCP in gateway and bridge scenarios
Change History
|
Version |
Change |
Description |
|---|---|---|
|
1.3.4 |
Function enhancement |
1. Optimized log printing. 2. Returned topics for SubscribeTopic starting with oc. 3. Optimized the demo. 4. Fixed bugs in gateway APIs. 5. Upgraded the target framework. 6. Optimized other functions. |
|
1.3.3 |
Function addition |
Supported gateway mode for OTA upgrade. |
|
1.3.2 |
Function enhancement |
Updated the CA certificate for the server. |
|
1.3.1 |
Fixing |
Resolved issues such as null pointer exceptions and MQTT object release failures. |
|
1.3.0 |
Function addition |
Supported OBS-based upgrade of software and firmware packages. |
|
1.2.0 |
Function addition |
Added the generic-protocol function. |
|
1.1.1 |
Function enhancement |
Added the function of deleting child devices from a gateway and optimized the description. |
|
1.1.0 |
Function addition |
Added the gateway and product model functions. |
|
1.0.0 |
First release |
Provided basic device access capabilities. Preset the device access address and the CA certificate matching Huawei IoTDA in the SDK. |
|
0.5.0 |
Function addition |
Added the capability of connecting to the Huawei Cloud IoT platform to facilitate service scenarios such as access, device management, and command delivery. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
