-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update version MQTTnet library #69
Merged
harlem88
merged 3 commits into
astarte-platform:master
from
osmanhadzic:update-mqttnet-lib
Mar 22, 2024
Merged
Update version MQTTnet library #69
harlem88
merged 3 commits into
astarte-platform:master
from
osmanhadzic:update-mqttnet-lib
Mar 22, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update MQTTnet library from 3.1.2 to version 4.1.4.563. Resolving braking changes with namespaces. Replace `UseApplicationMessageReceivedHandler` and `UseDisconnectedHandler` handlers with events `ApplicationMessageReceivedAsync` and `DisconnectedAsync`. Implement enum `MqttQualityOfServiceLevel` to replace the int value Qos. Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
osmanhadzic
force-pushed
the
update-mqttnet-lib
branch
2 times, most recently
from
March 18, 2024 09:37
99fa69d
to
ea7eb4e
Compare
nedimtokic
suggested changes
Mar 19, 2024
harlem88
requested changes
Mar 19, 2024
osmanhadzic
force-pushed
the
update-mqttnet-lib
branch
from
March 19, 2024 11:22
ea7eb4e
to
0c0882d
Compare
nedimtokic
approved these changes
Mar 19, 2024
osmanhadzic
force-pushed
the
update-mqttnet-lib
branch
2 times, most recently
from
March 22, 2024 12:29
b921486
to
455af7a
Compare
harlem88
requested changes
Mar 22, 2024
AstarteDeviceSDKCSharp/Transport/MQTT/AstarteMqttV1Transport.cs
Outdated
Show resolved
Hide resolved
Handling exceptions for deadlock threads. Implement `TryPingAsync` for check is broker available for sending messages. Add timeout time to device constructor, timeOut duration for the connection. Implement new field in constructors E2E and Example. Add timeout for HTTP request on Pairing API. Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
osmanhadzic
force-pushed
the
update-mqttnet-lib
branch
from
March 22, 2024 13:44
ace134c
to
b719ea0
Compare
nedimtokic
approved these changes
Mar 22, 2024
harlem88
approved these changes
Mar 22, 2024
harlem88
approved these changes
Mar 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update version MQTTnet library from 3.1.2 to 4.1.4.563. Refactor strategy for fallback messages.
Updating the MQTTnet library provides benefits such as bug fixes, security patches, performance improvements, new features, compatibility with the latest .NET versions, and better community support.
Implement breaking changes:
Handling exception to resolve deadlock in threads. With add cancellation timeout token in class
AstarteMqttTransport
methodConnect()
and handlingAggregateException
in classAstarteDevice
methodEventualyReconnect()
.