Hi,
I still can not figure out a strange problem in data sending over serial communcation of wrt54gl router with Arduino.
First of all, with a very straight forward and simple code you see here, I expect to run it, type "this" and get it back, but I receive some white space, then the characters of the word "this" but not in the order!
the next very strange behavior I can't understand is that if I comment the pointer allocation in the setup, and uncomment the one (currently commented) in the loop function, then even the unordered "this" won't appear when I type it!
Also the second question is remained: why when i uncomment the pointer allocation in the loop and comment it in all other places, the "this" sent brings back white space! I.e. the code stops functioning at all!
I can't explain it why, but as I removed sriBufCounter = 0; I started to get "this" when I type "this". Even though, having it seems to be logical too!