Difference between revisions of "How to use Telit Modem"

From IGEP - ISEE Wiki

Jump to: navigation, search
m (Created page with '= 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), an…')
 
m (Power up Modem)
 
(7 intermediate revisions by the same user not shown)
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.  
 
+
<section end=overview />
 
= Configure =
 
= Configure =
 +
<section begin=configure />
 +
Configure this [[How_do_I_edit_my_kernel_command_line | adding following kernel cmdline parameter]]
  
*Log into IGEP Processor (via SSH), and run the following commands:
+
  buddy.modem=yes  
<pre>ssh root@192.168.5.1
+
<section end=configure />
mkdir /tmp/temp
 
mount -t jffs2 /dev/mtdblock1 /tmp/temp
 
vi /tmp/temp/igep.ini </pre>
 
*Add the following line (press i to insert content):
 
 
 
  buddy.modem=yes
 
  
*Save changes (ESC -&gt;&nbsp;:wq -&gt; Enter) and reboot your IGEP Device
 
 
= 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:
 +
'''IGEPv2 Expansion:'''
 
<pre>echo 0 &gt; /sys/class/gpio/gpio140/value
 
<pre>echo 0 &gt; /sys/class/gpio/gpio140/value
 
echo 1 &gt; /sys/class/gpio/gpio141/value
 
echo 1 &gt; /sys/class/gpio/gpio141/value
 
sleep 1
 
sleep 1
echo 0 &gt; /sys/class/gpio/gpio141/value
+
echo 0 &gt; /sys/class/gpio/gpio141/value</pre>  
</pre>  
+
*Once the modem is on (led near SIM card reader , is blinking now), you can interact with it via UART 2.  
*Once the modem is on (led D401, 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:
+
'''IGEP BERLIN:'''
 +
<pre>echo 0 &gt; /sys/class/gpio/gpio145/value
 +
echo 1 &gt; /sys/class/gpio/gpio163/value
 +
sleep 1
 +
echo 0 &gt; /sys/class/gpio/gpio163/value</pre>
 +
*Once the modem is on (led near power button is blinking now), you can interact with it via UART 2.
 +
 
 +
You can use Microcom to comunicate with it from the serial debug console:
 
<pre>microcom -s 115200 /dev/ttyO1</pre>  
 
<pre>microcom -s 115200 /dev/ttyO1</pre>  
 
*To check the modem status use the command:<br>
 
*To check the modem status use the command:<br>
Line 31: Line 35:
 
*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=examplesstrength />
 
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=examplesstrength />
  
 
== 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 58:
  
 
'''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 74:
  
 
'''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 />

Latest revision as of 17:24, 5 September 2012

Overview

Telit modem is not supported by default in IGEPv2 Expansion and IGEP Berlin.

Configure

Configure this adding following kernel cmdline parameter

buddy.modem=yes 


Power up Modem

  • Power up the modem using the next commands:

IGEPv2 Expansion:

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.

IGEP BERLIN:

echo 0 > /sys/class/gpio/gpio145/value
echo 1 > /sys/class/gpio/gpio163/value
sleep 1
echo 0 > /sys/class/gpio/gpio163/value
  • Once the modem is on (led near power button 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: