Qistas.QistasLinks
1.0.0
dotnet add package Qistas.QistasLinks --version 1.0.0
NuGet\Install-Package Qistas.QistasLinks -Version 1.0.0
<PackageReference Include="Qistas.QistasLinks" Version="1.0.0" />
paket add Qistas.QistasLinks --version 1.0.0
#r "nuget: Qistas.QistasLinks, 1.0.0"
// Install Qistas.QistasLinks as a Cake Addin #addin nuget:?package=Qistas.QistasLinks&version=1.0.0 // Install Qistas.QistasLinks as a Cake Tool #tool nuget:?package=Qistas.QistasLinks&version=1.0.0
QistasLinks
QistasLinks is a C# .NET 7 DLL library designed for serial or RS232 interface communication. It provides a comprehensive solution for establishing communication with microcontrollers and exchanging data according to any protocol used in your project. QistasLinks is part of the Qistas project, which aims to provide a collection of libraries and tools for microcontroller communication and integration.
Features
Serial Communication: QistasLinks enables easy and efficient read/write operations for serial or RS232 interfaces. It provides a reliable and flexible communication channel between microcontrollers and computers.
Data Transfer Pattern: The library offers a data transfer pattern that simplifies the process of exchanging data between microcontrollers and computers. It provides a structured approach for sending and receiving data packets.
Protocol Agnostic: QistasLinks can be integrated into projects using any protocol of your choice. Whether you're working with custom protocols or industry-standard ones, the library can adapt to your specific requirements.
Installation
Download the QistasLinks DLL file from the repository.
Add the QistasLinks DLL reference to your C# .NET 7 project.
Ensure that your project is targeting the appropriate .NET version.
Build your project to ensure that the QistasLinks library is properly included.
Usage
Import the QistasLinks namespace into your code files:
using Qistas; using QistasLinks; using System.Dynamic; using static Qistas.QFunctions; //If you want to take advantage of some valuable methods
Create an instance of the Qlink class:
Qlink link = new Qlink { /* port = "....", rate = ...., ..... */ };
Initialize the Qlink instance:
link.Init();
Open the serial connection:
link.open();
Retrieve the status of the connection:
Console.WriteLine(link.GetStatus());
Subscribe to the
Received
andJunkData
events for data handling:link.Received += Link_Received; link.JunkData += Link_JunkData; void Link_Received(string DataReceived, int patternId) { Console.WriteLine($"by applying ({patternId}) >> received: {DataReceived}"); } void Link_JunkData(string JunkData) { Console.WriteLine("Junk: " + JunkData); }
Perform any necessary read and write operations using the Qlink instance.
Close the serial connection when you're finished:
link.close();
Examples
If you encounter any issues or have any questions, please create an issue on the GitHub repository.
Contributing
Contributions to QistasLinks are welcome! If you would like to contribute, please follow these steps:
Fork the repository.
Create a new branch for your feature or bug fix.
Commit your changes and push the branch to your fork.
Submit a pull request, explaining the changes you've made and their purpose.
License
QistasLinks is open-source software licensed under the MIT license.
Support
If you encounter any issues or have any questions, please create an issue on the GitHub repository.
Acknowledgements
QistasLinks is part of the Qistas project, which aims to provide a collection of libraries and tools for microcontroller communication and integration.
We would like to express our gratitude to the open-source community for their contributions and support.
Contact
For any further inquiries or information, please contact our team at [email protected]
Thank you for using QistasLinks!
I have added the code you provided and included an explanation of how the pattern works and how to access the deserialized data using the specified variables. Feel free to adjust the code and explanation as needed.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Qistas.QAnalyzer (>= 1.0.0)
- System.IO.Ports (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 197 | 8/9/2023 |