all groups > dotnet compact framework > september 2005 >
You're in the

dotnet compact framework

group:

How to find a service name of IR Device


Re: How to find a service name of IR Device Peter Foot [MVP]
9/29/2005 10:52:43 PM
dotnet compact framework:
If it's a standard serial emulation I think it should be "IrDA:IrCOMM"

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net

[quoted text, click to view]

How to find a service name of IR Device raghu
9/30/2005 11:05:31 AM
please can any one tell how to find the service name of IR device like IR
printer

Thanks in advance
raghu

Re: How to find a service name of IR Device raghu
9/30/2005 11:41:05 AM
Thanks Mr Peter for your reply

But i tried with this and i colud not connect. presently i am able to
connect to connect to printer using 'LAP-SEL1', but this will become hard
code value and i am working on a product that should work independent of
device. so please tell me how to get all the service names of the detected
device.

Thanks in advance

[quoted text, click to view]

Re: How to find a service name of IR Device Alan J. McFarlane
10/2/2005 3:02:18 PM
[quoted text, click to view]
From an earlier thread,
http://groups.google.co.uk/group/microsoft.public.pocketpc.developer/browse_frm/thread/bcc6bedac0aa69d6/ca9cda1648a5a6df?lnk=st&q=alanjmcf+irlpt&rnum=5&hl=en#ca9cda1648a5a6df
"
Printers normally use the IrLPT protocol (part of the IrCOMM suite). It
requires that one uses IrLMP alone rather than with TinyTP as is normal.
There is apparently no way of setting that mode in .NET CF. :-(
"

Then see sample code at
http://www.alanjmcf.me.uk/comms/infrared/irdaWinsockCliIrLpt.c.html etc,
information on the IrLPT 'profile' at
http://www.alanjmcf.me.uk/comms/infrared/IrDA%20uses%20(brief).html#_Toc71546544,
and a programming reference at
http://www.alanjmcf.me.uk/comms/infrared/Microsoft%20Windows%20IrDA%20programming.htm
etc. :-,)
--
Alan J. McFarlane
http://www.alanjmcf.me.uk/
Please follow-up in the newsgroup for the benefit of all.
AddThis Social Bookmark Button