Java User’s Guide

13.1 Using the AT Command API

s

13.1.3ATCommandListener Interface

The ATCommandListener interface implements callback functions for:

URCs

Changes of the serial interface signals RING, DCD and DSR

Opening and closing of data connections

The user must create an implementation class for ATCommandListener to receive AT events. The ATEvent method of this class must contain the processing code for the different AT-Events (URCs). The RINGChanged, DCDChanged, DSRChanged and CONNChanged methods should contain the processing code for possible state changes. This code shall leave the lis- tener context as soon as possible (i.e. running a new thread). While the callback method does not return it cannot be called again if changes occur.

The CONNChanged method indicates the start and the end of data connections. During a data connection it is possible to transfer data with the I/O stream methods (see Section 13.1.1.3). Some data services (i.e. FTP) transfer the data so quickly, that the CONNChanged start and close events are received even parallel to the response of the AT command which originated the data connection. The user’s application must realize, that the data connection had taken place and read the data with the I/O stream read methods afterwards.

13.1.3.1ATEvents

An ATEvent or a URC is a report message sent from the module to the application. An unso- licited result code is either delivered automatically when an event occurs or as a result of a query the module previously received. However, a URC is not issued as a direct response to an executed AT command. Some URCs must be activated with an AT command.

Typical URCs may be information about incoming calls, a received SM, temperature changes, the status of the battery, etc. A summary of URCs is listed in [1].

wm_java_usersguide_v12

Page 118 of 123

2008-02-25

Confidential / Released

 

 

Page 118
Image 118
Siemens XT75, TC65, AC65, XT65 manual ATCommandListener Interface, ATEvents

AC65, XT65, XT75, TC65 specifications

The Siemens TC65 is a compact and powerful GSM/GPRS module designed for a wide range of mobile communication applications. With its robust features, the TC65 perfectly meets the growing demands for connectivity in various industries, including automotive, telematics, and industrial automation.

A standout feature of the TC65 is its compact size, allowing it to be easily integrated into various devices without compromising on performance. The module supports GSM (Global System for Mobile Communications) and GPRS (General Packet Radio Service), providing reliable and efficient voice and data transmission.

One of the key technologies incorporated in the TC65 is its integrated TCP/IP stack, which allows for seamless internet connectivity and enables application developers to create IoT solutions with ease. This capability is essential for remote monitoring, data logging, and other applications that require continuous data exchange.

The TC65 also boasts extensive multimedia capabilities, including support for SMS, MMS, and voice calls. This makes it suitable for applications that require not only data transmission but also communication features. Additionally, it supports various codecs for voice compression, ensuring high-quality audio in voice applications.

Enhanced security features are another highlight of the TC65. It incorporates comprehensive security protocols to safeguard data transmission, making it suitable for sensitive applications in finance, healthcare, and other critical sectors. The module also includes an integrated SIM application toolbox that supports the development of secure and customizable applications.

For developers, the TC65 offers an easy-to-use software development kit (SDK), simplifying the process of application development. This means that businesses can quickly create and deploy solutions tailored to their specific needs.

The module operates across a wide voltage range and is designed to tolerate challenging environmental conditions, making it ideal for industrial use. It supports various interfaces, including UART, GPIO, and I2C, enabling it to connect with a variety of peripherals and sensors, thus expanding its usability.

In summary, the Siemens TC65 combines compact design, versatile communication capabilities, advanced security features, and developer-friendly resources, making it an excellent choice for anyone looking to implement reliable and sophisticated GSM/GPRS communication in their applications. The TC65 is a valuable asset in the evolving landscape of connected devices and IoT solutions.