-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add MQTT Support #258
Add MQTT Support #258
Conversation
@ashitaprasad @animator Would love to receive your inputs on the current implementation!
|
@mmjsmohit can we use json_serializable for to and from json code generation and equatable for ==. |
Sure! That's a good suggestion @khanjasir90 considering the model classes are fairly complex. Currently, I am busy with my mid-terms. Will add that soon. |
@mmjsmohit Please make this change #307 |
Required changes made! protocol.dropdown.mp4 |
@mmjsmohit Can you resolve the conflicts for this PR. mohit.feedback.movAnd change the color of the switch from purple. Keep it in accordance with the theme of API Dash |
Hi @ashitaprasad, I’ve resolved the conflicts in the PR and also migrated to DataTable2 from DaviTable. Additionally, I’ve made several UI fixes. You can find more details in the video and screenshots below: Light Mode:Dark Mode:Video:Screencast.from.2024-04-05.16-15-58.webm |
@mmjsmohit There is an issue in the implementation. Every time, I create a new MQTT request, automatically the response and request fields of the previous MQTT request gets filled. This should not happen. |
I am currently enhancing the handling of MQTT requests to ensure robustness. Should I create a new model specifically for MQTT, or would it be better to modify the existing request model? |
@mmjsmohit It should be a new model. |
Closing this PR as request model has now been updated. |
PR Description
This PR adds support for MQTT v3 (3.1 and 3.1.1) Client Testing using the mqtt_client package.
Related Issues
Checklist
flutter test
) and all tests are passing.Added/updated tests?
We encourage you to add relevant test cases.