JA Purity IV
  • Start
  • Present
    • Agreements
    • Briefs
    • Companies
    • Appointments
    • News
    • Regulations
    • New Offices
    • Projects
    • Seminars
    • Technology
  • Novelty
    • Structured cabling
    • Cables
    • Connectors
      • Circular connectors
      • Power connectors
      • Industrial connectors
      • PCB Connectors
      • RF Connectors
    • Cable-Connector Assemblies
    • Ethernet
    • Industrial Ethernet
    • Industrial Tools
    • Tools
    • Interconnection
    • Microconnection
    • Industrial networks
    • Routers
    • Switches
  • Optical fiber
    • Couplers and Splitters
    • Fiber optic cables
    • Distribution boxes
    • Fiber optic connectors
    • Media converters
    • Fiber optic course
      • Measurement and certification techniques
    • Laser diode
    • FTTH and FTTx networks
    • Fiber Optic Tools
    • Instruments for Fiber Optics
      • Optical Network Certifiers
      • Optical Loss Testers
      • Fiber Optic Cutters
      • Optical Signal Detectors
      • Fiber Optic Fusion Splicers
      • Optical Network Fault Locators
      • Optical Power Meters
      • OTDR
    • whiplashes
    • Optical Networks
    • Fiber optic switch
    • Optical transceivers
    • Optical fiber formation channel
      • Fiber Optic Fusion Training Videos
      • Fiber Optic Connector Training Videos
      • Fiber Optic Testing and Measurement Training Videos
  • Envelopes
    • Rack Cabinets
    • Frames and Chassis
    • Mounting boxes
    • Technical Furniture
    • Parts
    • Racks
    • Air conditioning systems
  • Technology
    • Storage
    • Security Software
    • Product Catalogs
    • Data Centers
    • Components
    • Photonics
    • Computing
    • Instrumentation
    • Investigation
    • Various products
    • Security
    • Video - IP
  • Wireless
    • Smart City
    • Antennas and links
    • RF Components
    • RF Connection
    • EMC/EMI
    • RF test and measurement equipment
      • Analyzers
      • Amplifiers
      • Testers
      • Generators
      • For LTE - WiMAX
      • Field Meters
      • Multimeters
      • Oscilloscopes
      • Other RF Equipment
      • Measurement Software
    • GSM/GPRS/UMTS/GPS
    • M2M
    • Other Products
    • Wireless Networks
    • RFID
  • Contact
  • Language
  1. It's here:  
  2. Start
  3. Wireless
  4. M2M
  5. Wakeup/Keep-Alive

Wakeup/Keep-Alive

The intention of this document is to give the reader a basic understanding of the architecture of Enfora devices in order to address the potential repercussions of dynamic IP allocation in a GPRS network.
Many, if not all, GPRS service providers use dynamic IP addressing for mobile devices activated on their networks in their architecture. Carriers will use an architecture similar to Dynamic Host Control Protocol (DHCP) for managing IP addresses on a network. This poses a challenge for mobile applications when they register on a network and potentially receive a new IP address with each connection. The mobile device will then have to manage the IP allocation notification from the network to the system providing the solution. Figure 1 illustrates this problem.
Enfora has designed an architecture that will help resolve the potential problems that can arise when a system host needs to know the IP address of mobile devices deployed in the field. The general structure and the commands required for execution are detailed below. Examples of different implementations will be outlined for further details.
Two basic architectures have been created and will interact with each other to manage the process of acquiring a new IP address. These architectures are called Wakeup/Keep Alive and Friends.
The Wakeup/Keep Alive architecture is designed to provide timing and delivery confirmations to a specific server when a new IP address is obtained. The command also allows the definition of a Keep Alive timer, which will be used to generate a data packet at a specified interval. This gives the server the ability to maintain active information for multiple IP addresses used in its application.
The Friends mode architecture allows the definition of multiple IP addresses that will have access to the modem.

This design has two purposes.

M2M1-1One access level provides remote programming of the module over the air, using access to the Application Programming Interface (API). This architecture will be covered in detail in another document.
The second purpose of this architecture is to define the IP addresses of the servers that will be used in conjunction with the Wakeup/Keep Alive parameters.
The command format for defining the Friends is as follows:

 

AT$FRIEND= , ,
friend#: (1-10) Indicates which friend to add or replace.
server-indication: (0-1) This flag indicates whether the specified friend will work as a server or not. 1=Server
IP: “(0-255).(0-255)-(0-255).(0-255)”

 

Up to 10 Friendly IP addresses can be defined. Each of these addresses will be able to access the modem. Each Friend can be identified as a server. An additional use of this Friends list is to allow which IP addresses can execute commands over the air using the Enfora API.
The command to define the Wakeup/Keep Alive architecture is as follows:

 
AT$WAKEUP = ,


0 = No wakeup messages are sent.

1 = Send messages starting from the receipt of the new IP every<retry-period> minutes.

2 = Send an acknowledgment message using the at$acktm command once the new IP is received every<retry-period> minutes.
 


The number of minutes the Keep-alive request is sent to the server. Zero indicates no retries.

 

• When this command is used, an event from group 0 will be generated in the module's event table.
• The parameter It will generate a timing sequence using the module's Timer4.
The acknowledgment message and retries are used in conjunction with Wakeup/Keep Alive.
The command format is as follows:

 

AT$ACKTM: ,

 


The maximum number of wakeup messages the modem will send to each server once it receives the new IP address, or once the Keep-Alive period has ended.
Zero indicates that no messages should be sent.

 


The number of seconds between successive Wakeup message retries.
Zero indicates no retries.

 


1. IP reselection disabled.
2. If an acknowledgment message has not been received on all defined Friends servers and the number of retries has ended, it is assumed that there is a communication problem and a new IP reselection process will begin.

M2M1-3Upon receiving the first or a new IP address, the modem will check its Friends list (starting with the first and going up to the tenth) to determine if any servers exist. If a server is found, a Wakeup message will be sent at the interval defined in the $ACKTM command until the specified retry limit is reached or an acknowledgment message is received. This process will be repeated for each IP address in the Friends list until the list is exhausted or an acknowledgment is received from a server in the list. An acknowledgment from the server is not required.
If Keep-Alive is enabled, wakeup messages will be repeated at the interval defined in the $WAKEUP command after the previous wakeup sequence has finished. The Keep-Alive request will be sent regardless of when the previous message sequence was acknowledged.
The IP reselection option is an automated feature that allows the modem to obtain a new IP address from the network if communication cannot be established. The modem will send messages to all IP addresses in the Friends list that are defined as servers. If the modem does not receive an acknowledgment message, as defined in the Enfora API, from any of the server's logs, it will obtain a new IP address from the network.
An additional parameter, consisting of a 20-character field, allows the device to be uniquely identified within its system. This parameter will be included in the UDP packet payload when the Wakeup/Keep-alive data is transmitted.
Modem identification is performed as follows:

 

AT$MDMID =

A 20-character field is used to identify the modem.
Figure 2 illustrates the use of Friends with a single server.
In this example, the Enabler-IIIG is configured to send Wakeup messages to IP address 168.121.100.1 every 20 seconds for up to 10 times, or until an acknowledgment is received by the Enabler-IIIG from the server. The Enabler-IIIG will send a Keep-alive message to the server every 60 minutes. In this example, the IP reselection period is disabled.
Figure 3 illustrates the use of Friends with multiple servers.
In this example, the Enabler-IIIG is configured to send the Wakeup packet to the first server in its Friends list. The packet will be sent to this first server every 20 seconds for up to 10 times, or until the server responds with an acknowledgment. If no acknowledgment is received after 10 attempts, the modem will initiate the Wakeup process with the next server in the list. This process continues (one server at a time) until the Friends list is exhausted or until the first acknowledgment is received from a server. In this example, 10 Wakeup packets will be sent during the first 200 seconds to address 168.121.100.1. Then, another 10 packets will be sent to address 168.121.100.2 during the second 200 seconds. Finally, 10 Wakeup packets will be sent to address 168.121.100.3 during the third 200-second period. If the modem does not receive an acknowledgment during these 600 seconds (10 minutes), the modem will stop sending Wakeup packets until the next Keep-alive period ends. In this example, the Keep-alive period is 60 minutes.
The IP address reselection option is enabled. If the modem does not receive an acknowledgment message from any of the servers at the end of the wake-up period, it will obtain a new IP address from the network.

 

More information or a quote

 

José Adarve (M2M Applications Engineer, Venco Electrónica) and Angel Gutiérrez (M2M Product Manager, Venco Electrónica).

Easiest Interpretation of M2M Next Article: Homemade Wireless Spy Camera

Unlabeled

  • Wireless terminal for easy integration

    Janus Remote Communications announces the launch of the Terminus GSM864Q Open Frame. The Terminus Open Frame module's design allows for easy integration into custom devices or existing designs.

  • Yamaha launches a new concept in advanced M2M connectivity

    The 1 STOP SOLUTION method links intelligent production machines and enterprise software to overcome limitations in information exchange in an advanced M2M environment.

    In recent years, the proliferation of high-speed communications infrastructure and...

  • Fail-safe, wireless operator control and surveillance via fast roaming

    Siemens Industry Automation has improved the performance and equipment of its handheld devices for wireless operator control and machine and plant control, and has also increased them with additional functions.

  • Avnet Embedded introduces the new generation of GSM/GPRS terminals from Cinterion

    Avnet Embedded, an Avnet, Inc. company, announces the availability of a new generation of Cinterion GSM/GPRS terminals that offer greatly improved functionality while maintaining full compatibility with previous models.

  • BroadForward provides an M2M proxy solution for the world's first PVNO

    BroadForward, a software company based in the Netherlands, has announced that its BFX gateway is now fully operational, supporting the world's first Virtual Private Network Operator (VPN). The Netherlands-based CGI systems integrator implemented BFX to...

  • Homemade wireless spy camera

    My house, my boat, my horse. Anyone who wants to watch over their valuable possessions 24 hours a day must either watch over them constantly or leave others to do so.

Cofitel group
Rec Farnel
Duagon embedded systems

Newsletter

Subscribe to our newsletter:

Latest News

Demonstration of free-space optical communication with PCSEL: a breakthrough from Vector Photonics

Friday, April 10, 2026

Vector Photonics, the Scottish start-up that is leading the way in the use of surface emission lasers with crystal...

AI for Good Global Summit 2026: Innovation and Leadership in Artificial Intelligence in Geneva

Wednesday, March 25, 2026

As governments accelerate their strategies on artificial intelligence, sovereign AI, and...

Iceland's Parliament modernizes its security with Genetec Security Center and IoT sensors

Wednesday, March 25, 2026

The Parliament of Iceland, Alpingi, one of the oldest democratic institutions in the world,...

Commvault strengthens data and AI security in Commvault Cloud with new governance and classification capabilities

Tuesday, March 24, 2026

Commvault has announced an expansion of its data security and AI capabilities within...

Vertiv powers AI factories with converged infrastructure alongside NVIDIA Rubin DSX

Wednesday, March 18, 2026

Vertiv has announced its key role in advancing physical infrastructure designs...

Social networks

Facebook Twitter Instagram LinkedIn YouTube

cover 267

Subscribe to CONECtrónica magazine

You can subscribe to the Conectrónica magazine in 2 formats.

Digital Format: 5 downloadable PDF editions at an annual cost of 60 Euros (VAT included)

Paper Format: 5 editions to be received by mail at an annual cost of 180 Euros (VAT included).

Contact our subscriptions department at subscriptions@conectronica.com

Payment via Bizum or bank transfer

Technical Courses and Seminars

Cybersecurity and AI: risks, opportunities and keys to the new digital balance

Artificial intelligence multiplies both the sophistication of threats and the capacity to...

D-Link launches the 29th season of free webinars on networks, 5G and cloud

D-Link has announced that the 29th season of its D-Link Webinars begins tomorrow. These sessions...

Taoglas launches The Antenna Podcast, a new technical space about antenna design and innovation

Antennas remain one of the most critical and, at the same time, most misunderstood elements in...

ISE 2026 Barcelona: Summits, Megatrends and the most ambitious content program in the AV sector

Returning to Barcelona in February 2026, Integrated Systems Europe (ISE) presents its program of...

E-book: the future of satellite communications

Mouser Electronics, Inc., in collaboration with Qorvo and other technology innovators...

Optical Networks

Evolution of optical networks: ROADM, OpenROADM and OpenZR+ in the 400G and 800G era

The rapid increase in data traffic is driving the construction of new infrastructure worldwide...

Legrand launches Chroma Link, the fiber optic solution for high-density AI networks

Legrand has announced the launch of Chroma Link™, a fiber optic cabling solution with...

Hollow Core Fiber (HCF) Deployment and Testing

Hollow Core Fibers (HCF) represent a significant evolution...

Network infrastructure in the age of AI: why fiber optics is key beyond bandwidth

New requirements for network infrastructures: why, in the age of AI, fiber optics...

Nokia drives optical networks for the AI ​​era with new coherent solutions and multi-fiber amplifiers

Nokia has announced a suite of new optical network innovations designed to address...

Fiber optic network testing in hyperscale data centers: keys to ensuring performance and reliability

Hyperscale data centers represent the backbone of the digital infrastructure...

High-Speed ​​Network Demands: Architectures, Challenges and Technological Evolution in the Era of Exponential Traffic

The rapid growth of IP traffic, driven by applications such as 4K/8K video, computing...

Connectors. FTTH Magazine. Industrial Electronics. Fiber Optic Courses, Online Seminars, Technology News and Trade Shows, Industrial Fiber Optic Cables and Connectors, Company News, Oscilloscopes and Tools, Data Centers.

Conectrónica Magazine © of Telecommunications for Professionals. All rights reserved GM2 Technical Publications, SL.

Tel.: +34 91 706 56 69

Symphonic Poem, 27. Esc B. Floor 1 Pta 5

28054 (Madrid - SPAIN)

e-mail: gm2@gm2publicacionestecnicas.com or consultations@conectronica.com

Other GM2 publications include Convertronic Magazine and Gasogeno98 Channel

Privacy Policy

Legal Notice