my application need to execute the command "iwconfig scan" it will give the list of SSID available......
my problem:
the command is executing only once.. if i click the button again it is not executing the command..
I am trying to clear the buffers.. but _serialPort->DiscardInBuffer();
_serialPort->DiscardOutBuffer(); are not working..
please help me to execute the commands by writing it to serial port and have to read the result of the command from the serial port if click the button.