Skip to content

Advantech-WEDA/WEDA-Sub-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

373 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English / 繁體中文

Weda SubNode SDK

A comprehensive .NET SDK for IoT edge devices, providing device connectivity, data acquisition, processing, and cloud integration.

Prerequisites

Choose one of the following environment setups:

Option 1: Dev Container (Recommended)

Pre-configured development environment with everything installed:

Requirements:

Setup:

  1. Open this project in VS Code
  2. Press Ctrl + Shift + P → Select Dev Containers: Reopen in Container
  3. Wait for container to build (first time only)

Everything is pre-installed: .NET SDK, project templates, and all development tools!

Learn more about Dev Container

Option 2: Local Installation

Install dependencies manually on your local machine:

Requirements:

  • .NET 10.0 SDK
  • Code editor (VS Code, Visual Studio, or Rider)
  • Git (for cloning repository)

Setup: Follow the Installation Guide for detailed instructions.


Quick Start

Choose your learning path based on your background:

Path 1: Start from Scratch (For .NET Developers)

Best for: Developers familiar with .NET who want to build SubNode applications from the ground up.

Steps:

  1. Install templates:

    dotnet new install ./templates
  2. Create a new project:

    # For simple applications (Builder pattern)
    dotnet new wedabuilder -n MyProject
    
    # For custom device implementation (Manual Context)
    dotnet new subnode -n MyProject
  3. Follow the documentation:

Path 2: Study from Examples (For System Integrators)

Best for: System integrators who want to quickly adapt existing examples for their hardware.

Steps:

  1. Browse available examples:

    • examples/ - Production-ready examples with real hardware
    • tutorials/ - Learning examples with simulators
  2. Choose an example that matches your use case:

  3. Copy and customize:

    # Copy the example
    cp -r examples/wise-4012-builder my-project
    cd my-project
    
    # Edit configuration
    nano appsettings.json
    # Update: IP address, sensor mappings, device settings
    
    # Run
    dotnet run
  4. Adapt to your hardware:

    • Modify appsettings.json for your device IP and sensor configuration
    • Update DTDL metadata if needed
    • Add custom processing logic in device class

Browse All Examples | Browse All Tutorials


Documentation

Read Full Documentation

Key Documentation Sections


Features

  • Multi-Protocol Support - Modbus TCP/RTU, MQTT
  • Data Processing Pipeline - Calibration, filtering, transformation
  • Event-Driven Architecture - Extensible event system
  • Cloud Integration - Weda EdgeSync Cloud platform
  • Easy to Use - ASP.NET Core-style Builder pattern

Project Structure

edge_subnode/
├── examples/          # Production-ready examples (real hardware)
├── tutorials/         # Learning tutorials (Mock Cloud + Simulators)
├── templates/         # dotnet new templates
│   ├── subnode/       # Manual Context pattern
│   └── wedabuilder/   # Builder pattern
├── src/               # SDK source code
├── tests/             # Unit and integration tests
└── docs/              # Documentation wiki

Getting Help


License

Copyright © 2025 Advantech Corporation


Version: 0.0.1 | Maintainer: Rain Hu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages