Hi all. I have done the dd-wrt upgrade to my old WRT45G router and have gotten ser2net working already. I wrote a simple Java socket and was successfully send a string from my PC to the router's serial port via WiFi.
On the router side; however, I am stuck trying to verify if data that is sent to the serial port gets broadcasted out via WiFi signal. If you have done something like that before, could you please share your experience?
The last thing I tried was using netcat (nc for Windows) but as soon as I echo "data" > /dev/tts/1, my netcat quits. This only goes to show me that the router is indeed sending something out, but the receiving end still cannot verify what was sent.
In summary:
PC socket --> WiFi --> ser2net --> /dev/tts/1 : Checked! It is working correctly
/dev/tts/1 --> ser2net --> WiFi --> PC socket : How to test?
Thanks in advance!
David