Tech Support > Microsoft Windows > Drivers > IRDA (USB) - send, read
IRDA (USB) - send, read
Posted by norti on June 9th, 2005


Hi all,
what is the simplest way to send/receive some data (for example one number -
integer) from one to another computer using IRDA (USB) driver. DDK's demo
application which send/receive data using IRDA works with Sockets. I would
like to write it without Sockets, etc. but on the lowest level using
commands: createfile, deviceIOcontrol, ...
The problem is where can I find the information how to set up IRDA
connection using deviceIOcontrol (which IOControlCode use), which parameters
I must set, how to send/receive the data (also deviceIOcontrol or
write(read)file) ? Any suggestions are welcome, thanks to everyone.

Best regards,
norti


Posted by Maxim S. Shatskih on June 10th, 2005


Sockets are the lowest layer of IrDA accessible from user mode.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"norti" <nortiNORTInorti@wuP.pl> wrote in message
news:d8a3al$5pf$1@nemesis.news.tpi.pl...


Posted by norti on June 10th, 2005


Użytkownik "Maxim S. Shatskih" <maxim@storagecraft.com> napisał w wiadomo¶ci
news:eaLTdBYbFHA.3252@TK2MSFTNGP10.phx.gbl...
Ok, but is it possible to write the app using deviceIOcontrol, createfile,
closehandle, etc.
to communicate with IrDA ?

norti



Posted by Maxim S. Shatskih on June 10th, 2005


IIRC no. The IrDA link layer is in irda.sys, and the upper edge of this
component is TDI. So, sockets is the lowest user-mode API for it.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"norti" <nortiNORTInorti@wuP.pl> wrote in message
news:d8bdpl$s32$1@nemesis.news.tpi.pl...



Similar Posts