Gpy + LTE Nb IoT +MQTT?
I'd like to send data from the Gpy board to a cloud service in the internet (via Nb IoT).
I managed to send data to adafruit.io by using MQTT via WIFI.
Then I tried the same thing with an LTE Nb IoT connection, but it failed. (Connection to LTE worked, sending via MQTT didn't)
Where is my mistake?
This post is deleted!
@SiMoS-IoT Hmm ok Error 128 is gone now
But instead I'm getting OSError: -1
Did you manage to solve the problem?
If so, could you maybe upload the code that you used?
@magdalena I had the same problem switching from WiFi to LTE on a FiPy/Pysense. Try adding a time.sleep(1) between the client.publish and client.disconnect.