Re: Waiting on data from driver



Sure, but your API had better be well documented, which in my book is full
documentation of the driver. The point is that the app deve needs
documentation of everything that they may need to effectively use the
driver, otherwise the driver isn't useful. Whether you choose to use the
standard stream interface, or a more friendly shim API doesn't matter -
providing docs on usage is important. Simply giving a header file and
saying "good luck" isn't appreciated.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate


"Steve Maillet (eMVP)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uO7xvBJuFHA.3256@xxxxxxxxxxxxxxxxxxxxxxx
> However if you provide a wrapper library API of some sort you don't
> necessarily need or want to document all the IOCTL codes as you can then
> change those without effecting the officially published API library.
> (Again serial ports are a good example of this) application developers
> have no documentation on all the IOCTL codes used in serial drivers) This
> is generally the preferred method as it simplifies the use of your driver
> and helps to protect against accidental mis-use of the DeviceIoControl
> Parameters.
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>


.



Relevant Pages

  • USB driver demos?
    ... possibility of writing a driver for the VLSI Vision ... CPiA webcam controller. ... tend to try and follow data from the original buffer to the API function that ... and/or a PDF version of the documentation on riscos-usb.org (multipage ...
    (comp.sys.acorn.programmer)
  • Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
    ... (It is not an API documentation; ... Without me (the API user) providing extra barriers, ... like generally if driver guys consider lockless ...
    (Linux-Kernel)
  • Re: How can I transfer data to a usb device?
    ... You can use Platform builder and it's reference drivers and documentation ... Certainly you can duplicate the ... USB Client driver for that "out of the box" ... smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Longtime VMS system manager/programmer available
    ... are quite a few things you can not do in a driver and there are ... Does similar documentation exist in the PL/I ... providing an API. ...
    (comp.os.vms)
  • Re: Tired of 100s of stupid Getter/Setter methods
    ... seeing as you're now scratching for even more marginal cases to ... >>reading the documentation that the library developer wrote. ... > ability to become familiar with an API. ... >>been ignoring real bugs in favor of some syntactic sugar. ...
    (comp.lang.java.programmer)