Skip to content

Commit

Permalink
Finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
embhorn committed Oct 31, 2023
1 parent fe1af59 commit 00c5386
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 100 deletions.
97 changes: 0 additions & 97 deletions .github/workflows/mqtt-sn-check.yml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/sn-client/sn-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <config.h>
#endif

#include "wolfmqtt/mqtt_sn_client.h"
#include "wolfmqtt/mqtt_client.h"

#include "sn-client.h"
#include "examples/mqttnet.h"
Expand Down
2 changes: 1 addition & 1 deletion examples/sn-client/sn-client_qos-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <config.h>
#endif

#include "wolfmqtt/mqtt_sn_client.h"
#include "wolfmqtt/mqtt_client.h"

#include "sn-client.h"
#include "examples/mqttnet.h"
Expand Down
2 changes: 1 addition & 1 deletion examples/sn-client/sn-multithread.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <config.h>
#endif

#include "wolfmqtt/mqtt_sn_client.h"
#include "wolfmqtt/mqtt_client.h"

#include "sn-client.h"
#include "examples/mqttnet.h"
Expand Down
5 changes: 5 additions & 0 deletions wolfmqtt/mqtt_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@
#include "wolfmqtt/mqtt_types.h"
#include "wolfmqtt/mqtt_packet.h"
#include "wolfmqtt/mqtt_socket.h"

#ifdef WOLFMQTT_SN
#include "wolfmqtt/mqtt_sn_packet.h"
#endif


/* This macro allows the disconnect callback to be triggered when
* MqttClient_Disconnect_ex is called. Normally the CB is only used to handle
* errors from MqttPacket_HandleNetError.
Expand Down Expand Up @@ -211,6 +213,9 @@ typedef struct _MqttClient {
#endif
} MqttClient;

#ifdef WOLFMQTT_SN
#include "wolfmqtt/mqtt_sn_client.h"
#endif

/* Application Interfaces */

Expand Down

0 comments on commit 00c5386

Please sign in to comment.