Sony Pixel Power calrec Sony

Incoming and Outgoing Data Socket Connection using a Siretta Modem

27/03/2025

Applicable Products Part number Description

ZETA-GEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO and GNSS

ZETA-G-GPRS Entry Level GPRS Modem with GNSS (GL)

ZETA-N2-GPRS Entry Level GPRS Modem (GL)

ZETA-NEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO

ZETA-NEP-LTEM (GL) Low Power Global LTE Cat M Modem with GPIO

ZETA-NLP-LTE1 (EU) Ultra Low Power European LTE Cat 1 Modem

ZETA-NLP-LTEM (GL) Ultra Low Power Global LTE Cat M Modem

ZETA-N-LTE (EU) High Performance LTE Cat 4 Modem with GPIO

ZETA-NSP-LTE1 (EU) Low Power European LTE Cat 1 Modem

Objective To connect embedded systems together using the internet requires the use of data sockets to send information from one location to another. This process has been around for a long time and there are methods available to communicate with servers and devices using sockets to establish a bi-directional communication link between two endpoints.

In general, there is a listening device and a dialling device. Servers are generally setup as listening devices and remote modems as dialling devices, but this is not always the case and there are many examples which differ from this generalisation.

There are certain requirements with both the listening devices and dialling devices which must be taken into consideration when setting up a communication link between two endpoints. This application note will discuss these points in more detail.

Solution Listening Device Requirements The listening device must be accessible on the network and be able to accept incoming data socket requests from remote devices. This usually means having a firewall with a few specific open ports to allow incoming requests to be accepted through the accessible ports. Devices on the internet which have open ports are immediately susceptible to attack from hackers, spammers, viruses and bots which exploit specific vulnerabilities in the listening device's operating system. As a result, many security measures have been developed to prevent unauthorised access, but care must be taken to ensure that these measures are effectively managed.

For a device listening on the internet, it would usually have a fixed IP address which does not change over time. This IP address can then be used by any remote device to communicate with the listening device in a comparable way to a phone number is used on a telephone.

This fixed IP address would be publicly available and any device legitimate or otherwise would be able to communicate with it. On a HTTP webserver, the server would have a fixed IP address and would be listening for incoming data traffic on port 80. Mapped to this IP address would be a domain name such as www.example.com'. When the user types in www.example.com' to their web browser, the web browser looks up the IP address using DNS and it returns the IP address of the server. The web browser then contacts the server's IP address directly on port 80 and the https webserver responds with the web page.

The exact same process can be applied to data socket connections using mobile devices.

The mobile device uses a fixed IP address SIM card.

The mobile device is setup to listen on a specific port i.e. 1024.

The mobile device opens its firewall to specific devices.

The mobile device waits for an incoming data socket connection.

The dialling device attempts to open a socket on the IP address of the fixed IP address SIM card on the listening port i.e. 1024

Dialling Device Requirements The dialling device can use any standard SIM card and does not require a specific setup or fixed IP address SIM card. As the dialling device is dialling out to the server it is not listening for incoming data connections and therefore does not need to be as concerned about security as the listening device.

Demonstration of Solution Resources:

PC with an installed Terminal Emulator' program: A Windows 10 laptop installed with Tera Term was used for the purpose of this guide.

Siretta Part Number: 61057 -ZETA-GEP-LTE4 (EU) Starter Kit (any ZETA starter Kit is suitable for this application)

Insert SIM card to the modem

Power on the modem

Connect the supplied serial port cable to the PC

Connect the antenna

As described in the Starter Kit Quick Start Guide

Open Hyperterminal on the PC (or your preferred terminal emulator: PuTTY, TeraTerm).

Select new connection. Name the new connection for reference in the future.

Name your port.

Choose the correct COM port. From the drop-down list, select the correct COM port your modem is connected to.

Configure the port with the following settings (These settings are standard for all of the ZETA Siretta modems):

Bits per second: 115200

Data bits: 8

Parity: None

Stop bits: 1

Flow control: Hardware

Note: The above procedure is set out in Initial Modem Set Up application note

GPRS Connection COM3 - Tera Term VT

File Edit Setup Control Window Help

//Set extended error messages

AT CMEE=2

//Set GPRS APN Name

AT CGDCONT=1, IP , APN Name

Outgoing Connection COM3 - Tera Term VT

File Edit Setup Control Window Help

//Set packet size and timeouts on context 1-6

AT#SCFG=1,1,300,90,600,50

//Open GPRS context 1-6 with GPRS Username and GPRS Password. (This will return your ISP assigned IP address)

AT#SGACT=1,1, username , password

//Open Socket on Port Number at IP Address

AT#SD=1,0, Port Number, IP Address ,255,0

// Close GPRS context 1-6

AT#SGACT=1,0

AT CGDCONT=1, IP , APN Name

AT#SGACT=1,1, username , password

AT#SD=1,0,1024, 080.080.080.081 ,255,0

Incoming Connection COM3 - Tera Term VT

File Edit Setup Control Window Help

//Open GPRS context 1-6 with GPRS Username and GPRS Password

AT#SGACT=1,1, username , password

//Setup Firewall

AT#FRWL=1, IP Address , Subnet Mask
LINK: https://www.siretta.com/2025/03/incoming-and-outgoing-data-socket-conn...
See more stories from sequoia

More from Sequoia

27/03/2025

Initial Modem Setup Guide

Applicable Products Part number Description ZETA-GEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO and GNSS ZETA-G-GPRS Entry Level GPRS Modem...

27/03/2025

Incoming and Outgoing Data Socket Connection using a Siretta Modem

Applicable Products Part number Description ZETA-GEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO and GNSS ZETA-G-GPRS Entry Level GPRS Modem...

27/03/2025

How to Replace CSD using SirettaLINK

Applicable Products Part number Description SL500-LTE1 (EU) SL500-LTE1 (EU) Low Power LTE Cat 1 Serial Gateway SL500-LTEM (GL) SL500-LTEM (GL) Low Powe...

27/03/2025

Request Time from the Network using GPRS

Applicable Products Part number Description ZETA-GEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO and GNSS ZETA-G-GPRS Entry Level GPRS Modem...

27/03/2025

Circuit Switched vs Packet-Switched Networks

Circuit switched networks physically connect two endpoints using a communication channel through the network. This utilises a fixed bandwidth for the session wh...

27/03/2025

Modem Troubleshooting

Applicable Products Part number Description ZETA-GEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO and GNSS ZETA-G-GPRS Entry Level GPRS Modem...

27/03/2025

Standard Modem COM Port Settings

Applicable Products Part number Description ZETA-GEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO and GNSS ZETA-G-GPRS Entry Level GPRS Modem...

27/03/2025

Dial-up Networking using a Siretta Industrial Modem

Applicable Products Part number Description ZETA-GEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO and GNSS ZETA-G-GPRS Entry Level GPRS Modem...

27/03/2025

GPS Latitude Longitude Conversion Guide for Google Maps

Applicable Products Part number Description ZETA-GEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO and GNSS ZETA-G-GPRS Entry Level GPRS Modem...

27/03/2025

Ultra Low Power Operation with a Siretta NLP Modem

Applicable Products Part number Description ZETA-NLP-LTE1 (EU) Ultra Low Power European LTE Cat 1 Modem ZETA-NLP-LTEM (GL) Ultra Low Power Global LTE C...

16/10/2024

Setting Dynamic DNS (DDNS) On A Siretta Router

Applicable Products Part number Description QUARTZ-22-LTE (EU) Dual Port Dual SIM LTE Router (EU) QUARTZ-22-UMTS (EU) Dual Port Dual SIM UMTS Rout...

14/11/2023

We are proud to announce our highly successful SNYPER-5G Graphyte and IoT variants.

With a Siretta SNYPER, you can quickly and easily measure cellular signal streng...

14/11/2023

Siretta Partners with Siemens for Metering Solutions

We are proud to announce a strategic collaboration that promises to elevate the standards of connectivity and innovation in the world of our Industrial Cellular...

14/03/2023

Siretta's 5G Router range is expanding

The Siretta 5G Router range is expanding, but what can the NEW Router offer your business? Let Siretta introduce to you the NEW QUARTZ-GOLD-5G Model. The QUAR...

14/03/2023

Did someone say a NEW SNYPER is coming to the market?

Siretta's SNYPER family of Cellular Network Analysers is always growing. As well as coverage within the EU and USA we are now expanding into the Asia Pacifi...

26/01/2023

NEW Oscar Antenna coming soon

Siretta have another high performance antenna coming to the Oscar range. Let us introduce the OSCAR 67. The OSCAR 67 is a highly efficient directional antenna,...

09/11/2022

NEW! Siretta's first 5G Router has landed!

It is here, Siretta's first 5G Router QUARTZ-ONYX. The QUARTZ-ONYX router is a high-speed quad port gigabit ethernet industrial router designed for transfe...

09/09/2022

NEW Product Coming Soon.

The Smallest Connector In The World is coming to Siretta. Let us introduce the MHF4 Pigtail. This is the smallest connector in the world with a diameter of 0.81...

09/02/2022

Wireless Day Event 2022

Wireless Day 2022 WIRELESS TECHNOLOGIES Approach them from a new angle. Siretta will be joining EBDS at their Wireless Day on 22nd March 2022. Wireless Day ...

26/01/2022

The Security Event 2022

THE UK'S NO.1 COMMERCIAL, ENTERPRISE & RESIDENTIAL SECURITY EVENT! The Security Event returns to the Birmingham NEC over 5 7 April 2022 and we are excited...

22/12/2021

Welcome Mouser Electronics!

Siretta's sales channel is pleased to announce the appointment of Mouser Electronics as our latest global distributor. The addition of Mouser Electronics, ...

08/12/2021

The newest member!

With any instrument, the value is in its ease of use and the benefits it delivers. In the cellular network world, the demand for measurement of network signals...

26/10/2021

Introducing the NEW QUARTZ-GOLD

The Siretta industrial router solutions are a family of intelligent managed routers which have been designed to connect remote devices over Ethernet LAN to the ...

30/09/2021

Introducing SirettaLINK

Connect-Configure-Communicate industrial cellular solution! Siretta's new, innovative cloud-based portal, SirettaLINK, provides the means to configure, ...

23/09/2021

How to set VoLTE (Voice over LTE) in a Siretta Modem

Introduction VoLTE uses 4G (LTE) technology to transfer voice audio from one point to another using digital packets as opposed to 3G (UMTS) and 2G (GSM) netwo...

15/06/2020

Antenna IP Ratings In Practice

There are many references to IP ratings and their meaning, on the web and within test procedures in standards documents around the globe. This short document is...

28/05/2020

Considerations when choosing industrial or consumer grade modems and routers?

In this article we will examine and evaluate the differences between the main types of product design and construct required to satisfy the various operational,...

17/02/2020

Ultra-Low Power Modems for Industrial IoT (IIoT)

Today's cellular network has to satisfy both consumer and industrial demands. In contrast, the consumer market demands the high bandwidth necessary for data...

13/11/2019

NEW CloudSURVEY Mapping Portal

Siretta is proud to announce that we have launched our new SNYPER Mapping Portal called CloudSURVEY. The CloudSURVEY portal allows you to export and save all o...

18/07/2019

Siretta products now available from Rapid Electronics

Siretta's sales channel steps up a gear with the appointment of Rapid Electronics as our latest distributor. Siretta are pleased to announce the addition o...

04/07/2019

Siretta products now available from La Tecnika Due

Siretta's sales channel strengthens further with the appointment of La Tecnika Due as its key distributor partner located in Italy. Siretta's thirst to...

04/07/2019

Gateway Electronics signed as key distribution partner!

Siretta's sales channel strengthens further with the appointment of Gateway Electronics. Siretta's continuing focus on appointing high quality, well re...

04/07/2019

Siretta sign agreement with Celphone Schweiz GmBH

Siretta's world class distribution network continues to grow with the addition of Celphone Schweiz GmbH in Switzerland. Celphone are well established in th...

04/07/2019

Handheld determines best network operator for IoT and M2M

UK test gear company Siretta has improved its phone-sized portable cellular reception quality analyser and antenna tester, adding data logging and removing the ...

04/07/2019

Cellular Signal Strength Surveys using SNYPER for M2M & IoT links

Low cost cellular surveying equipment is becoming more important. As IoT and other data applications using cellular connectivity need to determine the signal st...

04/07/2019

Cellular analyser automates signal strength measurement for M2M/IoT

UK test equipment maker Siretta has launched a cellular analyser that can help boost the reliability of machine to machine (M2M) networks in the Internet of Thi...

04/07/2019

Improve reliability of IoT systems with accurate cellular signal strength surveys

Siretta, a leading British designer and manufacturer of wireless connectivity an...

04/07/2019

Improved reliability of M2M and IoT systems

British designer and manufacturer of wireless connectivity and test products, Siretta, has announced the SNYPER-LTE Graphyte cellular analyser. The latest membe...

04/07/2019

Siretta Your Gateway to the LPWA Revolution

Short of integrating Telit modules into their own custom-made IoT hardware designs, many organizations look to benefit from the robust, future-proof and interna...

04/07/2019

There's a plethora of IoT devices on the market from all over the world

With a plethora of IoT devices on the market from all over the world it's no wonder that some lack credible connection reliability. Cost reduction exercises...

07/05/2018

qq

qqqqqqq...

16/06/2017

Telit drop in replacement for Cinterion TC35i, MC35i, MC39 and MC39i

Telit drop in replacement for Cinterion TC35i, MC35i, MC39 and MC39iTelit Wireless modules have created a module that is mechanically compatible and form factor...

16/06/2017

Jennic launch 3rd generation Zigbee PRO Wireless Microcontroller and Module

Jennic launch 3rd generation Zigbee PRO Wireless Microcontroller and Module Reading, UK 20th May 2009: Sequoia Technology, the technology solutions provider sp...

16/06/2017

Telegesis ZigBee module with integrated ARM Cortex M-3 is a first

Telegesis ZigBee module with integrated ARM Cortex M-3 is a firstThe ETRX3 series is the 3rd generation of advanced ZigBee modules from Telegesis and the first ...

16/06/2017

3D video support added to the Quantum Data 780

3D video support added to the Quantum Data 780Sequoia Technology today announced support for HDMI 1.4a 3D testing on the 780 Handheld Test Instrument for HDMI. ...

16/06/2017

New Range of GPRS and 3G Wireless Terminals, SQ864 GPRS and SQ864-3G

New Range of GPRS and 3G Wireless Terminals, SQ864 GPRS and SQ864-3GSequoia Technology is pleased to announce the launch of a range of GPRS and 3G wireless term...

16/06/2017

Siretta Release Family of High Gain Antennas for Enhanced M2M Connectivity

Siretta Release Family of High Gain Antennas for Enhanced M2M ConnectivitySiretta Antennas - the Berkshire, U.K based M2M antenna specialist today announced the...

16/06/2017

Siretta release GSM/GPRS/3G PIFA antenna for embedded M2M applications

Siretta release GSM/GPRS/3G PIFA antenna for embedded M2M applications Siretta Antennas - the Berkshire, U.K based M2M antenna specialist today announced the r...

16/06/2017

The Latest Products News - Telit GE865-QUAD and GL-865-Dual Wireless Modules

The Latest Products News - Telit GE865-QUAD and GL-865-Dual Wireless ModulesSequoia are pleased to announce the latest product family from Telit GE/L-865, the s...

16/06/2017

Low Cost Precision 24 Bit A/D converters

Low Cost Precision 24 Bit A/D convertersLow Cost Low Power 24-Bit Analog To Digital Converters Sequoia Technology Group has launched a family of cost effective ...