Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use Telit Modem

482 bytes added, 17:24, 5 September 2012
m
โ†’โ€ŽPower up Modem
= Overview =
<section begin=overview />Telit modem is not supported by default in IGEPv2 Expansion and IGEP Berlin. Use the following steps for it: <section end=overview />
= 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:<pre>ssh root@192.168.5.1 mkdir /tmp/tempmount -t jffs2 /dev/mtdblock1 /tmp/temp vi /tmp/temp/igep.ini </pre> *Add the following line (press i to insert content):  buddy.modem=yes<section end=configure />
*Save changes (ESC -&gt;&nbsp;:wq -&gt; Enter) and reboot your IGEP Device
= Power up Modem=
<section begin=powerup />
*Power up the modem using the next commands:
'''IGEPv2 Expansion:'''
<pre>echo 0 &gt; /sys/class/gpio/gpio140/value
echo 1 &gt; /sys/class/gpio/gpio141/value
sleep 1
echo 0 &gt; /sys/class/gpio/gpio141/value</pre> *Once the modem is on (led near SIM card reader, is blinking now), you can interact with it via UART 2. '''IGEP BERLIN:'''<pre>echo 0 &gt; /sys/class/gpio/gpio145/valueecho 1 &gt; /sys/class/gpio/gpio163/valuesleep 1echo 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>
*To check the modem status use the command:<br>
*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>
<section end=powerup />
= Examples =
<section begin=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].
<section end=examples />
== Test received signal strength<br> ==
<section begin=examplesstrength />
Use the instruction:
<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>
<section end=examplesstrength />
== Making a phone call<br> ==
<section begin=examplecall />
Use the instruction, replace number_to_call with your number:
<pre>atd number_to_call
'''NOTE:''' If "NO CARRIER" message appears, check your coverage or use an antenna.
<section end=examplecall />
== 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:
<pre>AT+CMGF=1</pre>
'''NOTE:''' Don't use special characters in SMS text message like &lt;`ยด'"&gt;.<br>
<section end=examplesms />
'''Know more'''<br>
<section begin=know_more />
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=522 Telit Modules Software User Guide]<br>
<section end=know_more />
4,199
edits