Re: Determining the type of expansion card currently in use



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


.



Relevant Pages

  • Re: CF dying?
    ... probably afford the new cards, readers, and computers to support new ... I believe my camera currently has a 512 meg card, ... 1600 or so pictures I could put on the 2GB card my camera will support, ... files can usually afford to keep up with current technology. ...
    (rec.photo.digital)
  • [patch 000/176] Video4Linux Updates
    ... Support for em28xx based usb2 boards; ... -Don't enable gpioirq until after card probe. ... -Some changes to allow compiling cx88 and saa7134 without ... -Fixed settings for MSI Vox USB 2.0 ...
    (Linux-Kernel)
  • Re: Help needed in rec.audio.pro
    ... > Rewire you can add even more to your environment (like Reason, FL Studio, ... Linux also has LADSPA and some VST's work as well. ... I have that card (sblive! ... Emu support seems to exist now. ...
    (comp.os.linux.misc)
  • Re: Help needed in rec.audio.pro
    ... > Rewire you can add even more to your environment (like Reason, FL Studio, ... Linux also has LADSPA and some VST's work as well. ... I have that card (sblive! ... Emu support seems to exist now. ...
    (alt.os.linux)
  • Re: MCE 2006 Wish List
    ... Yep - and almost all of the radio channels available with a Sky Digital ... DVB-S card to receive them without an analogue link in the chain! ... The lack of support for these transmission systems ...
    (microsoft.public.windows.mediacenter)