Qberry.Open.Protocol.Parsing 1.0.0

dotnet add package Qberry.Open.Protocol.Parsing --version 1.0.0
                    
NuGet\Install-Package Qberry.Open.Protocol.Parsing -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Qberry.Open.Protocol.Parsing" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Qberry.Open.Protocol.Parsing" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Qberry.Open.Protocol.Parsing" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Qberry.Open.Protocol.Parsing --version 1.0.0
                    
#r "nuget: Qberry.Open.Protocol.Parsing, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Qberry.Open.Protocol.Parsing&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Qberry.Open.Protocol.Parsing&version=1.0.0
                    
Install as a Cake Tool

Qberry Open Protocol Parsing Library v.1.0.0

"Qberry Open Parsing Library" is the official library for parsing messages built with "Qberry Open Protocol".

You can get the latest release from the official Nuget.org feed or from the github releases page.

Build Status

Getting Started

Example 1:

Demonstration of parsing a "HOLA" message.

    // The raw message from the device..
    string rawMessage = "$|11|HOLA|12|90111122223333444|13|WMXQFV|14|B23a56|15|ONE|16|1.0.0|$";
    
    // Parse the raw message using MessageParser utility.
    var pr = MessageParser.Parse(rawMessage);
    
    // Write the message type to the console.
    System.Console.WriteLine($"The type of the message is {pr.MessageType}.");
    
    // Create the object form of the message.
    var m = new HolaMessage(pr);
    
    // Write some values to the console.
    System.Console.WriteLine($"The device id is {m.DeviceIdentity}.");
    System.Console.WriteLine($"The protocol version of the device id is {m.ProtocolVersion}.");

Example 2:

Demonstration of parsing a "GNSS" message.

   // The raw message from the device..
    string rawMessage = "$|11|GNSS|12|90111122223333444|13|WMXQFV|211|1|212|39.922790|213|32.838507|214|108.600|215|0.43|216|344.6|217|1|218|5|219|0|$";
    
    // Parse the raw message using MessageParser utility.
    var pr = MessageParser.Parse(rawMessage);
    
    // Write the message type to the console
    System.Console.WriteLine($"The type of the message is {pr.MessageType}.");
    
    // Create the object form of the message.
    var m = new GnssMessage(pr);
    
    // Write some values to the console.
    System.Console.WriteLine($"The device id is {m.DeviceIdentity}.");
    System.Console.WriteLine($"Latitude is {m.Latitude}.");
    System.Console.WriteLine($"Longtitude is {m.Longtitude}.");
    System.Console.WriteLine($"Moving in {m.SpeedOverGround}/km speed.");

Versioning

Used SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the GNU General Public License v3 - see the LICENSE.md file for details.

NOTICE: This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 1,018 9/26/2018
1.0.0-beta2 757 9/6/2018
1.0.0-beta1 816 8/9/2018