Sierra Wireless HL7810/HL7812 Satellite NTN Network
This guide covers AT commands for the Sierra Wireless HL7810 and HL7812 modules for use with Skylo NTN Network. The HL7812 additionally supports 2G fallback for enhanced connectivity options.
Set up Sierra Wireless HL7810 and HL7812
Quick Navigation
Set up the EVK Kit
Connect the USB Cable to the EVK kit as shown on the photo above
Connect the LTE antenna as shown on the photo above
Connect the GPS antenna as shown on the photo above
Insert the Monogoto SIM
Connect your PC to the EVK Kit
Use the USB to connect your computer to the AT CMD port of the EVK Kit
Connect to the EVK kit using a terminal program. You can use PuTTY for Windows, or Screen, minicom, or Miniterm for Mac or Linux.
Set the baud rate to 115200 Enter AT
, if the connection with the HL7810 and HL7812 modem has been established, the board will answer with OK
.
Connect the HL7810 and HL7812 to Skylo
Reset the modem to its default configuration:
Restore factory settings:
AT+NVBU=1
Example response:
OK
..
+NVBU_IND: 1,0,0,0,"00/00/00,00:00:00-0","HL78xx.5.4.12.1.RK_03_02_00_00_24271_001.20221102"
Reboot the Module:
AT+CFUN=1,1
Check the status of the SIM card. The correct response should be: +CPIN: READY
AT+CPIN?
+CPIN: READY means that the SIM is ready for use and does not require any PIN entry.
Executing Commands by Version
Execute various commands based on the software version you are using. Make sure to execute the commands that correspond to your version.
Query device information
Request the product type, hardware, and firmware version:
AT+CGMR
Example response:
HL7812.5.7.3.0
Request the IMSI (International Mobile Subscriber Identity):
AT+CIMI
Request the ICCID (Integrated Circuit Card ID), which is the identification number of the iSIM
AT%CCID
Set the error reporting to verbose, resulting in more descriptive error messages (optional):
AT+CMEE=1
Set the NTN Parameter (enter the commands)
airplane mode the radio
AT+CFUN=4
Enable iGNSS
AT+GNSSSTART=0
it is crucial to wait until a valid GPS location is acquired before continuing operations. This ensures that the device is properly connected to the satellite network and can function accurately within its coverage. example response
OK
+GNSSEV: 0,1
+GNSSEV: 1,1
+GNSSEV: 3,0
+GNSSEV: 3,3
Status iGNSS
AT+GNSSLOC?
Stop iGNSS
AT+GNSSSTOP
Set the APN to data.mono
:
AT+CGDCONT=1,"IP","data.mono"
Define the NB-IoT NTN
AT+KSRAT=3
Lock the modem to a specific region/band
--Multi bands 23,255,256--
AT+KBNDCFG=3,C000000000000000000000000000000000000000000000000000000000400000
Band 23 = AT+KBNDCFG=3,0000000000000000000000000000000000000000000000000000000000400000
Band 255 = AT+KBNDCFG=3,4000000000000000000000000000000000000000000000000000000000000000
Band 256 = AT+KBNDCFG=3,8000000000000000000000000000000000000000000000000000000000000000
Lock the modem to a GNSS mode to Internal GNSS Mode
AT%NTNCFG="POS","IGNSS","0"
Reboot the Module:
AT+CFUN=1,1
Disable the radio
AT+CFUN=0
Report notification about Timing Advance calculation:
Send registration status
AT+CEREG=2
AT+KSREP=1
AT%NOTIFYEV="all",1
Enable radio
AT+CFUN=1
CEREG State Change Report Codes
The table below provides an overview of the possible values for CEREG state change reports, indicating the module's network registration status.
0
Not registered, and the module is not searching for a network.
1
Registered to the home network.
2
Not registered, but the module is attempting to attach or searching for a network.
3
Registration denied by the network.
4
Unknown (for example, out of coverage)
5
Registered and roaming.
Query the signal measurement
request a specific network measurement, such as signal strength, noise levels, or other metrics:
AT%MEAS="8"
Example response: %MEAS:Signal Quality:RSRP= -115,RSRQ= -15,SINR= -3,RSSI= -120.
Test the connection by sending UDP payload
When using Non-Terrestrial Networks, data can only be sent using UDP.
In order to send data using UDP, 4 AT Commands needs to be sent:
Create UDP socket
Activate socket
Send UDP data
Close UDP Socket
1. Create UDP socket
AT%SOCKETCMD="ALLOCATE",1,"UDP","OPEN","<ip address>",<port>
AT%SOCKETCMD="ALLOCATE",1,"UDP","OPEN","18.199.15.247",1055
Example response: %SOCKETCMD:1
2. Activate Socket
AT%SOCKETCMD="ACTIVATE",1
Example response: %SOCKETCMD:1
3. Send UDP data
AT%SOCKETDATA="SEND",1,<length>,"<data>"
AT%SOCKETDATA="SEND",1,13,"48656C6C6F2C20776F726C6421"
Example response: %SOCKETDATA:1,13
Make sure to exactly count the number of characters you send, or you will receive an error.
Request info UDP Socket
AT%SOCKETCMD="INFO",1
Example response: %SOCKETCMD:"ACTIVATED","UDP","10.22.243.30","18.199.15.247",12345,7
4. Close UDP socket
End your UDP session by closing the UDP socket.
AT%SOCKETCMD="DELETE",1
Expected response: OK
Transition Between Satellite Network and Public Network
When transitioning between satellite and public networks using the Sierra Wireless Kit use the following commands:
Command for Switching to Public Network:
AT+KSRAT=0
This command activates the CAT-M mode for public networks, allowing the device to switch from satellite connectivity to a cellular public network.
Command for Switching Back to Satellite Network
AT+KSRAT=3
This command activates the NBNTN mode, returning the device to satellite network connectivity.
Great work on connecting the Sierra Wireless HL7810/HL7812 to Monogoto! Have a look at the Things logs in the Monogoto Console to find more details about the established connection.
Useful Links
Last updated
Was this helpful?