0
edits
Changes
m
Here there are a few instructions in order to introduce the Telit modem: <br>
=== Enable Here there are a few instructions in order to introduce the Telit Modem supportmodem.<br> ===
The Now its time to power up your modem. You may read the official manufacturer [http://telit.com/module/infopool/download.php?id=1666 hardware user guide] explains , where there is a complete explanation about the complete sequence to power up the modem.<br>
The In IGEP0022, the modem is connected to 3 GPIO pins from the OMAP, which are: <omap_pin_name (modem_function)>
echo 1 > /sys/class/gpio/gpio141/value # Sets to '0' To check the modem On_Off pinstatus use the command:<br> <pre>at</pre> Answer should be OK.<br>
sleep 1(Note: correcting syntax with 'backspace' may cause error in a serial command if you are not writing the command at first take)
echo 0 > /sys/class/gpioIn order to use your GSM/gpio141/value # Sets GPRS you should insert a valid SIM card to '1' the modem On_Off pin</pre>SIM card reader of your IGEP0022 expansion board.
=== Check statusNow unlock it by inserting your SIM card PIN number. Use the command:<br> <pre>at+cpin===<PIN></pre>If you correctly inserted the PIN number, the answer should be OK.
Once the modem is on(Note: If you fail more than 3 times, your SIM card will lock and you can interact with it via UART 2will have to insert PUK number. You can use Microcom to comunicate with it from the serial debug console: ) <pre>microcom -s 115200 /dev/ttyS1 # GE865 has auto baud rate detection, so Now you can are ready to use a different speed</pre> You can check the list of all commands at the manufacturer [http:GSM//telit.com/module/infopool/download.php?id=522 software user guide]GPS modem. (Note: correcting syntax with 'backspace' may cause error in a serial command)
To check the modem status use the command:<br><pre>at</pre>Answer should be OK.<br>== Examples ==
=== PIN insertion<br> ===If you successfully '''followed the the previous instructions''', you are ready to test the GSM/GPRS modem. Here are some examples of simple commands:
To insert your PINYou can check the complete list of AT number use commands at the commandofficial manufacturer [http:<br> <pre>at+cpin//telit.com/module/infopool/download.php?id=<PIN></pre>522 software user guide].
If previously inserted the PIN, use Use the instruction:
no edit summary
/etc/init.d/xserver-nodm start
= Using How to use Telit Modem =
The IGEP0022 expansion board provides a Telit [http://telit.com/en/products/gsm-gprs.php?p_ac=show&p=47 GE865] GSM/GPRS modem which is connected to the OMAP via some GPIO pins and UART 2.<br>
*[http://telit.com/module/infopool/download.php?id=522 Telit Modules Software User Guide]<br>
If this is your first time accessing Telit Modem, you must add the following line at the kernel file (igep.ini) in order to enable GE865 support :
<pre>buddy.modem=yes</pre> === Power Up<br> ===
*GPIO_140 (Reset)
You can power up your modem using the following sequence:
(Note: the following instructions are correctly 'toggled' do to pull-up resistors. Refer to schematics at the official [http://igep.es/index.php?option=com_content&view=article&id=99&Itemid=129&dir=%2Fvar%2Fwww%2Fvhosts%2Figep.es%2Fhttpdocs%2Fdownloads%2F01-ISEE_Products%2FIGEPv2_EXPANSION%2FHW_Schematics&download_file=%2Fvar%2Fwww%2Fvhosts%2Figep.es%2Fhttpdocs%2Fdownloads%2F01-ISEE_Products%2FIGEPv2_EXPANSION%2FHW_Schematics%2FIGEP.0022-EXP_BOARD_SCH_rev_b3.pdf IGEP0022 Hardware Manual] from ISEE) <pre>echo 0 > /sys/class/gpio/gpio140/value # Sets to 'echo 1 > /sys/class/gpio/gpio141/valuesleep 1' echo 0 > /sys/class/gpio/gpio141/value</pre> Once the modem Reset pinis on, 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/ttyS1</pre> (Note: GE865 has auto baud rate detection, so you can use a different speed)<br>
=== Making a phone call<br> ===
<pre>atd <number_to_call>
</pre>
=== Sending a SMS<br> ===
There are so many ways in this modem to send a message. Here you have a simple example. If previously inserted the PIN, use Use the instruction:
<pre>at+cmgs="<destination_number>"
> <insert_here_your_text_message>
</pre>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.<br>