Quality Guru's – Home of QA/QE SW Testing Workshops

April 27, 2010

Test Status to SMS/MMS: Sending Advanced SMS messages using CLI mode dedicated GSM USB device

Filed under: Test Status to SMS/MMS — natiku @ 12:03 pm


This entry is part of Test Status to SMS/MMS workshop.

Sending Advanced SMS messages using CLI mode dedicated GSM USB device

Today I will show how to send SMS using advanced features supported by Gammu.

(more…)

Advertisements

March 3, 2010

Test Status to SMS/MMS: Sending SMS messages using CLI with dedicated GSM modem device

Filed under: Test Status to SMS/MMS — natiku @ 8:01 am


This entry is part of Test Status to SMS/MMS workshop.

Sending SMS messages using CLI with dedicated GSM modem device

Install selected CLI tool “GAMMU” for interacting with GSM modem

Note: Gammu will show sections in help, you need to write gammu –help network to see actual network commands

yum install gammu

Installed:
  gammu.x86_64 0:1.25.0-2.fc12

Dependency Installed:
  dialog.x86_64 0:1.1-9.20080819.fc12 gammu-libs.x86_64 0:1.25.0-2.fc12
  libdbi.x86_64 0:0.8.3-3.fc12 mysql-libs.x86_64 0:5.1.42-7.fc12

Check GSM modem status with Gammu

(more…)

March 2, 2010

Test Status to SMS/MMS: Trouble Shooting Sending SMS messages with dedicated GSM modem device

Filed under: Test Status to SMS/MMS — natiku @ 7:32 pm


This entry is part of Test Status to SMS/MMS workshop.

Trouble Shooting Sending SMS messages with dedicated GSM modem device

Be sure then prepaid SIM card is REALLY activated

SIM card is primary designed for Voice Service (Phone call’s), to activate it you need to make a real phone call
with GMS phone, for example to free service of your provider:

I my case of T-mobile Czech pre-paid Twist service, you need to call 4603 and wait after machine will offer
you connecting to operator with 0, you need wait after your really connected.
PS: You can also make a paid call, in case then you have on card more then 30Kc credit amount.

Check various statues with GSM modem device

1. If you receive a Message then TARIF command is not supported, you OR Don’t activate SIM card YET OR
you you need wait so system will register you OR you need to TOP your CARD to really activate it.
2. If you receive an ERROR on SMS sending commands, check:
(more…)

February 28, 2010

Test Status to SMS/MMS: Sending SMS messages with dedicated GSM modem device

Filed under: Test Status to SMS/MMS — natiku @ 4:48 pm


This entry is part of Test Status to SMS/MMS workshop.

Sending SMS messages with dedicated GSM modem device

Selecting a Modem device and Mobile Provider

As a GSM mode device I select a simple & bheap USB stick – my preference is Huawei E160, it is sold across Europe,
can attach optional antenna and it’s have direct support in Linux kernel from 2.6.20+ without need to install
any additional drivers and/or configurations.

As GSM network Mobile provider I select Prepaid cars Twist for T-mobile, it has good signal at my home and
support checking of credit balance and expiration date over SMS, which I will demonstrate later.

Looking on SMS Functionality and Modem Commands first

If you are new to modems (Hayes stuff) and/or to SMS functionality I recommend to study Short Message Service/SMS Tutorial
Don’t worry if content looks too technical for you, we will use later a bunch of different tools to provide this tasks,
however is good to know basics of direct communication with modem in case then you will need debug thinks later.

Installing GSM modem and sending your first SMS

I recommend you to attach USB GMS modem with 3m long USB extension cable,
especially if don’t have external antenna, it will help you find place with best GSM signal.

Put SIM card into E160 modem (near USB connector) and connect it to USB slot.

Power of computer and boot some latest Linux distro, in my case Fedora 12
(more…)

February 26, 2010

Test Status to SMS/MMS: Using SMS service v.s. Getting your own GSM device

Filed under: Test Status to SMS/MMS — natiku @ 5:10 pm


This entry is part of Test Status to SMS/MMS workshop.

Using SMS service v.s. Getting your own GSM device

For sending SMS/MMS you can use some external services, but most of them use Internet connection and they can impose unpredictable delays in similar way as e-mails.
Plus most of them reliable ones want some fixed monthly fee, so benefits of such 3rd party services are disputable.

For building in house solution is ideal to use your own GSM/UMTS Digital Mobile Network device connected to PC,
but many today’s mobile phones don’t have needed HW capabilities of hardware modems plus mobile phones get
overheated over time because they contain batteries.

To be able make a good reliable solution you need a so called GSM modem, device which is designed to be connected to computer.

Ideal GSM modem device will be:

  • Works with your local digital GSM/UTMS mobile provider (Will not work with most analog networks)
  • Must support an extended AT command set for sending/receiving SMS messages, as defined in the ETSI GSM 07.05, 3GPP TS 27.005
  • Will easily attach to your PC and will not need a proprietary drivers (Preferable both Linux and Windows)
  • Selected device still have active support, so you can get firmware updates and real help
  • You can attach to it an external antenna (remember you will want to have final solution inside buildings, may be even in data center)

Generally, two options are available:

  1. Simple & Cheap USB stick – my preference is Huawei E160, it is sold across Europe, can attach optional antenna and it’s have direct support in Linux kernel from 2.6.20+
  2. Professional device – Teltonika ModemCOM/G10 – Example of industrial set which also includes antenna

Hint: You can check your local Linux forums, how actual GSM modems offers are supported, for example in Czech Republic we have dedicated ABCLinuxu GSM forum

Selecting you Mobile Provider (Mobile Carrier in US)

Your digital Mobile Provider will give you a SIM card which will activate your GMS modem and will provide you access
to Provider’s mobile network, while services provided by different Providers can be very similar, quality of network in
your location can vary. Many Providers offer lending of equipment for actual usability test.

You will be mostly sending SMS with optional access to Internet (DATA), so ask you Provider to design for you best
user program (In Europe we call it usage tariff), my for example include 100 free SMS per Month.

PS: If you will plan to use a prepaid SIM card, it’s also good to select provider which allow you to check left amount
of credit (deposit) and SIM card expiration time with SMS. This is not standard SMS service and is very useful, you don’t
need to take SIM card out from GSM modem to check credit/expiration, if SMS check is not available, select provide
which will at least allow you to check credit from another phone.

Test Status to SMS/MMS: E-mails to mobile as PULL v.s. SMS to mobile as PUSH

Filed under: Test Status to SMS/MMS — natiku @ 5:09 pm


This entry is part of Test Status to SMS/MMS workshop.

E-mails to mobile as PULL v.s. SMS to mobile as PUSH

When I start to work in Telco, I get a PAGER, device which was able to deliver me a text messages up to 2040 chars long.
Messages was possible to send over Internet or Phone, we have connected our NOC to PAGER center to get even faster responses.

Today Mobile Phones are able directly to use Internet: read E-mails & access Web pages, this is called PULL mode, your phone regularly connect to network to get e-mail headers.
But even if you massively use internet based services in your mobiles you can be interested into getting PUSH like SMS services into your Testing (or even IT) infrastructure.
Push like SMS service can give you additional fast independent channel for communication, which we use in my past as following:

  • Sending Test Reports to Technicians located outside towns, where mobile data quality is bad
  • Sending Automatic Escalations, when thinks go wrong (Lost of internet access, DOS email attacks, and so on
  • Sending a Confirmation SMS directly to customers then theirs services are back to 100% operation

I personally like very much receiving Test Status results over SMS, when I was working for US customers from Europe,
you receive escalation in about 15:00 Europe time, you fix ti, start testing, go home at 17:00 when your regular work
time is finished and in Metro (Underground) you just receive Test Status SMS. This significantly reduce my over time work from home.

PS: In Europe GSM mobile signal in Metro(Underground) is limited, so you can’t really use Mobile Internet there.

Overview of Mobile PUSH services

Short Message Service (SMS)
WAP Push as part of Wireless Application Protocol (WAP)
Multimedia Messaging Service (MMS)

There is some useful Open Source solutions for creating SMS like PUSH mobile services, I will try to demonstrate then in next parts.

Create a free website or blog at WordPress.com.

%d bloggers like this: