Connecting to 1GLOBAL
Overview
Once you have received your 1GLOBAL SIM cards and activated them with an appropriate data plan you are all set to connect to the 1GLOBAL network.
- Insert SIM Card
- Activate SIM's on Connectivity Management Portal
- Connect to Network
Many modules and devices come pre-configured ready to connect to 1GLOBAL or provide instructions on how to get started. If not, the following AT commands may provide help to set the appropriate configuration on the device to connect.
AT Commands
The following AT commands can be used to help you connect a device to the 1GLOBAL network.
Check SIM is Ready
AT+CPIN?
+CPIN: READY
OK
Check Network Registration
AT+CGREG?
+CGREG: 0,4
OK
Get Network Information
AT+COPS?
+COPS: 0,0,"1GLOBAL 1GLOBAL",8
Check Service Quality
AT+CSQ
+CSQ: 24,99
OK
Set APN
AT+CGDCONT=1,"IP","iot.truphone.com"
OK
Check APN
AT+CGDCONT?
+CGDCONT: 1,"IP","iot.truphone.com","0.0.0.0",0,0,0,0
OK
Attach to Network
AT+CGATT=1
OK
Get IP Address
AT+CGPADDR=1
+CGPADDR: 1,10.136.138.63
OK
Check PDP Context
AT+CGDCONT?
+CGDCONT: 1,"IP","iot.truphone.com","10.136.138.63",0,0,0,0
OK
Disconnect from Network
AT+CGATT=0
OK