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

RT4-5GL/4: two SIM cards, a backup server and e-mail — setting up a redundant link

The main difference of the RT4-5GL/4 is its two SIM cards: if the main one stops working, the transmitter switches to the backup card by itself. How this works, what the SIM1 and SIM2 indicators show, and which commands set up both cards, the backup server and sending to e-mail.

Three levels of backup

What is backed upHow
SIM cardThe first card is the main one, the second the backup. If the first fails, the transmitter switches to the second and periodically checks whether the first works again
ServerTwo IP addresses: main and backup. If the link to the first is lost, the transmitter connects to the second and periodically tries to return to the main one
ChannelIf the first IP address is not set, the transmitter works in SMS mode

How the two SIM cards work

  1. Insert two activated Micro SIM cards. If the PIN request is on, the PIN must be 0000. To work with one card, inserting the first is enough.
  2. At power-up the transmitter checks which cards are fitted. A missing card is not checked any further and its indicator stays off.
  3. If both are fitted, the transmitter works with the first. The SIM1 indicator shows the connection and signal level; the SIM2 indicator blinks green once every 10 seconds.
  4. If the first card fails, the transmitter switches to the second. SIM1 now blinks red once every 10 seconds and SIM2 shows the connection and signal.
  5. Together with the periodic test (once a day by default) the transmitter checks both cards and returns to the first when it can.

⚠ For correct work with two cards, enable the SIM2 check enable parameter in USB_Reader, on the Advanced settings tab. It is off by default.

SIM1 and SIM2 indicators

IndicatorMeaning
OffNo SIM card fitted
On, blinking every 2–3 secondsData mode; the colour is the signal level: green high, yellow medium, red low
Only blinking every 2–3 secondsSMS mode; the colour is the signal level
Blinking red once a secondModem not initialised — check the SIM card
Blinking red once every 10 secondsSIM card faulty
Blinking green once every 10 secondsSIM card is working but not in use

A POWER/MODE indicator that blinks red continuously means the transmitter is locked to other SIM cards.

Setup commands

All parameters are set in USB_Reader or by SMS commands from the first user’s phone.

CommandWhat it sets
99.A<APN>APN of the first SIM card
99.AA<APN>APN of the second SIM card
99.Y1<login>, 99.Y2<password>Operator login and password for the first card, up to 8 characters
99.YY1<login>, 99.YY2<password>Operator login and password for the second card, up to 8 characters
99.I<IP>, 99.P<port>Main server IP address and TCP port
99.II<IP>, 99.PP<port>Backup server IP address and TCP port
99.DD<name>, 99.DI<IP>Domain name and DNS server address, if used
99.M<min>Time between attempts to restore the server connection; 3 minutes by default
99.R<min>Time between attempts to return to the main IP address; 60 minutes by default
99.WxxxxOnline identifier: digits only, up to 15 characters

Saving the battery: leaving data mode

CommandWhen the transmitter leaves GPRS mode
99.F0It does not leave until it receives command 86. with the security code
99.F1If the battery voltage is below normal
99.F2If the 220 V mains is lost
99.F3If the battery voltage is below normal or the 220 V mains is lost

Sending messages to e-mail

Link messages

CodeSMS textMeaning
E854001GPRS 1 errorData connection error on SIM1
E854003GPRS 2 errorData connection error on SIM2
E854002Online 1 errorError connecting to the server at the first IP address
E854004Online 2 errorError connecting to the server at the second IP address
E855001 / R855001SIM 1 error / SIM 1 OKFirst SIM card fault / restore
E855002 / R855002SIM 2 error / SIM 2 OKSecond SIM card fault / restore
E804000Check bat or powerForced exit from data mode

On a GPRS error check the APN and that the operator provides the service; on an Online error check the server IP address and TCP port.

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