tag:blogger.com,1999:blog-252642453295590453.post8733510484546524162..comments2022-03-01T07:12:28.909+00:00Comments on Steve Marple's blog: RN-XV+SD shieldSteve Marplehttp://www.blogger.com/profile/15582257560382364498noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-252642453295590453.post-29763469200940989152014-04-19T14:33:51.852+01:002014-04-19T14:33:51.852+01:00Hi Steve, great effort! I have a question on the f...Hi Steve, great effort! I have a question on the flow control as I see you working with it in the code. I've noticed in my experiment receiving side (TCP server) when deserializes objects at times I am getting 3 bytes lost. The transmission speed is way below what specified on arduino and WiFly (230400 baud). I've implemented simple Cheksum and retransmission protocol on app level but thought of improving it with RTS when buffer gets full. I am not sure if I am doing things right as RTS (pin 12) on wifly gets triggered but lost bytes on the TCP Server side are still registered<br /><br />Could you please share you experience working with flow control and if you manager to overcome similar problems with buffer overflows. And how? Maybe simple example? <br /><br />Thanks!JenShenhttps://www.blogger.com/profile/05084889947732934942noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-55443768256173575842014-02-02T05:31:01.857+00:002014-02-02T05:31:01.857+00:00Steve, do you have flow control turned on for your...Steve, do you have flow control turned on for your RN-XV (set uart flow 1)? I'm following the specs, but whenever I turn flow control on, I stop receiving data from my RN-XV. The docs say "NOTE: Once flow control is enabled, it is important to properly drive the CTS pin (active LOW enabled) If CTS is HIGH, data will NOT be sent out the UART, and further configuration in command mode will be problematic as no response will be received." However, no matter what I do (driving CTS low or high), the RN-XV won't send data back to me once i turn uart flow control on. :( Tangohttps://www.blogger.com/profile/07099596537908351983noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-28003303261029390802012-03-05T20:49:26.502+00:002012-03-05T20:49:26.502+00:00I've only used the RN-XV to send data from the...I've only used the RN-XV to send data from the Arduino. The default configuration should allow you to telnet into the RN-XV on port 2000 and send data. The Arduino will have to parse the output of the RN-XV to read the "H".<br /><br />I've tried to avoid parsing the serial output. You might be able to do the same, by setting a GPIO from the remote telnet session and having the Arduino monitor one of the RN-XV GPIO lines. It'll depend whether your shield uses any additional I/O from the RN-XV.Steve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-64576510909428973122012-03-01T18:23:14.022+00:002012-03-01T18:23:14.022+00:00I want to talk to arduino through wifi. I have a s...I want to talk to arduino through wifi. I have a shield that connects arduino to rn-xv. And I have a sketch in my arduino telling it to turn on a led when it receives the letter "H" (for example) through serial. How can I tell (using telnet, or other way) rn-xv to send the string "H" to arduino. Thank you very muchDeLordhttps://www.blogger.com/profile/16758456160347379162noreply@blogger.com