Sample USB Application

I would like an application that runs on the Linux platform (distribution of your choice).

Imagine you have two usb ports on your machine that have a male-to-male USB cable connected between them. I would like an application that can send date from one port to the other. How about the following:

Two applications, one that is the "Server", and one that is the "Client". The user starts the "Server" application and it grabs a specific or random USB port and starts "listening" on that port. Then the user opens up another terminal window and runs the client. Somehow the user specifies which USB port to use for outgoing traffic, and the application connects to the "Server" application listening on the other USB port. Then whatever the Client sends in the terminal, which is specified by entering text on the context and pressing the "enter/return" key at the end is sent.

More specifically:

Server - An application that listens on a USB port and echos everything received to the console once it is received. The port is specified as follows:

- The USB port has to be specified on the command line - I do not know the proper format, whether it is simply the number "1" or /dev/usb01 or what not.

Client - An application that makes a connection to the "Server" and listens on the console for input text. It saves all characters typed in on the console into a buffer and trasmits the entire buffer with the newline character to the Server once a newline character is detected.

I hope this application is clear, I only need this so that I can get started with an application to communicate over the USB bus, so basically any application that demonstrates how to communicate over the USB bus with a male-to-male cable is all I really need.

thank you,


Habilidades: Programação C++

Veja mais: how to get started programming, how to get started on programming, how to get started in c programming, get started with c# programming, get started with c programming, c++ usb programming, cable programming, traffic application, Console application, command line application, terminal server user, programming usb, send command client server, can bus application, linux can bus, dev server client, linux command application, send date, usb server, user usb, terminal application, linux server application, console applications, client server application linux, usb ports

Acerca do Empregador:
( 15 comentários ) Flushing, United States

ID do Projeto: #6841413

1 freelancer está oferecendo em média $25 para esse trabalho


A proposal has not yet been provided

$25 USD em 1 dia
(0 Comentários)