Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: bimodh on January 25, 2013, 07:37:58 AM

Title: MOD GSM with OLinuxino - How to?
Post by: bimodh on January 25, 2013, 07:37:58 AM
Hi,

I have an OLINUXINO A13 Board Loaded with Linux OS as given here.(https://www.olimex.com/forum/index.php?topic=537.0 (https://www.olimex.com/forum/index.php?topic=537.0))

I recently purchased a MOD GSM Also. And i connected my MOD GSM with A13 via UEXT. Now, how can i access it inside?

How to access the MOD GSM as a Serial Port, or how can i send the AT Commands from Olinuxino A13 to MOD GSM?
Title: Re: MOD GSM with OLinuxino - How to?
Post by: olimex on January 25, 2013, 08:49:36 AM
you have to read SIM340 datasheet and AT command set, then to read MOD-GSM schematic and user manual to get the basics
then you can see the imx233 MOD-GSM code example it will run on A13 too
very important is to first make sure MOD-GSM is with remove hardware flow control

to switch to software control:

AT+IFC=1,1
AT&W

or

AT+IFC=0,0
AT&W

AT+IFC is control command
AT&W save to the EEPROM

after these commands you need to restart the module

read more about it at

https://www.olimex.com/Products/Modules/RF/MOD-GSM/resources/SIM340DZ_ATC_V1.00.pdf

pages 7 and 33