Keep getting 'Not Attached' with LTE-M in Netherlands on KPN network.
I'm trying to get the FiPy online by using the LTE-M network from KPN in Holland. But I keep getting 'not attached'.
I also drove the different place but I can't attache anywhere. Also I've tried 2 different sims, 2 different FiPy's and 2 different atanna's.
Can anyone help me? Suggest a new thing to try? Thanks already!
Code I'm using at the moment:
import socket import pycom import ssl import time from network import LTE # Colors off = 0x000000 red = 0xff0000 green = 0x00ff00 blue = 0x0000ff yellow = 0xffff00 # Turn off hearbeat LED pycom.heartbeat(False) lte = LTE() #set the apn lte.send_at_cmd('AT+CGDCONT=1,"IP","ltem.internet.m2m"') lte.attach() # wait for the attach flag to set and use the connect call # the modem will auto connect from the previous call regardless but still need to call this otherwise the unit does not know it's connected while not lte.isattached(): pycom.rgbled(red) time.sleep(0.25) pycom.rgbled(off) print("not attached") lte.connect() while not lte.isconnected(): pycom.rgbled(yellow) time.sleep(0.25) pycom.rgbled(off) print("not connected") pycom.rgbled(blue) 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() pycom.rgbled(green)
Yes sorry about that.
All Announcements (Firmware, Network updates, etc) come in the Announcements part of the forum:
Ahh, that explains a lot :)
Where can I keep updated about the support for KPN?
KPN Cat-M1 is not supported yet. The Eindhoven team is looking into it, should come in a near future update.