Difference between revisions of "GSM/GPRS"

From ArmadeusWiki
Jump to: navigation, search
(Links)
(Links)
Line 104: Line 104:
 
* [http://www.developershome.com/sms/ SMS tutorial]
 
* [http://www.developershome.com/sms/ SMS tutorial]
 
* http://wiki.openmoko.org/wiki/Neo_1973_and_Neo_FreeRunner_gsm_modem
 
* http://wiki.openmoko.org/wiki/Neo_1973_and_Neo_FreeRunner_gsm_modem
 +
* [http://www.anotherurl.com/library/at_test.htm AT Test commands]
 
* [http://www.technologuepro.com/gsm/commande_at.htm Les commandes AT]
 
* [http://www.technologuepro.com/gsm/commande_at.htm Les commandes AT]
  
 
[[Category:Wireless]]
 
[[Category:Wireless]]

Revision as of 14:42, 20 July 2010

Page under construction... Construction.png 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 UART2 (/dev/ttySMX1) of the APF27. We currently are using a Sagem's Hilo module. Datasheets are only available with a NDA, but I'm sure Google fans will find some interesting pdf when trying "Hilo AT commands" ;-).

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

# cu -l /dev/ttySMX1
  • Check module presence:
ATI3
SAGEM HiC,A.005.00

OK
  • Get constructor name:
AT+CGMI
SAGEM

OK
  • Get model name:
AT+CGMM
HILO GPRS

OK
  • Enter PIN code:
AT+CPIN="1234"

OK
  • Check PIN code status:
AT+CPIN?
+CPIN: READY

OK
Note Note: Don't launch further AT commands if PIN code wasn't entered successfully


  • Check module status (0 Ready, 1 Unavailable, 2 Status unknown, 3 Ringing, 4 Call in progress, 5 Asleep):
AT+CPAS
+CPAS: 0

OK
  • Voice call "123456789"
ATD"123456789";
OK
  • Terminate current call:
ATH
OK

Tools to look at

Links