Hi,
We have been using the MQTT sample code with a few iBasis SIM cards for some time without issue. This week we made a test where the mqtt_disconnect function in the sample code was called to force a disconnection; the problem is that after this the boards will always fail to connect due MQTT timeout. We swapped the SIM cards to ones not used in the test and the boards now work fine again and can connect without issues.
Since the issue appears to follow the SIM cards used in the test, does anyone know how/if this behavior could be related to the test of calling mqtt_disconnect? Can the SIM cards somehow be diagnosed?
Note that the failing SIM cards have enough data left, so this should not be the issue as reported in this other thread https://devzone.nordicsemi.com/f/nordic-q-a/52986/mqtt-connect-timeout.
Thank you