Skip to main content



      Home
Home » Eclipse Projects » Kura » Help: how to send byte stream in the serial transfer program?
Help: how to send byte stream in the serial transfer program? [message #1767612] Fri, 07 July 2017 10:58 Go to next message
Eclipse UserFriend
I implemented the SerialExample in the kura development documentation, but I found that when sending a byte stream, the program need to add "/ r / n" at the end to send it successfully,sb.append("\r\n"); , if you do not add "/ r / n ", the program will always stay waiting. How can i send byte stream without "/ r / n" ?
Re: Help: how to send byte stream in the serial transfer program? [message #1767613 is a reply to message #1767612] Fri, 07 July 2017 11:11 Go to previous message
Eclipse UserFriend
If you call flush() on the output stream, it should do exactly what you want and not wait for \r\n for effectively sending your bytes on the wire.
Previous Topic:Do Kura support Android and run on Android phone?
Next Topic:Kura and Jersey
Goto Forum:
  


Current Time: Tue Jul 08 05:07:50 EDT 2025

Powered by FUDForum. Page generated in 0.03293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top