LTE NB - IOT (Telenet - Belgium)
-
Hi, i'm a newbee in using the Gpy, ... I want to connect to a mqtt broker via the NB-IOT.
My provider is telenet ( APN : apn="iot.telenet.be")This is the error that i receive when i try to connect
attached!
connecting [##] connected!
Traceback (most recent call last):
File "<stdin>", line 49, in <module>
File "/flash/lib/mqtt.py", line 26, in init
OSError: [Errno 202] EAI_FAIL
The carrier is not listed is that the problem ( i used AT comment: "AT+SQNCTM=?" to see the listed carriers)?
The mqtt broker works fine when i'm using wifi instead of lte.Someone that can help ? Thanks
-
@carl-declercq Best of luck, let me know if you need any further help!
-
@techykermit thanks for the quick reply: Yes I flashed the NB software in the Gpy , I only send the data once, but indeed maybe i must try several times (thanks, I will get back with some feedback)
Grts
-
How many times have you retried sending data? I sometimes get this error too, but
lte.detach()
and then a full reset of the devicemachine.reset()
usually works.And the obvious - are you sure that NB-IOT is the flashed firmware on the LTE modem? If not, you have to flash it to the PyCom. This is what I would check first.