ts-7000
[Top] [All Lists]

Re: [ts-7000] How to open TTYAM1 in Ts7400

To:
Subject: Re: [ts-7000] How to open TTYAM1 in Ts7400
From: Razvan-Ionut Stoian <>
Date: Wed, 24 Nov 2010 10:33:10 -0800 (PST)


This is a test script I used with my cell phone (you must install python on your board first.) Execute this small script to send an SMS:

#!/usr/bin/python

import serial

# install python-serial with sudo apt-get install python-serial

ser_dev = serial.Serial('/dev/ttyAM1', 115200)
#ser_dev.bytesize = 8
#ser_dev.parity = "N"
#ser_dev.stopbits = 1
ser_dev.timeout = 0.1
ser_dev.open()
print ser_dev
ser_dev.write("ATZ\r")
ser_dev.write("AT+CMGF=1\r")
ser_dev.write("AT+CMGS=\"phone_number_here\"\r")
ser_dev.write("Test string")
ser_dev.write("\032")
ser_dev.close()

# http://www.developershome.com/sms/ - great reference for AT commands
R.

--- On Wed, 11/24/10, Simon Leung <> wrote:

From: Simon Leung <>
Subject: Re: [ts-7000] How to open TTYAM1 in Ts7400
To:
Date: Wednesday, November 24, 2010, 1:22 PM

 

You should be able to use "echo" command to issue AT commands for a quick test.
For minicom, I'd suggest picocom which is much simpler to use.



From: crocmortsemi <>
To:
Sent: Wed, November 24, 2010 3:17:17 PM
Subject: [ts-7000] How to open TTYAM1 in Ts7400

Hello,
I'm newbie in the Arm Linux environment and in this forum.
I own a TS-7400 and I have a Telit GPS-GSM connected on the UART port.
In the /dev from the embedded linux I see the different serial output TTYAMx but I don't know how to connect me to introduce the AT commands.
I've already tried with the getty command but unsuccessfully.

Do I need to install a kind of minicom software?

Thanks in advance,

W.



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
    m("yahoogroups.com","ts-7000-digest");" target="_blank" href="/mc/compose?to=">
    m("yahoogroups.com","ts-7000-fullfeatured");" target="_blank" href="/mc/compose?to=">

<*> To unsubscribe from this group, send an email to:
    m("yahoogroups.com","ts-7000-unsubscribe");" target="_blank" href="/mc/compose?to=">

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/





__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU