Skip to content

CRThu/CarrotLink.NET

Repository files navigation

CarrotLink.NET Communication Framework

🌐 Language: English | 中文

License


CarrotLink.NET is a .NET-based device communication framework supporting multiple protocols and device types including Serial, FTDI, and NI-VISA.

Features

  • Multi-device Support: Serial, FTDI, NI-VISA and more
  • Protocol Parsing: Built-in protocol parsers (RawAsciiProtocol, CarrotDataProtocol)
  • Service Scheduling: Manual, polling and event-driven modes
  • Data Storage: In-memory storage with JSON export
  • Logging: Console logger and NLog support

Project Structure

CarrotLink.NET/
├── CarrotLink.Client/          # Demo client application
├── CarrotLink.Core/            # Core functionality
│   ├── Devices/                # Device implementations
│   ├── Discovery/              # Device discovery
│   ├── Protocols/              # Communication protocols
│   ├── Services/               # Services
│   └── Utility/                # Utility classes
├── CarrotLink.Native/          # Native library
└── CarrotLink.Old/             # Legacy code

Quick Start

  1. Clone the repository

    git clone https://github.com/CRThu/CarrotLink.NET.git
  2. Open solution in Visual Studio

    • Open CarrotLink.NET.sln
    • Set CarrotLink.Client as startup project
  3. Run demo

    • The demo shows how to communicate with serial devices and store data

Building

Open the solution in Visual Studio 2022 or later and build the project.

License

Apache License 2.0

Contributing

Issues and pull requests are welcome.


This README was generated by DeepSeek

About

跨平台、多协议的高性能硬件通信框架

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors