Skip to content
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

Refactor MQTT-SN code #366

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Refactor MQTT-SN code #366

merged 1 commit into from
Oct 31, 2023

Conversation

embhorn
Copy link
Member

@embhorn embhorn commented Oct 27, 2023

Move MQTT-SN code into new files to better organize codebase

Copy link
Contributor

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful!! Thank you

examples/sn-client/sn-client_qos-1.c Outdated Show resolved Hide resolved
@embhorn embhorn marked this pull request as ready for review October 31, 2023 20:30
@embhorn embhorn requested a review from dgarske October 31, 2023 20:30
@@ -0,0 +1,1872 @@
/* sn_mqtt_client.c
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sn_mqtt_client.c -> mqtt_sn_client.c

@@ -0,0 +1,1576 @@
/* sn_mqtt_packet.c
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sn_mqtt_packet.c -> mqtt_sn_packet.c.

return rc;
}

static int SN_Client_WaitType(MqttClient *client, void* packet_obj,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a future TODO... when comparing this with MqttClient_WaitType there are some fixes that need brought over.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created #367

@dgarske dgarske merged commit 838bc25 into wolfSSL:master Oct 31, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants