Tag Archives: connection

SerialSniffer

Developers need exact information and are often forced to get access to serial ports for testing purpose.

The typical user of SerialSniffer is a software engineer. Most commonly an external device is connected to a PC, which is running a special application using a serial port. The external device may be: a sensor, a slide projector, a printer, a barcode scanner, … The serial connection has to be “ripped” and SerialSniffer is mounted in between the serial link. SerialSniffer will provide all data from one side of the connection to the other and vice versa, log all the data and, if applicable, manipulate them.
SerialSniffer

is a windows shareware to visualize data, which are exchanged over the serial ports (i.e. RS232 or RS422).
SerialSniffer gives you the possibility

– to have a deep view inside the data. The data stream, which is exchange on the serial ports, is visualized by SerialSniffer. You also can determine which data comes from which port.
– to log the data stream
– to tunnel the serial port through the network
– to exchange dedicated data parts from the data stream
– to search for seldom data
– to open a terminal dialog
– to use symbols instead of raw data

SerialSniffer is very easy to use

Simply choose the type of connection (serial, network or virtual serial port), the parameters (i.e. baud rate) and open the connection.
Not only the standard baud rates (like 9600 baud) but also user defined baud rates can be used. It is also possible to translate between different baud rates, as both comports can be configured independently.

Comport names up to ‘Com256:’ are supported to use SerialSniffer on systems with a lot of serial ports (provided by additional adapters, IRDA, Bluetooth etc).

The complete configuration will be stored automatically on closing the application. The user can also store it in customized files to re-load it for recurrently tasks.
Practical example

Test of a complex system: a test specification exists; SerialSniffer logs all the data to a file, which is attached to the test protocol. But how to test, the system deals with errors on the serial link? If the worst comes to the worst, the system will crash. To test this, SerialSniffer gets a set of rules, which data is to be manipulated. I.e. some datasets may be shortened, some may contain additional data or the checksums are changed. In most cases, it is not allowed to integrate the changes to the device under test, because you will not test the original system anymore. Using SerialSniffer, you are no longer forced to do so.
Practical example

Once, we had the mission to develop a trip recorder for a ferryboat. The main computer of the ship dumps all the data on a serial port without a return line (one way street for the data). During the development, we were not able to travel with the ship all day long. So we recorded the data with the SerialRecorder of SerialSniffer (similar to a traditional tape) and did a playback as often as needed.

SerialSniffer

Developers need exact information and are often forced to get access to serial ports for testing purpose.

The typical user of SerialSniffer is a software engineer. Most commonly an external device is connected to a PC, which is running a special application using a serial port. The external device may be: a sensor, a slide projector, a printer, a barcode scanner, … The serial connection has to be “ripped” and SerialSniffer is mounted in between the serial link. SerialSniffer will provide all data from one side of the connection to the other and vice versa, log all the data and, if applicable, manipulate them.
SerialSniffer

is a windows shareware to visualize data, which are exchanged over the serial ports (i.e. RS232 or RS422).
SerialSniffer gives you the possibility

– to have a deep view inside the data. The data stream, which is exchange on the serial ports, is visualized by SerialSniffer. You also can determine which data comes from which port.
– to log the data stream
– to tunnel the serial port through the network
– to exchange dedicated data parts from the data stream
– to search for seldom data
– to open a terminal dialog
– to use symbols instead of raw data

SerialSniffer is very easy to use

Simply choose the type of connection (serial, network or virtual serial port), the parameters (i.e. baud rate) and open the connection.
Not only the standard baud rates (like 9600 baud) but also user defined baud rates can be used. It is also possible to translate between different baud rates, as both comports can be configured independently.

Comport names up to ‘Com256:’ are supported to use SerialSniffer on systems with a lot of serial ports (provided by additional adapters, IRDA, Bluetooth etc).

The complete configuration will be stored automatically on closing the application. The user can also store it in customized files to re-load it for recurrently tasks.
Practical example

Test of a complex system: a test specification exists; SerialSniffer logs all the data to a file, which is attached to the test protocol. But how to test, the system deals with errors on the serial link? If the worst comes to the worst, the system will crash. To test this, SerialSniffer gets a set of rules, which data is to be manipulated. I.e. some datasets may be shortened, some may contain additional data or the checksums are changed. In most cases, it is not allowed to integrate the changes to the device under test, because you will not test the original system anymore. Using SerialSniffer, you are no longer forced to do so.
Practical example

Once, we had the mission to develop a trip recorder for a ferryboat. The main computer of the ship dumps all the data on a serial port without a return line (one way street for the data). During the development, we were not able to travel with the ship all day long. So we recorded the data with the SerialRecorder of SerialSniffer (similar to a traditional tape) and did a playback as often as needed.

How to send SMS by using Android SMPP SMS Gateway

When you want to connect your IT system to the mobile network you have three basic options: IP SMS connection; GSM modem connectivity and Android SMPP connection. If you have a relatively small SMS traffic (less than 1000 SMS a day), you should choose the latter. This article describes through the example of a specific product that what you need and what you should do if you want to send SMS with an Android-based SMPP SMS Gateway application.

For SMS messaging using any kind of SMS software you need to install and configure one or more Service Provider connections. For this purpose the Short Message Peer to Peer protocol (SMPP) connection is a possible method. The SMPP protocol can be used to connect your computer directly to the SMS Center of the Service Provider (SMSC). By this way you can send and receive SMS messages over the Internet or over a private IP network.

Prerequisites

In order to send SMS messages from your corporate system by using SMPP connection you need some kind of SMS gateway software (for example Ozeki NG SMS Gateway). Obviously, you need a PC (this software requires Windows operation system) on which you can install this SMS software then compose and send messages. In case of Android SMPP connection there is need for an Android smartphone (Samsung, HTC, LC, Sony Ericsson, etc.) and an Android SMPP SMS Gateway (such as Ozeki Android SMPP SMS Gateway) installed on your phone, as well.

Sending SMS

First of all, make sure that your mobile phone is connected to the Internet, because you need to download the application from Google Play. You can use WI-FI or your Mobile Internet. After you have installed it, you need to launch it.
In the next step is to connect your SMPP SMS Gateway to the computer. How does this happen when using Ozeki Android SMPP SMS Gateway? After launching the application you will see some important information in the top left corner of the screen: Host name, Port number, Username, Password. You need to type these parameters in the management console of your SMS Gateway software (like Ozeki NG SMS Gateway). After you logging into your SMS software, add a new service provider connection by clicking on the appropriate menu item. Select the SMPP Connection then click on the install button. The Configuration panel of the SMPP Connection will appear. On the SMPP server settings tab you need to specify the followings: Host name, Port number, Username, Password. Use the parameters that can be found in your Android SMPP SMS Gateway application. In addition, you have to assign a telephone number and a specific service provider name to this connection.
After the basic settings, check the status of the connection by clicking on the logging panel. If you see that SMPP connection has been installed successfully, you are ready to compose and send a message.
Click on Compose a message button then fill in the form appropriately (select the type of your message, enter the telephone number of the recipient, compose your message, etc.) then click on Send/Ok. That’s it! If you use Ozeki Android SMPP SMS Gateway, you will get a delivery report about successfully sent messages, so you can make sure that the recipient has gotten your message.

Source of information: