Search Results

Search: Posts Made By: daaran
Forum: Programming 10-19-2009
5,687
Posted By daaran
Hi, thank you very much. popen seems to works...
Hi, thank you very much.
popen seems to works ok. But there s a problem with pclose();

when I write:

file = popen ("cu -l /dev/ttyACM0 -s 9600", "w"); //WRITE
fputs("AT\n",file);...
Forum: Programming 10-19-2009
5,687
Posted By daaran
Command output into a variable
Hi, with this command:

cu -l /dev/ttyACM0 -s 9600 > name.txt

I put the output of the port in a txt

Is posible to do the same (or similar) in a var directly, inside a C program?

cu -l...
Forum: Programming 10-17-2009
3,071
Posted By daaran
salida de comando a variable
Buenas, estoy intentando hacer lo siguiente:
Enviar un comando at a un telefono movil y recibir la respuesta para tratarla.
Algo estaré haciendo mal que usando open, write y read, solo consigo...
Showing results 1 to 3 of 3

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