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

Europe Stories

04/09/2025

Monumental Sports & Entertainment and Dalet Win Prestigious 2025 NAB Show Project of the Year Award

Monumental Sports & Entertainment (MSE), in collaboration with Dalet, has been a...

08/05/2025

Expected weak market dynamics weigh on business development in the first three months 2025

As expected, continued weak demand from key sales markets and declining economic...

08/05/2025

BBC announces Agatha Christie's Endless Night, adapted by Sarah Phelps

A new three-part series is coming to BBC iPlayer and BBC One (Image: The Christie Archive Trust) The BBC has announced Agatha Christie's Endless Night, a...

08/05/2025

VEON Shareholders Re-elect Board at 2025 AGM, Founder Augie Fabela to Serve as Chairman

08 May 2025 VEON Shareholders Re-elect Board at 2025 AGM, Founder Augie Fabela ...

08/05/2025

Will Mellor & Ralf Little return to U&Dave for more Will & Ralf Should Know Better

Comedy and entertainment channel U&Dave bring back their #1 ranked programme of ...

08/05/2025

TenneT Relies on Arvato Systems for Market Communications

TenneT relies on Arvato Systems for market communication Energy industry: Impressive market communication know-how and system integration expertise G tersloh...

08/05/2025

2025-05-08

When Taiki Hamamoto, 22, came across a Hanafuda deck at his local game shop, he was intrigued. He had grown up playing the traditional Japanese card game with f...

08/05/2025

Joe Duffy hangs up his mic on Liveline as he confirms Retirement from RT after 37 Years

The Liveline is now open , said Joe Duffy earlier today, as he previewed this af...

08/05/2025

RT reveals first look at comedy drama The Walsh Sisters, based on novels of Marian Keyes

RT , in association with the BBC, Screen Ireland and Cineflix Rights has reveale...

07/05/2025

Experience a New Dimension of Music Discovery With More Controls and Enhanced Tools

Discovering music should feel effortless and fun. That's why Spotify continu...

07/05/2025

FOX Doubles Down on the Laughs Renewing Comedies Animal Control, Starring Joel McHale, and Going Dutch, Starring Denis Leary

FOX Doubles Down on the Laughs Renewing Comedies Animal Control, Starring Joel M...

07/05/2025

VEON's QazCode Signs MoU with Seekr to Develop AI-Powered Solutions to Drive Digital Growth

07 May 2025 VEON's QazCode Signs MoU with Seekr to Develop AI-Powered Solut...

07/05/2025

U&GOLD commissions feature-length documentary celebrating the life of Victoria Wood

UKTV has ordered a feature length documentary celebrating the life of Britain...

07/05/2025

Shaun the Sheep: The Beast of Mossy Bottom to join Sky Original film slate in 2026

Wednesday 7 May 2025 Shaun the Sheep fans are in for a baaaarilliant treat in 2...

07/05/2025

Rohde & Schwarz to highlight innovative broadcast technologies at CABSAT 2025

Rohde & Schwarz to highlight innovative broadcast technologies at CABSAT 2025 Rohde & Schwarz will showcase its latest energy-efficient transmitters and 5G Br...

07/05/2025

MPTS. London. May 14-15, 2025

The Importance of Workflow Efficiencies in Post-Production Wednesday, 14 May 14:40 FilmLight sits down with Sam Lempp, head of business development for Nara, ...

07/05/2025

RT Announces Fergal O'Brien as new Business Correspondent

RT News is pleased to announce the appointment of RT journalist, Fergal O'Brien, as its new Business Correspondent. In his new role, Fergal will be repor...

06/05/2025

Spotify Amplifies Colombia's Booming Local Music Scene With Sbele a Eso' Initiative

In Colombia, music isn't just background noise-it's center stage. It'...

06/05/2025

La nueva apuesta de Spotify para destacar la msica local en Colombia: Sbele a Eso'

En Colombia, la m sica no suena de fondo: es el centro del escenario. Es el cora...

06/05/2025

Spotify Introduces Plays, a New Way To See What Content Is Resonating With Podcast Fans

At Spotify, we always seek ways to connect users with their next favorite podcas...

06/05/2025

In Mumbai, Our Public Affairs Chief, Dustee Jenkins, Spotlights the Role of Spotify in the Growth of India's Music Industry

Since Spotify's 2019 launch in India, the growth of the country's local ...

06/05/2025

Basilica of Our Lady of Aparecida Enhances Intercom Infrastructure with Clear-Com and...

eds3_5_jq(document).ready(function($) { $(#eds_sliderM519).chameleonSlider_2_1({...

06/05/2025

Comscore Reports First Quarter 2025 Results

Comscore Reports First Quarter 2025 ResultsRESTON, Va., May 6, 2025 Comscore, Inc. (Nasdaq: SCOR), a trusted partner for planning, transacting and evaluating ...

06/05/2025

KLA to perform live on RT Radio 1's Arena with exclusive preview of new album, Raise the Road

Live from Studio 1 at 7pm, Tuesday May 6 Iconic trad-fusion group K LA will be ...

06/05/2025

Rohde & Schwarz hosts RF Testing Innovations Forum 2025, helping design engineers elevate their RF expertise

Rohde & Schwarz hosts RF Testing Innovations Forum 2025, helping design engineer...

06/05/2025

IBM Accelerates Enterprise Gen AI Revolution with Hybrid Capabilities

LONDON, UK, May 6, 2025 /PRNewswire/ -- Today at the company s annual THINK event, IBM (NYSE: IBM) is unveiling new hybrid technologies that break down the long...

06/05/2025

2025-03-18

Apple today introduced Tap to Pay on iPhone in Bulgaria, Finland, Hungary, Liechtenstein, Poland, Portugal, Slovakia, Slovenia, and Switzerland, enabling millio...

06/05/2025

2025-05-06

Ahead of Pride Month, Apple is introducing a new Apple Watch Pride Edition Sport Band, watch face, and iPhone and iPad wallpaper to celebrate the strength and b...

06/05/2025

Tracks & Trails returns for a fresh new season

First episode airs this Friday at 8pm on RT One and RT Player with Doireann N Ghlac in presenting Guests include Barry Murphy, Brooke Scullion, Bryan Dobso...

05/05/2025

Loreen, Nemo, and More Reimagine Eurovision Anthems for Spotify Singles

As Europe gears up for the Eurovision Song Contest 2025, Spotify is celebrating the spirit of unity and musical legacy with a new series of Spotify Singles. Fiv...

05/05/2025

Closure of SGL Carbon production site in Lavradio

As part of the restructuring of its loss-making Carbon Fibers business unit, SGL Carbon has decided to close its production site in Lavradio (Portugal). Lavradi...

05/05/2025

Comscore Launches Certified Deal IDs in Magnite's SSP, Bringing Trusted Content Rankings to Programmatic Buying

Comscore Launches Certified Deal IDs in Magnite's SSP, Bringing Trusted Cont...

02/05/2025

Following Landmark Court Ruling, Spotify Submits New App Update to Apple to Benefit U.S. Consumers

Updated May 2: In a victory for consumers, artists, creators, and authors, Apple...

02/05/2025

Spotify and FC Barcelona Collab With Travis Scott on a Special Cactus Jack Shirt and Exclusive Concert

Since 2022, Spotify and FC Barcelona have brought the worlds of music and footba...

02/05/2025

Spotify Sparks UK Returns To Bring Together Advertisers and Creators

With more than 678 million users worldwide tuned in to Spotify, we're at the heart of music and culture. Our unrivaled global community of artists, songwrit...

02/05/2025

IBM partners with Data Communications Company to Advance Great Britain's Smart Meter Network

Data Communications Company has announced its partnership with IBM to modernise ...

02/05/2025

Comscore at the 20th Annual Needham Technology, Media, & Consumer Conference

Comscore at the 20th Annual Needham Technology, Media, & Consumer Conference RESTON, Va., May 2 2025: Comscore (Nasdaq: SCOR), a trusted partner for planning, t...

02/05/2025

VEON to release 1Q25 trading update on May 15, 2025

02 May 2025 VEON to release 1Q25 trading update on May 15, 2025 Dubai, May 2, 2025 - VEON Ltd. (NASDAQ: VEON), a global digital operator, today confirms that t...

02/05/2025

2025-05-01

CUPERTINO, CALIFORNIA Apple today announced financial results for its fiscal 2025 second quarter ended March 29, 2025. The Company posted quarterly revenue of $...

02/05/2025

New RT Series Uncharted with Ray Goggins pushes well-known faces to their limits

Well-known faces pushed to their limits in Uncharted with Ray Goggins...

01/05/2025

Safety, media freedom and integrity top agenda for World Press Freedom Day

As Tanzania approaches a pivotal election year marked by both promise and concern over the impact of artificial intelligence (AI) on media, more than 300 journa...

01/05/2025

Best in Class' Touts the Anthems That Defined Student Listening in Celebration of This Year's 2025 College Graduates

After four years of lectures, study sessions, exams, and parties, college senior...

01/05/2025

DiGiCo Announces ATEC Pro as new distributor for Austria

Prochazka knows the power of relationships, so it has always been important to him that ATEC Pro be renowned for more than just supplying great equipment. Becom...

01/05/2025

Leinster v Northampton the highlight of another huge weekend of free-to-air sport across RT

Munster and Connacht Football Finals onThe Sunday Game Live Final two days of t...

01/05/2025

Putting the DPA 2017 to the voiceover test

Voice actor and producer Mark Yoshimoto Nemcoff shares his first impressions of the DPA 2017 Shotgun Microphone, from real-world auditions to side-by-side compa...

01/05/2025

Toto take DiGiCo Quantum 852 and Quantum 338 on world

With my previous console, Freeman recalls, I always had to run a Waves server for EQ and compression, but when I switched to DiGiCo, I found it was such an op...

01/05/2025

Brand new culinary showdown comes to RT Player

Stream all episodes ofLook Who's Hangry from April 29 An RT Player Original in partnership with Heinz...

01/05/2025

Tnaiste Simon Harris, Lottie Ryan and Boyzlife among guests on Friday's Late Late Show

Here is your host, Patrick Kielty! T naiste, Minister for Foreign Affairs and T...