MOD GSM with OLinuxino - How to?

Started by bimodh, January 25, 2013, 07:37:58 AM

Previous topic - Next topic

bimodh

Hi,

I have an OLINUXINO A13 Board Loaded with Linux OS as given here.(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?

olimex

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