Can't connect Fipy via LTE NB-IoT to Pybytes
-
Hello there, I tried to connect via NB-IoT to as described in this article , later I tried out this tip after I had no success, but it's still complaining with the same error message that it cannot connect to the MQTT server.
Connecting to COM13... WMAC: 807D3AC2E464 Firmware: 1.18.2.r3 Pybytes: 0.9.10 Pybytes configuration read from /flash/pybytes_config.json Initialed watchdog for WiFi and LTE connection with timeout 660000 ms LTE init(carrier=standard, cid=1) LTE attach(band=8, apn=iot.1nce.net, type=None) LTE connect() LTE is_connected() LTE connection established MQTTClient: Can't connect to MQTT server: "mqtt.pybytes.pycom.io" MQTTClient: Can't connect to MQTT server: "mqtt.pybytes.pycom.io"As a second connection preference
was set to["lte", "lora"]Any tips on how I could get this to work? Am I overlooking anything?
-
@weingami Are you sure the operator you are using allows TCP (MQTT) connections to external platforms?
Most NB-IoT network carriers don't support TCP and only allow UDP/CoAP connections to their own internal platforms.
-
I was able to successfully connect via HTTPS to google and do a simple GET request, so it seemed. Though I don't do dabble around to often in network protocols. Would you have any suggestion for a safer way to determine whether our carrier supports UDP. The name of the carrier is 1NCE, btw.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login