Find the answer to your Linux question:
Results 1 to 2 of 2
Hello All , os-linux knoppix I am Using the AT commands in minicom for checking the signal strength and various purpose.... here Is the At commands i used in minicom ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    45

    AT command Shell Script - help ?

    Hello All ,

    os-linux knoppix


    I am Using the AT commands in minicom for checking the signal strength and various purpose....

    here Is the At commands i used in minicom

    command - AT+CSQ
    output - +CSQ: 14,99

    My requirement is ....

    To store this output in a variable...for logfile( which is in my application script )

    my idea is can we write a script ?
    or what I have to do ?


    Note: AT command works only when we open a minicom

    Please how I have to do in command line ? ( i want this to be store in a variable +CSQ: 14,99 )

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    If no one else has a solution, consider learning about expect.

    Google this:
    Code:
    expect tutorial
    Hope this helps.
    --
    Bill

    Old age and treachery will overcome youth and skill.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...