T-Mobile NB-IoT in the Netherlands? [SOLVED]
-
Hello @paul-thornton,
It is failing to attach. Functions lte.imei() and lte.iccid() return sensible values. AT+CSQ returns 27,99.
>>> import sqnsupgrade >>> sqnsupgrade.info() <<< Welcome to the SQN3330 firmware updater [1.2.1] >>> >>> GPy with firmware version 1.20.0.rc4 Your modem is in application mode. Here is the current version: UE6.0.0.0 LR6.0.0.0-40343
My test code:
import os from network import LTE import time lte = None def get_LTE(): global lte if lte == None: lte = LTE() if lte.isconnected(): return True lte.attach(band=8, apn="cdp.iot.t-mobile.nl") attempts = 0 while not lte.isattached(): time.sleep(5) attempts = attempts + 1 print('Attaching...', attempts) print('LTE attach succeeded!') lte.connect() attempts = 0 while not lte.isconnected(): time.sleep(5) attempts = attempts + 1 print('Connecting...', attempts) print('LTE connection succeeded!') return True def end_LTE(): global lte if lte == None: return print("Disonnecting LTE ... ") lte.disconnect() print("Detaching LTE ... ") lte.dettach() print("Shuttting down LTE...") lte.deinit() lte = None def test_LTE(): os.uname() get_LTE() time.sleep(60) end_lte() if __name__ == "__main__": test_LTE()
After more than an hour it is still not attached.
The T-Mobile Netherlands IoT page only describes how to connect other platforms. (Link).
What can I try next?
-
Hey.
What issue are you having? Is it failing to attach, or attaching but failing to make any external connections?