Please refer to the main Knowlegdebase page for modem-independent configuration tips.
Super SIM does not support NB-IoT.
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.
AT+CSTT="super","",""
.AT+CIICR
.AT+CIFSR
.AT+CIPSTATUS
.To shut down the connection when you are done, issue AT+CIPSHUT
.
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:
1+CIPPING: 1,"8.8.8.8",111,532+CIPPING: 2,"8.8.8.8",165,533+CIPPING: 3,"8.8.8.8",159,534+CIPPING: 4,"8.8.8.8",154,535OK
To perform an HTTP GET
using the built-in HTTP client:
AT+SAPBR=3,1,"APN","super"
.AT+SAPBR=2,1
.
+SAPBR: 1,3,"0.0.0.0"
. The 3
indicates the connection is closed.AT+SAPBR=1,1
.AT+HTTPINIT
.AT+HTTPPARA="URL","http://ifconfig.co/ip"
.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:
1+HTTPREAD: 1323.23.456.78934OK
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.
The SIM7000 supports the eDRX and PSM low-power modes. The commands to enable each of these are:
1AT+CEDRXS=12AT+CPSMS=1
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 locally. To disable all power saving, send:
1AT+CEDRXS=02AT+CPSMS=0
You can learn more about implementing these modes in our low-power usage documentation.
None at this time.
Super SIM does not support NB-IoT.
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.
Set the modem's Radio Access Technology (RAT) preference to Cat-M1 when you are connecting to LTE. To do so, issue AT+CMNB=1
.
After power on, the modem takes approximately 26 seconds to bring up the UART for AT communications.
To set the 7080 to force data-centric attachment, issue AT+CSDP=1
.
The numeric parameter is the mode:
0
— Circuit Switched (CS) only.1
— Packet Switched (PS) only2
— CS and PSThis setting is non-volatile.
AT+CNACT=0,1
.
0
parameter is the PDP context; four (0-3) are available.ACTIVE
.AT+CNACT?
.AT+CNACT=0,0
.To perform a ping to a remote host after bringing up a connection as described above, issue AT+SNPDPID=0
to choose the connected PDP context and then AT+SNPING4="8.8.8.8"
.
To perform an HTTP GET
using the built-in HTTP client:
Activate the data connection as above.
Configure a session to the server with AT+SHCONF="URL","example.com"
.
Connect to the server with AT+SHCONN
.
Optionally, check the connection state with AT+SHSTATE?
.
To add headers to the request, set the module's internal header record. Issue AT+SHCONF="HEADERLEN",350
to set the internal header record's maximum size. Call AT+SHCHEAD
to clear any existing header and the add header entries with AT+SHAHEAD
:
1AT+SHAHEAD="Content-Type","application/x-www-form-urlencoded"2AT+SHAHEAD="Cache-control","no-cache"3AT+SHAHEAD="Connection","keep-alive"
The same approach is taken for the request URL parameters, if there is one. Issue AT+SHCONF="BODYLEN",1024
to set the internal body record's maximum size. Call AT+SHCPARA
to clear the internal parameter record and then AT+SHPARA="data","<your_request_parameters>"
to set the new parameter data.
Issue the request with AT+SHREQ="<path_to_resource>",1
.
1
parameter indicates a GET
request. Others are:
PUT
)POST
)PATCH
)HEAD
)The URC will contain SHREQ: "GET",xxx,yyy
where xxx
is the HTTP status code and yyy
the number of bytes received. For example:
SHREQ: "GET",200,83
Issue AT+SHREAD=0,yyy
to get yyy
bytes from index 0
sent over. For example:
1AT+SHREAD=0,832OK34+SHREAD: 835{6"userId": 1,7"id": 1,8"title": "delectus aut autem",9"completed": false10}
Call AT+SHDISC
to disconnect from the server.
Optionally, close the data connection
The steps above assume you are sending an HTTP request. To use HTTPS, you will need to apply additional settings. For testing only, we use:
1AT+CSSLCFG="sslversion",1,32AT+SHSSL=1,"<cert_name>"
This selects SSL configuration index 1, and then SSL version 1.2. The next line applies a certificate name to SSL configuration index 1, but you can pass an empty string to bypass certificate verification for testing only.
A full discussion of HTTPS configuration on this module is beyond the scope of this document. For more information, please see Simcom's HTTPS Application Note.
The SIM7080 supports the eDRX and PSM low-power modes. The commands to enable each of these are:
1AT+CEDRXS=12AT+CPSMS=1
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 locally. To disable all power saving, send:
1AT+CEDRXS=02AT+CPSMS=0
You can learn more about implementing these modes in our low-power usage documentation.
None at this time.
To configure the APN, use AT+CGDCONT=1,"IP","super"
.
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:
1OK2+CPING: 1,8.8.8.8,64,70,2553+CPING: 3,1,1,0,70,70,70
To perform an HTTP GET
using the built-in HTTP client:
AT+CIPMODE=1
.AT+NETOPEN
.AT+HTTPINIT
.AT+CGPADDR
.
+CGPADDR: 1,100.66.159.130
.AT+HTTPPARA="URL","http://ifconfig.co/ip"
.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:
1+HTTPREAD: 1323.84.68.18334OK
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.
None at this time.