Search Results

Search: Posts Made By: blianna
21,221
Posted By blianna
Sorry...the last line was: echo -en...
Sorry...the last line was:
echo -en "\x1A">/dev/ttyS2

---------- Post updated at 12:11 PM ---------- Previous update was at 12:02 PM ----------

It workssssssssssss!!!!!!! Thank you so...
21,221
Posted By blianna
Thank you...I still have some problems.. i try...
Thank you...I still have some problems.. i try this code:

#!/usr/bin/env bash
stty -F /dev/ttyS2 speed 9600
sleep 3
echo "AT">/dev/ttyS2
sleep 3
echo "AT+CMGF=1">/dev/ttyS2
sleep 3
echo...
21,221
Posted By blianna
Yes I have made a mistake...the error was: ...
Yes I have made a mistake...the error was:

stty: /dev/ttyS2: unable to perform all requested operations

I have a doubt: ^Z in ASCII code is \032 so I have to write echo -en "\0321a">&5 or echo...
21,221
Posted By blianna
Using puTTy it works but my aim was to automate...
Using puTTy it works but my aim was to automate the process.
So I try:

# Open ttyS2 for reading and writing as FD 5
exec 5<>/dev/ttyS2
# Leave this running in the background
cat <&5 &
#...
21,221
Posted By blianna
cygwin error device or resource busy
Hello!!!
My problem is: i'm trying to send At commands from Pc to mobile phone using bluetooth and cygwin and i would like to read the device's answers on the shell bash. And so, i open two...
Forum: UNIX and Linux Applications 08-21-2009
5,244
Posted By blianna
/dev/ttyS2 device or resource busy
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro...
4,385
Posted By blianna
cygwin /dev/ttyS2: Device or resource busy
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro...
5,641
Posted By blianna
AT commands and cygwin
Hello!!!
I try to run this code in cygwin:

echo "AT">/dev/ttyS2
echo "AT+COPS=?">/dev/ttyS2
read $LINE</dev/ttyS2
echo $LINE

I want to communicate with serial port /dev/ttyS2 but I found...
9,135
Posted By blianna
I write the code on block notes and then in the...
I write the code on block notes and then in the shell bash I write : sh name_file.txt
9,135
Posted By blianna
Does it work?!?!??! Is it possible that "my"...
Does it work?!?!??!
Is it possible that "my" cygwin doesn't recognize the read command??
9,135
Posted By blianna
Thank you for your reply but it displays the same...
Thank you for your reply but it displays the same error!!!!
9,135
Posted By blianna
Problems with simple script in cygwin
Hello!
I have somo problems with simple scripts like this:

#!/bin/bash
echo -n "Enter your name and press [ENTER]: "
read var_name
echo "Your name is: $var_name"


When I try to run...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 09:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy