The problem is that I have to add sleep(2) (at least 2s) after write
user input to the port (line 17 I think) otherwise the output would not
be what I expect. Without this sleep command, every character I type,
the output is shown with next character not at time :
Router>abc // While I typed "abcd". If I continue with typing "e", then the output will be "abcd" and so on ...
On 03/17/13 08:56, Ted Reynard wrote:
> Hi guys
> I'm trying to connect to CISCO router using termios. So I decided to
> have two threads one for reading data and the other one for writing
> And here's my code :
>>> Hi guys
>>> I'm trying to connect to CISCO router using termios. So I decided to
>>> have two threads one for reading data and the other one for writing
>>> And here's my code :
>> What device(s) are you using under /dev/ ?
> I'm using ttyu0 , ttyu1 , ...
This is not an ISDN device. This list is for ISDN related matters.