Connected via AT&T iot sim stopped working
-
Using Gpy with expansion board 3. I was able to setup and connect using AT&T iot sim using:
# While the configuration of the CGDCONT register survives resets, # the other configurations don't. So just set them all up every time. print("Configuring LTE ", end='') lte.send_at_cmd('AT+CGDCONT=1,"IP","m2m.com.attz"') print(".", end='') lte.send_at_cmd('AT!="RRC::addscanfreq band=17 dl-earfcn=5780"') print(".", end='') lte.send_at_cmd('AT+CFUN=1') print(" OK")
Then registered the device through pybytes and did an integration azure.
Now the device does not connect. re installed firmware for modem and gpy.Any suggestions?
-
@irfan5911 figured it out. correct band and earfcn are crucial.