LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2011, 04:16 AM   #1
expert_vision
LQ Newbie
 
Registered: Mar 2011
Posts: 13

Rep: Reputation: 0
Minicom - Call command


I have a router with linux firmware and attached to it a USB modem with which I can do both data and voice.

If I send ATD<number>; trough Minicom the call starts normaly, but if I send
Code:
echo -e "ATDT<number>;\r\n" > /dev/usb/tts/2
I get
Code:
ATDT<number>;
OK

^ORIG:1,0

^CEND:1,0,29,16
which means the command has been executed successfully but is immediately terminated normally. Any other command send through echo method works ok. I was able to send SMS, edit phonebook and many many other stuff, but not make a call.
So what is different from sending the call command within Minicom 2.5 and echo it?

Last edited by expert_vision; 06-11-2011 at 04:21 AM.
 
Old 06-18-2011, 05:26 AM   #2
expert_vision
LQ Newbie
 
Registered: Mar 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Gee that was stupid. AT commands have to be followed by a carriage return only, and the line feed was hanging up. That was really stupid.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to call certain command info haiyuan_victor Linux - Newbie 4 10-16-2010 11:48 PM
system call used by SIZE command santosh.sajjan Linux - Newbie 4 05-11-2010 10:02 AM
command and its corresponding system call darwins Linux - Kernel 3 12-25-2008 08:31 AM
Minicom via ttyS0: Please help with $TERM, $MINICOM, colors, mouse/gpm. GrapefruiTgirl Linux - Software 2 07-19-2008 07:01 AM
How to call Hibernate from command line hacker supreme Linux - Software 4 09-28-2007 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration