Récupérer retour d'une commande sur /dev/ttyUSB0
Fermé
Reifircax
Messages postés
6
Date d'inscription
samedi 29 août 2015
Statut
Membre
Dernière intervention
31 mars 2016
-
25 mars 2016 à 16:04
Reifircax Messages postés 6 Date d'inscription samedi 29 août 2015 Statut Membre Dernière intervention 31 mars 2016 - 31 mars 2016 à 10:39
Reifircax Messages postés 6 Date d'inscription samedi 29 août 2015 Statut Membre Dernière intervention 31 mars 2016 - 31 mars 2016 à 10:39
A voir également:
- Récupérer retour d'une commande sur /dev/ttyUSB0
- Invite de commande - Guide
- Telecharger dev c++ - Télécharger - Langages
- Comment recuperer un message supprimé sur whatsapp - Guide
- Massgrave dev - Accueil - Windows
- Commande terminal mac - Guide
1 réponse
dubcek
Messages postés
18765
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
20 février 2025
5 625
26 mars 2016 à 08:53
26 mars 2016 à 08:53
hello
utiliser runscript
runscript is a simple script interpreter that can be called from within the minicom communications program to automate tasks like logging in to a unix system or your favorite bbs.
utiliser runscript
runscript is a simple script interpreter that can be called from within the minicom communications program to automate tasks like logging in to a unix system or your favorite bbs.
30 mars 2016 à 14:12
Mais cela ne semble pas mieux fonctionner
J'ai créé le fichier script.txt suivant :
send command1
expect "resultat1" {send "Test OK"}
puis je l'ai executer via la commande :
sudo minicom -S script.txt -c on -D /dev/ttyUSB0
Je vois bien command1 qui s'execute et resultat1 qui s'affiche sur minicom
cependant "Test OK" n'est pas envoyé
31 mars 2016 à 09:56
qui s'affiche où ?
31 mars 2016 à 10:39