+371 26485222 · +371 67 505 603 | info@cortex.lv | Installer portal
Guides for installers

Setting up the RT4-5GP/4 server connection: APN, IP address, backup server and errors

For alarms from the RT4-5GP/4 to reach the monitoring centre and the Defendex app, the transmitter must work in OnLine mode — over 4G/2G via the internet. How to set the APN, server address and backup server, including by SMS, and what the GPRS error and OnLine error messages mean.

How the transmitter keeps the link

What to set

SettingSMS commandWhat it is
APN99.A followed by the access point nameOperator access point for data
Main server99.I followed by the IP addressReceiving server address
Main server port99.P followed by the portReceiving server TCP port
Backup server99.II followed by the IP addressWhere to connect if the main server is unavailable
Backup server port99.PP followed by the portBackup server TCP port
Domain name99.DD followed by the nameInstead of the main server IP; a DNS server is set with it
DNS server99.DI followed by the IP addressNeeded when a domain name is used
Online ID99.W followed by the IDUp to 15 characters; the SIM number without country code is convenient

All settings can also be made in USB_Reader when programming the transmitter. The duplicate server cannot be set by SMS — only with USB_Reader or TLF_Serv. The transmitter confirms each command with “Module config. changed”.

Setting up by SMS, step by step

  1. Register the master phone: 91. followed by its number (for example, 91.+37122334455). All commands below are sent from this phone.
  2. Set the APN: 99.A followed by your operator’s access point name.
  3. Set the server: 99.I followed by the IP address, then 99.P followed by the port. If the server is given as a domain name — 99.DD followed by the name, and 99.DI followed by the DNS server IP address.
  4. If needed, set the backup server: 99.II followed by the IP address, 99.PP followed by the port.
  5. If the operator requires a login and password for data: 99.Y1 followed by the login, 99.Y2 followed by the password (up to 8 characters each).
  6. Send 87.1234 — the command to connect to the server (1234 is the default security code).

To switch from a domain name back to an IP address, simply clear the DNS server with 99.DI without an address. The operator login and password are cleared with 99.Y1 and 99.Y2 without a value.

Reconnection intervals

CommandWhat it sets
99.M followed by minutesTime between attempts to restore the server link (up to 255)
99.R followed by minutesTime between attempts to return from the backup to the main server
99.O followed by secondsHow often the transmitter polls the server (15 to 255 seconds)
99.T followed by a numberTest message period in tens of minutes (up to 255)

Errors and what to do

MessageCodeWhat to check
GPRS errorE854001Could not connect to the data service: the APN and whether the service is enabled by the operator
OnLine 1 errorE854002No link to the main server: IP address, port, router and firewall settings on the server side
OnLine 2 errorE854004The same for the backup server
OnLine 3 errorE854005The same for the duplicate server
Check bat or powerE804000Battery low: the transmitter left OnLine mode to save power

Leaving OnLine mode on a low battery is on by default and can be turned off in USB_Reader. Below 8 V the transmitter stops sending messages altogether to avoid losing data and resumes at 11.5 V.

Checking

Documentation

Learn more

This guide is based on the CORTEX manual. If you have questions, call technical support: +371 26485444 (24/7).

Products

More guides

← All guides