GSM/GPRS: Difference between revisions
From ArmadeusWiki
(→Usage) |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Under_Construction}} | {{Under_Construction}} | ||
This page will summarize informations to use the GSM/GPRS module of the APF27Wireless board. | This page will summarize informations to use the GSM/GPRS module of the [[Wireless_extension_board|APF27Wireless board]]. | ||
==Introduction== | ==Introduction== | ||
GSM/GPRS are generally driven through the RS232 bus. AT commands are used to dialog with the module. | GSM/GPRS are generally driven through the RS232 bus. AT commands are used to dialog with the module. | ||
GSM MODEM of the APF27Wireless extension board (APW) is connected to the UART5 (/dev/ttySMX4) of the APF27 module. | GSM MODEM of the APF27Wireless extension board (APW) is connected to the UART5 (/dev/ttySMX4) of the APF27 module. | ||
==Linux configuration== | |||
* Linux will have to be configured in order to tell it that an APW is connected to your APF27Dev: | |||
<pre class="host"> | |||
# make linux26-menuconfig | |||
</pre> | |||
<pre class="config"> | |||
System Type ---> | |||
Freescale MXC Implementations ---> | |||
... | |||
Extension board (Wireless (APW)) ---> | |||
[*] GSM/GPRS Modem (NEW) | |||
[ ] Bluetooth & WiFi module (NEW) | |||
[ ] CSI (Camera) pass-through (NEW) | |||
[ ] GPS module (NEW) | |||
</pre> | |||
<pre class="host"> | |||
$ make linux26 | |||
</pre> | |||
* reflash you Linux kernel | |||
==Usage== | ==Usage== | ||
Revision as of 16:44, 30 December 2009
Page under construction...
Informations on this page are not guaranteed !!
This page will summarize informations to use the GSM/GPRS module of the APF27Wireless board.
Introduction
GSM/GPRS are generally driven through the RS232 bus. AT commands are used to dialog with the module. GSM MODEM of the APF27Wireless extension board (APW) is connected to the UART5 (/dev/ttySMX4) of the APF27 module.
Linux configuration
- Linux will have to be configured in order to tell it that an APW is connected to your APF27Dev:
# make linux26-menuconfig
System Type --->
Freescale MXC Implementations --->
...
Extension board (Wireless (APW)) --->
[*] GSM/GPRS Modem (NEW)
[ ] Bluetooth & WiFi module (NEW)
[ ] CSI (Camera) pass-through (NEW)
[ ] GPS module (NEW)
$ make linux26
- reflash you Linux kernel
Usage
Configure serial port
# stty -F /dev/ttySMX4 raw -echo -echoe -echok
AT commands
- Sending AT commands with cu utility (be sure to have installed it before):
# cu -l /dev/ttySMX4
Tools to look at
- http://www.gnokii.org/
- http://www.alamin.org/en/index.html
- http://www.gammu.org/wiki/index.php?title=Gammu:Main_Page
- http://gatling.ikk.sztaki.hu/~kissg/gsm/index.html