GSM Application Design
GSM Application Design
Background: we want to develop an application that will allow users to access its services
from a simple mobile phone using SMS. e.g. we develop a medical system where a sick
A GSM Modem, through which we put our SIM Card where users will be channeling
their requests through.
A mobile phone on the client side (for testing sending and receiving messages).
A gateway for communication between the GSM Modem and the Computer where
the application is running.
Architecture:
Application Flow:
A client sends the message to the specified number in the modem (some would use short
codes like 15509, which one gets after negotiation with TCRA for Tanzania case).
[Sovello Hildebrand FUGIT CONSULT - Dar es Salaam +255 716 38 75 61 Giugno 2011]
This message arrives at the modem, but since there is no interface to read this message,
the GATEWAY catches this message. The gateway now is the interface between the
modem and the computer. This message will be saved by the gateway.
After you have got this message you do the other processing like a normal application.
Description: Send the message: HEART_ATTACK to the specified number, the message
is captured by the gateway from the modem. Then use this action of receiving the
message to initiate the application process: i.e. read the keyword, query the database
depending on the keyword, do all the processing, reply back if at all you need to make a
reply. Or else, create some action to initiate the process, and then read from where the
client numbers are stored and send them the SMS.
Logically:
if(message_received)
identify_the_keyword;
process_based_on_keyword;
send_reply_if_needed;
done;
endif
OR
if(initiator=true)
do_processing;
read_client_numbers;
send_msgs_to_each_number;
done;
endif
NOTE:
After installing and configuring the gateway, look for ways how you can read the
incoming messages with their headers including client's number, time, etc. and send
replies to these client's number, if at all you don't store them at some place.
[Sovello Hildebrand FUGIT CONSULT - Dar es Salaam +255 716 38 75 61 Giugno 2011]