Difference between revisions of "How to use Telit Modem"

From IGEP - ISEE Wiki

Jump to: navigation, search
m
m
Line 1: Line 1:
 
= Overview =
 
= Overview =
 
+
<section begin=overview />
 
Telit modem is not supported by default in IGEPv2 Expansion and IGEP Berlin. Use the following steps for it:  
 
Telit modem is not supported by default in IGEPv2 Expansion and IGEP Berlin. Use the following steps for it:  
 
+
<section end=overview />
 
= Configure =
 
= Configure =
 
+
<section begin=configure />
 
*Log into IGEP Processor (via SSH), and run the following commands:
 
*Log into IGEP Processor (via SSH), and run the following commands:
 
<pre>ssh root@192.168.5.1  
 
<pre>ssh root@192.168.5.1  
Line 15: Line 15:
  
 
*Save changes (ESC -&gt;&nbsp;:wq -&gt; Enter) and reboot your IGEP Device  
 
*Save changes (ESC -&gt;&nbsp;:wq -&gt; Enter) and reboot your IGEP Device  
 +
<section end=configure />
 
= Power up Modem=
 
= Power up Modem=
 +
<section begin=powerup />
 
*Power up the modem using the next commands:
 
*Power up the modem using the next commands:
 
<pre>echo 0 &gt; /sys/class/gpio/gpio140/value
 
<pre>echo 0 &gt; /sys/class/gpio/gpio140/value
Line 31: Line 33:
 
*If you correctly inserted the PIN number, the answer should be OK.&nbsp;If you fail more than 3 times, your SIM card will lock and you will have to insert PUK number.  
 
*If you correctly inserted the PIN number, the answer should be OK.&nbsp;If you fail more than 3 times, your SIM card will lock and you will have to insert PUK number.  
 
*Now you are ready to use the GSM/GPS modem.<br>
 
*Now you are ready to use the GSM/GPS modem.<br>
 
+
<section end=powerup />
 
= Examples =
 
= Examples =
 
+
<section begin=examples />
 
If you successfully '''followed the previous instructions''', you are ready to test the GSM/GPRS modem. Here are some examples:  
 
If you successfully '''followed the previous instructions''', you are ready to test the GSM/GPRS modem. Here are some examples:  
  
 
You can check the complete list of AT commands at the Official manufacturer [http://telit.com/module/infopool/download.php?id=522 Software User Guide].  
 
You can check the complete list of AT commands at the Official manufacturer [http://telit.com/module/infopool/download.php?id=522 Software User Guide].  
 
+
<section end=examples />
 
== Test received signal strength<br>  ==
 
== Test received signal strength<br>  ==
 
+
<section begin=examplestrength />
 
Use the instruction:  
 
Use the instruction:  
 
<pre>at+csq</pre>  
 
<pre>at+csq</pre>  
 
The answer should be: +CSQ: X,0, where X is the signal strenght. For example 12 is poor and 18 is good. If the answer is +CSQ:99,99 you should check your coverage or use an antenna<br>  
 
The answer should be: +CSQ: X,0, where X is the signal strenght. For example 12 is poor and 18 is good. If the answer is +CSQ:99,99 you should check your coverage or use an antenna<br>  
 
+
<section end=examplestrength />
 
== Making a phone call<br>  ==
 
== Making a phone call<br>  ==
 
+
<section begin=examplecall />
 
Use the instruction, replace number_to_call with your number:  
 
Use the instruction, replace number_to_call with your number:  
 
<pre>atd number_to_call
 
<pre>atd number_to_call
Line 52: Line 54:
  
 
'''NOTE:''' If "NO CARRIER" message appears, check your coverage or use an antenna.  
 
'''NOTE:''' If "NO CARRIER" message appears, check your coverage or use an antenna.  
 
+
<section end=examplecall />
 
== Sending a SMS<br>  ==
 
== Sending a SMS<br>  ==
 
+
<section begin=examplesms />
 
First of all, you need to configure the SMS format type. Telit GE865 GSM/GPRS supports PDU format and Text format. We use Text format. Type the following command:  
 
First of all, you need to configure the SMS format type. Telit GE865 GSM/GPRS supports PDU format and Text format. We use Text format. Type the following command:  
 
<pre>AT+CMGF=1</pre>  
 
<pre>AT+CMGF=1</pre>  
Line 68: Line 70:
  
 
'''NOTE:''' Don't use special characters in SMS text message like &lt;`´'"&gt;.<br>  
 
'''NOTE:''' Don't use special characters in SMS text message like &lt;`´'"&gt;.<br>  
 
+
<section end=examplesms />
 
'''Know more'''<br>  
 
'''Know more'''<br>  
 
+
<section begin=know_more />
 
Here you have the official manuals from the manufacturer's webpage:<br>  
 
Here you have the official manuals from the manufacturer's webpage:<br>  
  
 
*[http://telit.com/module/infopool/download.php?id=1666 Telit GE865-QUAD Hardware User Guide]<br>  
 
*[http://telit.com/module/infopool/download.php?id=1666 Telit GE865-QUAD Hardware User Guide]<br>  
 
*[http://telit.com/module/infopool/download.php?id=522 Telit Modules Software User Guide]<br>
 
*[http://telit.com/module/infopool/download.php?id=522 Telit Modules Software User Guide]<br>
 +
<section end=know_more />

Revision as of 12:24, 27 August 2012

Overview

Telit modem is not supported by default in IGEPv2 Expansion and IGEP Berlin. Use the following steps for it:

Configure

  • Log into IGEP Processor (via SSH), and run the following commands:
ssh root@192.168.5.1 
mkdir /tmp/temp
mount -t jffs2 /dev/mtdblock1 /tmp/temp 
vi /tmp/temp/igep.ini 
  • Add the following line (press i to insert content):
buddy.modem=yes
  • Save changes (ESC -> :wq -> Enter) and reboot your IGEP Device

Power up Modem

  • Power up the modem using the next commands:
echo 0 > /sys/class/gpio/gpio140/value
echo 1 > /sys/class/gpio/gpio141/value
sleep 1
echo 0 > /sys/class/gpio/gpio141/value
  • Once the modem is on (led near SIM card reader, is blinking now), you can interact with it via UART 2. You can use Microcom to comunicate with it from the serial debug console:
microcom -s 115200 /dev/ttyO1
  • To check the modem status use the command:
at
  • Answer should be OK.
  • Now unlock it by inserting your SIM card PIN number. Use the command:
at+cpin=<PIN>
  • If you correctly inserted the PIN number, the answer should be OK. If you fail more than 3 times, your SIM card will lock and you will have to insert PUK number.
  • Now you are ready to use the GSM/GPS modem.

Examples

If you successfully followed the previous instructions, you are ready to test the GSM/GPRS modem. Here are some examples:

You can check the complete list of AT commands at the Official manufacturer Software User Guide.

Test received signal strength

Use the instruction:

at+csq

The answer should be: +CSQ: X,0, where X is the signal strenght. For example 12 is poor and 18 is good. If the answer is +CSQ:99,99 you should check your coverage or use an antenna

Making a phone call

Use the instruction, replace number_to_call with your number:

atd number_to_call

Press any key to end call

NOTE: If "NO CARRIER" message appears, check your coverage or use an antenna.

Sending a SMS

First of all, you need to configure the SMS format type. Telit GE865 GSM/GPRS supports PDU format and Text format. We use Text format. Type the following command:

AT+CMGF=1

There are so many ways in this modem to send a message. Here you have a simple example. Use the instruction, replace destination_number with your number:

at+cmgs= destination_number
> insert here your text message

When you are ready to send your message use Ctrl+Z to send it.

If you want to cancel or restart the message press ESC.

NOTE: If "NO CARRIER" message appears, check your coverage or use an antenna.

NOTE: Don't use special characters in SMS text message like <`´'">.

Know more

Here you have the official manuals from the manufacturer's webpage: