File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -176,11 +176,6 @@ static void internalConnectedCallback(char* urc_data) {
176176 connected_to_broker = false ;
177177 LedCtrl.off (Led::CON, true );
178178
179- SequansController.writeBytes ((uint8_t *)MQTT_DISCONNECT,
180- strlen (MQTT_DISCONNECT),
181- true );
182- SequansController.clearReceiveBuffer ();
183-
184179 if (disconnected_callback != NULL ) {
185180 disconnected_callback ();
186181 }
@@ -189,11 +184,7 @@ static void internalConnectedCallback(char* urc_data) {
189184
190185static void internalDisconnectCallback (char * urc_data) {
191186 connected_to_broker = false ;
192-
193- SequansController.writeBytes ((uint8_t *)MQTT_DISCONNECT,
194- strlen (MQTT_DISCONNECT),
195- true );
196- SequansController.clearReceiveBuffer ();
187+ LedCtrl.off (Led::CON, true );
197188
198189 if (disconnected_callback != NULL ) {
199190 disconnected_callback ();
You can’t perform that action at this time.
0 commit comments