Hi All,
I am basically an application developer and i am new to driver world.
I am tasked to develop an application which talks to an API. This API
will inturn talk to USB-Serial driver.
I have the binaries of API and driver available with me.
I have few questions which may be basics to everyone this group. I am
excited to know the internals of what the API and driver does.
1) The application which i need to develop uses the API to talk to USB-
Serial. I want to know to which end my application will initiate the
calls. Is it the serial end or USB end? My assumption is my app will
talk to serial end which inturn converts the serial requests to USB.
2) If the answer for above question is serial interface first, then I
guess i need to configure the serial port settings i.e. baud rate
etc.. and write some data to serial interface in my app.
3) How can i test the USB-serial data transfer? My assumption is at
one end i use hyperterminal or similiar application and at other end i
have an application which has handle to USB device and waits for the
data. If the data matches it should be correct.
These questions may sound pretty easier to all of you, but help me to
understand the architecture.
Thank You.
Regards,
Tim