GSM modem

This is a very __stupid__ trial, using a serial modem to make it work with Android. [LOL]

GSM modem:

you can use any serial GSM modem. standard modem supports AT standard command. i test with PC first, and it worked fine. both sms function and phone function. first time i use the same cable with development board and it was not working at all. then i modified the cable, if you face the same problem, make sure the serial cable is correct as Plug/Plug Crossover :

RXD <-> TXD
TXD <-> RXD
RST <-> CTS
CTS <-> RTS

changed on one side 2 with 3 and 7 with 8.

Testing

check the baudrate with stty -F /dev/ttymxc2, connect to a PC, start a terminal prog with the correct baudrate.
then you can make echo AT > /dev/ttymxc2 and you should see it on your pc.
You can also do a getty -L 115200 /dev/ttymxc2 to open a console.

You can change the baudrate with stty -F /dev/ttymxc2 {baudrate}.

Advertisements

4 thoughts on “GSM modem

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s