Data which I want to send is Real Time Data. On Tuesday, November 29, 2016 at 6:44:57 PM UTC+5:30, Dennis Lee Bieber wrote: > > On Tue, 29 Nov 2016 03:59:45 -0800 (PST), Gourav > <[email protected] <javascript:>> declaimed the > following: > > >I currently using BeagleBone Green Wireless board for transferring the > data > >from host PC to BeagleBone Board using USB. But I unable to find API for > >USB for this Board.Please help me to know from where I get API for > writing > >a programme to transfer data using USB. > > You don't say what type of data you are transferring so I have to > blast > out lots of ideas. > > Presuming the BBGw acts like the BBB, connecting via the USB > activates > a TCP/IP (pseudo Ethernet) connection. The BBB (at least) runs an SFTP > server, so /file transfer/ can be done by merely using an SFTP client on > the host computer and logging into the BBB using the IP address on the USB > link. > > If you are doing "real time" data transfers -- ie; one device is > collecting some sort of data and sending it to the other as it becomes > available (rather than collecting it into a file and some time later > sending the entire file /as a file/), then regular network "socket" > programming should suffice -- you'll have to impress some protocol on it > as > TCP is a streaming protocol, and what you receive may be broken into > chunks > of different size than had been sent (if sending text, you have to look > for > the line endings; if sending binary data you may need to first send a > byte-count to tell the receiver how much data it needs to collect before > it > can declare the record done). > > IOWs -- you are not "talking USB"! The drivers to interface > "sockets" > to the USB serial port emulation are already in place. > -- > Wulfraed Dennis Lee Bieber AF6VN > [email protected] <javascript:> HTTP://wlfraed.home.netcom.com/ > >
-- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/5f41f1f6-cea2-4411-9e9b-15fd57d05db3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
