https://github.com/djaus2/mqttnet.client.extensions.azureiot
https://github.com/djaus2/mqttnet.client.extensions.azureiot
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/djaus2/mqttnet.client.extensions.azureiot
- Owner: djaus2
- License: cc0-1.0
- Created: 2023-10-04T09:56:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-05T03:15:46.000Z (over 2 years ago)
- Last Synced: 2025-04-23T18:19:29.164Z (about 1 year ago)
- Language: C#
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MQTTnet.Client.Extensions.AzureIoT-master
Cloned from [iotmodels/MQTTnet.Client.Extensions.AzureIoT](https://github.com/iotmodels/MQTTnet.Client.Extensions.AzureIoT)
## Added
- NetStandardLib
- NetStandardTestConsoleApp
- NetStandardTestMeadowApp
- MeadowMqttApplication
## About
- NetStandardLib*
Uses the **MQTTnet.Client.Extensions.AzureIoT** lib to open a connection to an Azure IoT Hub using DeviceConnectionString and send one telemetry packet.
- NetStandardTestConsoleApp
Desktop (.Net Core 3.1) test app for NetStandardLib _(Works)_
- NetStandardTestMeadowApp
Meadow Project Lab V3 test app for NetStandardLib _(Fails)_
- MeadowMqttApplication* _(Work in progress)_
_Working on this_
- This directly uses MQTTnet.
- Runs without crashing but does not connect.
- Needs Authetication etc.
- Can queue telemetry
*Require a Secrets class file such as:
```cs
public static string deviceId = "";
public static string hubName = "";
public static string IoTHubConnectionString = "";
public static string DEVICE_CONNECTION_STRING = "";
public static string IOT_CONFIG_IOTHUB_FQDN = $"{hubName}.azure-devices.net";
```