Part 5 – GPIO AT Commands

Chapter 15 – GPIO AT Commands

Hangup: Determines whether to disconnect from the network after GPIOs have been processed. Values: 0 - Physical connection will disconnect when all GPIOs have been processed

1 - Physical connection will stay connected.

2 - Physical connection will disconnect when all GPIOs have been processed; suppress responses

3 - Physical connection will stay connected; suppress responses

Default: 1,1,0,0,0,0,x 2,1,0,0,0,0,x 3,0,0,0,0,0,x 4,0,0,0,0,0,x 5,3,0,0,0,0,x

Note: The final number (represented by ‘x’) is variable and not supported at this time.

Example: AT#GPIO=1,0,1,180,1,0

GPIO 1 would be configured as a Digital Input with internal pullup (0). A positive voltage will trigger the GPIO (1).

A Debounce time of 180 ms (180) will be used. #SENDMAIL1 will be called if the GPIO triggers (1).

After processing the GPIO, the physical connection will be disconnected (0) and all responses will be printed to the user.

#GPIOR – Read the Current Register Status of the Specified GPIO Pin

Description:

The current status of the specific GPIO pin is displayed according to its configuration.

Syntax:

AT#GPIOR=<parameter>

Values:

parameter

 

1 GPIO Port 1

 

2 GPIO Port 2

 

3 GPIO Port 3

 

4 GPIO Port 4

 

5 GPIO Port 5

Responses:

\r\n#GPIOR: VALUE1,VALUE2\r\n

 

\r\nOK\r\n

 

\r\nERROR\r\n

Examples:

send: AT#GPIOR=1\r

 

 

reply: \r\n#GPIOR: 1,1\r\n

 

reply: \r\nOK\r\n

Universal IP AT Commands Reference Guide (Document S000457K)

89

Page 89
Image 89
Multi-Tech Systems iCell GPRS (MTSMC-G2-IP AT#GPIOR=parameter, Gpio Port, r\n#GPIOR VALUE1,VALUE2\r\n, Send AT#GPIOR=1\r

iCell GPRS (MTSMC-G2-IP specifications

Multi-Tech Systems iCell GPRS (MTSMC-G2-IP) is a versatile and powerful device designed for seamless connectivity in various applications, particularly in industrial and commercial environments. Known for its robust performance, the iCell GPRS module incorporates advanced technologies that enable effective communication over GPRS networks, making it an ideal solution for IoT applications, remote monitoring, and data collection processes.

One of the main features of the iCell GPRS is its dual SIM capability, which enhances network reliability and ensures continuous connectivity even in the event of network outages. By allowing the use of two SIM cards from different carriers, the device can switch between networks automatically, thereby minimizing downtime and maintaining critical communication channels.

The iCell GPRS supports various protocols including TCP/IP, UDP, and MQTT, which facilitates seamless integration with a range of applications. This flexibility in communication protocols allows developers to create customized solutions tailored to their specific needs, ensuring that the device can fit seamlessly into their existing infrastructure.

Another key characteristic of the MTSMC-G2-IP is its compact design and durability, making it suitable for deployment in a variety of environments. It features a wide operating temperature range that allows it to function efficiently in both extreme heat and cold, thereby catering to diverse applications across different industries. Additionally, the device is designed for easy installation and integration, which helps reduce deployment time and costs.

The iCell GPRS also includes built-in security features such as firewalls and secure data transmission protocols, protecting sensitive information from unauthorized access. This is particularly important for applications in sectors such as healthcare, finance, and transportation, where data integrity and security are paramount.

Furthermore, the device is equipped with various I/O ports that facilitate connectivity with external sensors, actuators, and other hardware. This feature makes it highly adaptable for monitoring and control systems, enabling users to gather real-time data and respond promptly to changing conditions.

In sum, the Multi-Tech Systems iCell GPRS (MTSMC-G2-IP) is a reliable and feature-rich solution designed for modern communication needs. Its dual SIM support, protocol versatility, robust design, and integrated security features make it an ideal choice for IoT and remote monitoring applications across numerous industries. Whether used in industrial automation, environmental monitoring, or smart cities, the iCell GPRS stands out as a dependable device that enhances connectivity and operational efficiency.