Qberry.Open.Protocol.Core
1.0.0-beta1
dotnet add package Qberry.Open.Protocol.Core --version 1.0.0-beta1
NuGet\Install-Package Qberry.Open.Protocol.Core -Version 1.0.0-beta1
<PackageReference Include="Qberry.Open.Protocol.Core" Version="1.0.0-beta1" />
paket add Qberry.Open.Protocol.Core --version 1.0.0-beta1
#r "nuget: Qberry.Open.Protocol.Core, 1.0.0-beta1"
// Install Qberry.Open.Protocol.Core as a Cake Addin
#addin nuget:?package=Qberry.Open.Protocol.Core&version=1.0.0-beta1&prerelease
// Install Qberry.Open.Protocol.Core as a Cake Tool
#tool nuget:?package=Qberry.Open.Protocol.Core&version=1.0.0-beta1&prerelease
Qberry Open Protocol Parsing Library v.1.0.0-beta1
"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.
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
- Deniz Kanmaz (denizkanmaz@gmail.com) - Initial work - qberry.io
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 | Versions 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. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Qberry.Open.Protocol.Core:
Package | Downloads |
---|---|
Qberry.Open.Protocol.Parsing
Official parsing library for "Qberry Open Protocol". |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0-beta1 | 816 | 8/9/2018 |