CorefluxMQTTcSharpAPI 1.1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package CorefluxMQTTcSharpAPI --version 1.1.0.1
                    
NuGet\Install-Package CorefluxMQTTcSharpAPI -Version 1.1.0.1
                    
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="CorefluxMQTTcSharpAPI" Version="1.1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CorefluxMQTTcSharpAPI" Version="1.1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="CorefluxMQTTcSharpAPI" />
                    
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 CorefluxMQTTcSharpAPI --version 1.1.0.1
                    
#r "nuget: CorefluxMQTTcSharpAPI, 1.1.0.1"
                    
#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.
#:package CorefluxMQTTcSharpAPI@1.1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CorefluxMQTTcSharpAPI&version=1.1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=CorefluxMQTTcSharpAPI&version=1.1.0.1
                    
Install as a Cake Tool

Coreflux API

This nuget package is resposible for all integration with C# and Coreflux.

Coreflux MQTT

The MQTT namespace enables MQTT communication within your development.

Usage

  • Add the necessary namespaces in your project

    using Coreflux.API.cSharp.Networking.MQTT;

  • Call the managed mqtt client from Coreflux

MQTTController.Start("127.0.0.1", 1883); //using IP with normal TCP/IP socket

MQTTController.Start("cloud.coreflux.org", 1883); //using dns with normal TCP/IP socket

MQTTController.Start("cloud.coreflux.org:8080/mqtt", 8080, "", "", false, true); //using dns , without username "", no password , no TLS and with websocket

  • Connect the events MQTTController.NewPayload += this.MQTTController_NewPayload; //Provides a standard reception of subscribed topics

This is asynchronous implementation

  • Subscribe

string payload=MQTTController.GetData("mytopic/teste"); // provides the payload of a topic directly from the cache of the managed mqtt client

This is synchronous implementation

  • Publish

MQTTController.SetData("mytopic/teste", "payload", 0, false); // Publishes the value to the topic with the payload . In this case without retain(false) and QOS 0.

This is synchronous implementation

Author

Coreflux

http://coreflux.org - Coreflux the most advanced industrial IOT platform!

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 netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CorefluxMQTTcSharpAPI:

Package Downloads
SLServiceEngRef

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.2 1,949 8/30/2022
1.3.1.9 1,108 8/23/2022
1.3.1.8 1,472 5/23/2022
1.3.1.7 618 5/23/2022
1.3.1.6 624 5/19/2022
1.3.1.4 1,144 5/16/2022
1.3.1.1 934 4/27/2022
1.3.1 1,671 4/26/2022
1.3.0.3 1,014 4/25/2022 1.3.0.3 is deprecated because it has critical bugs.
1.3.0 923 4/3/2022
1.2.0.2 1,519 11/15/2021
1.2.0.1 522 11/15/2021
1.2.0 651 10/24/2021
1.1.0.3 959 10/8/2021
1.1.0.1 588 10/8/2021
1.0.0.1 650 11/27/2020
1.0.0 650 11/17/2020