New attach is needed to use the new APN. A way to do this is to turn
the radio off and on using AT+CFUN
AT+CFUN=4
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CFUN=1
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,2
OK
AT+CEREG?
+CEREG: 0,1
OK
AT+COPS?
+COPS: 0,1,"I TIM",9
OK
AT+CGCONTRDP
+CGCONTRDP: 1,5,"nbiot.tids.tim.it","10.16.13.162",,"192.168.200.43","192.168.200.42"
OK
The module is registered and has an IP address (10.16.13.162).
AT#SGACT=1,1
#SGACT: 10.16.13.162
OK
Module IP stack is on, IPEasy commands can be used, e.g. we can open a TCP socket
AT#SD=1,0,80,"www.telit.com"
CONNECT
+++ escape sequence sent here to move on Command Mode
OK
AT#SS
#SS: 1,2,10.16.13.162,36862,35.202.235.194,80
…
OK