Difference between revisions of "GSM/GPRS"
From ArmadeusWiki
(→Usage) |
(→Introduction) |
||
Line 5: | Line 5: | ||
==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 | + | GSM MODEM of the APF27Wireless extension board (APW) is connected to the UART2 (/dev/ttySMX1) of the APF27 module. |
==Linux configuration== | ==Linux configuration== |
Revision as of 10:53, 7 January 2010
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.
Contents
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 UART2 (/dev/ttySMX1) 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/ttySMX1 raw -echo -echoe -echok
AT commands
- Sending AT commands with cu utility (be sure to have installed it before):
# cu -l /dev/ttySMX1
- Check module presence
ATI3 SAGEM HiC,A.005.00 OK
- Enter PIN code
AT+CPIN="1234" OK
- Dial "123456789"
ATD"123456789"
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