Cat-M on T-Mobile (and Twilio Wireless) in San Diego California
I'm unable to connect my Fipy module to the T-mobile network here in San Diego. I've tried with both a Twilio programmable wireless SIM, and also the T-mobile SIM from my iPhone which normally has a strong LTE signal. My Fipy is running the default CAT-M firmware that it shipped with, and I have the Pycom LTE antenna attached.
I believe T-mobile has rolled out both Cat-M and NB-IOT in north america at this point, and I'm happy to go with whichever is easier to set up for now.
I'm running the same code you provided on Github (https://docs.pycom.io/tutorials/lte/cat-m1), and it just sits after running self.lte.attach()
import socket import ssl import time from network import LTE lte = LTE() # instantiate the LTE object lte.attach() # attach the cellular modem to a base station while not lte.isattached(): time.sleep(0.25) lte.connect() # start a data session and obtain an IP address while not lte.isconnected(): time.sleep(0.25) s = socket.socket() s = ssl.wrap_socket(s) s.connect(socket.getaddrinfo('www.google.com', 443)[-1]) s.send(b"GET / HTTP/1.0\r\n\r\n") print(s.recv(4096)) s.close() lte.disconnect() lte.dettach()
Any suggestions on how to further debug the issue, or get connected with T-mobile?