Re: Determining the type of expansion card currently in use
- From: Chris <chris.bono@xxxxxxxxx>
- Date: Wed, 18 Jul 2007 13:06:13 -0700
Hi Paul,
Thanks for your insight. To my knowledge, there are no plans to
support RFID readers that aren't connected via CF or CD (of course, we
all know requirements change).
I've ran across mention of using the "Storage Manager" to query
devices attached to the PDA. Are there standard bits of information
that can be gleaned from attached devices? For instance, I'm aware
that most USB-connected peripherals on the desktop provide a "Device
ID," which I believe is part of the USB standard. Is there something
similar to a Device ID that I could get via the Storage Manager?
I haven't found any documentation on the Storage Manager, so I'm not
even sure where to start with it.
-Chris
On Jul 17, 10:57 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
The only way to know if this is the best answer would be to know all about
the RFID cards that you want to use and, perhaps more important, *how they
are connected to your device*. RFID could be handled via ordinary RS-232,
in which case there would be no difference in the registry between one and
the next, although you might be able, once you opened COM2 or whatever, to
send a message and get information about the reader. If the only ways to
connect a reader that you're going to support are SD and CF, yes, you're
probably safe checking how the Active key set in the registry changes.
Paul T.
"Chris" <chris.b...@xxxxxxxxx> wrote in message
news:1184650780.000647.188440@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello all,
I'm working on a mobile application that uses an RFID chip reader, and
now has to support multiple readers. I've found the pattern example at
MSDN for bar code scanners to be an excellent analog (http://
msdn2.microsoft.com/en-us/library/aa446489.aspx), and intend to model
my solution after that. However, it requires the ability to
distinguish between the different types of cards that may be plugged
in to the device.
I've found multiple articles regarding detecting the insertion/removal
of cards, but I feel that won't be sufficient for my situation. The
card is likely to have been inserted when the application isn't
running, so I need to be able to determine the installed card after
the fact.
This post:
http://groups.google.com/group/microsoft.public.dotnet.framework.comp...
...indicates that a potential source of information is the registry,
specifically the HKLM\Drivers\Active branch. I have confirmed that
there are two different entries that show up, one for each card. I
feel like this is probably workable, but as I'm very new to working
with hardware, I'm not sure if there are unforeseen pitfalls.
Is this the approach you'd take? Is there a better or more "proper"
way that I can determine the installed card?
The current version of my application supports a reader in a Compact
Flash form factor. The new card is Secure Digital. Neither have
storage, so they do not enumerate as directories.
I'm working on a Windows Mobile 5 PDA, using .NET Compact Framework
SP2.
Any help or advice is much appreciated!
Cheers,
Chris
.
- Follow-Ups:
- Re: Determining the type of expansion card currently in use
- From: Paul G. Tobey [eMVP]
- Re: Determining the type of expansion card currently in use
- References:
- Determining the type of expansion card currently in use
- From: Chris
- Re: Determining the type of expansion card currently in use
- From: Paul G. Tobey [eMVP]
- Determining the type of expansion card currently in use
- Prev by Date: Re: Custom Software Development
- Next by Date: Re: .NET CF 2.0 not deployed with my application
- Previous by thread: Re: Determining the type of expansion card currently in use
- Next by thread: Re: Determining the type of expansion card currently in use
- Index(es):
Relevant Pages
|