Menu

Simcom Modules with Super SIM

Super SIM does not support NB-IoT.

Initialization

Only configure the modem’s Radio Access Technology (RAT) preference for Cat-M1 when you are connecting to LTE. To do so, issue AT+CMNB=1.

If you wish to limit comms to LTE only, i.e., no GSM, send AT+CNMP=38.

A parameter of 13 instead of 38 indicates GSM only. The default is 2, which is auto.

Bring up a data connection

  1. Set the APN: AT+CSTT="super","","".
  2. Bring up the wireless data connection: AT+CIICR.
  3. Obtain an IP address (required before TCP/IP operations): AT+CIFSR.
    • This will return the IP address.
  4. Optionally, query the current connection status: AT+CIPSTATUS.

To shut down the connection when you are done, issue AT+CIPSHUT.

Perform a ping

To perform a ping to a remote host after bringing up a connection as described above, issue AT+CIPPING="8.8.8.8". This will yield:

+CIPPING: 1,"8.8.8.8",111,53
+CIPPING: 2,"8.8.8.8",165,53
+CIPPING: 3,"8.8.8.8",159,53
+CIPPING: 4,"8.8.8.8",154,53
OK

Perform an HTTP GET

To perform an HTTP GET using the built-in HTTP client:

  1. Configure the bearer: AT+SAPBR=3,1,"APN","super".
  2. Check the bearer’s status: AT+SAPBR=2,1.
    • This will return +SAPBR: 1,3,"0.0.0.0". The 3 indicates the connection is closed.
  3. Connect: AT+SAPBR=1,1.
  4. Initialize the HTTP service: AT+HTTPINIT.
  5. Set the URL: AT+HTTPPARA="URL","http://ifconfig.co/ip".
  6. Initiate this as a GET operation: AT+HTTPACTION=0.

After the OK response to the last of these commands, some time will pass and then the result will be indicated by a +HTTPACTION URC:

+HTTPACTION: 0,200,13

This indicates that we received an HTTP response status of 200 and 13 response bytes. Let’s read them starting at index 0. Use AT+HTTPREAD=0,13. The response will be something like:

+HTTPREAD: 13
3.23.456.789

OK

To terminate the HTTP service, issue AT+HTTPTERM.

Finally, disconnect the bearer with AT+SAPBR=0,1.

This uses a service that returns the IP address of the requester.

Low-power modes

The SIM7000 supports the eDRX and PSM low-power modes. The commands to enable each of these are:

  • eDRX: AT+CEDRXS
  • PSM: AT+CPSMS

Using these features, but especially PSM, can make the modem inaccessible to the terminal during its sleep time. It’s best to experiment with these features with the modem local. To disable all power saving, send:

AT+CEDRXS=0
AT+CPSMS=0

You can learn more about implementing these modes in our low-power usage documentation.

Known issues

None at this time.

SIM7600A Cat 4

Initialization

To configure the APN, use AT+CGDCONT=1,"IP","super".

Perform a ping

To perform a ping to a remote host after bringing up a connection as described above, issue AT+CPING="8.8.8.8",1. This will yield:

OK
+CPING: 1,8.8.8.8,64,70,255
+CPING: 3,1,1,0,70,70,70

Perform an HTTP GET

To perform an HTTP GET using the built-in HTTP client:

  1. Set IP mode: AT+CIPMODE=1.
  2. Connect a socket: AT+NETOPEN.
  3. Initialize the HTTP service: AT+HTTPINIT.
  4. Check an IP address has been assigned: AT+CGPADDR.
    • This will return something like: +CGPADDR: 1,100.66.159.130.
  5. Set the URL : AT+HTTPPARA="URL","http://ifconfig.co/ip".
  6. Initiate this as a GET operation: AT+HTTPACTION=0.

After the OK response, some time will pass and then the result will be indicated by a +HTTPACTION URC:

+HTTPACTION: 0,200,13

This indicates that we received an HTTP response status of 200 and 13 response bytes. Let’s read them starting at index 0. Issue AT+HTTPREAD=0,12. This will yield:

+HTTPREAD: 13
3.84.68.183

OK

To terminate the HTTP service, issue AT+HTTPTERM.

Now close the socket with AT+NETCLOSE.

This uses a service that returns the IP address of the requester.

Known issues

None at this time.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Community Forums or browsing the Twilio tag on Stack Overflow.

Thank you for your feedback!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more