Use OpenNetCF.Net.SignalStrengthInDecibels under XP?

  • Thread starter Benjamin Lukner
  • Start date
B

Benjamin Lukner

Hi!

I was wondering if I could use the OpenNetCF.Net code to get the signal
strength on a embeddedXP terminal.

I switched from "coredll" to "kernel32",
replaced "UIO1:" with "\\\\.\\Ndisuio",
read the adapter name "{461AC549-2458-42D5-8829-B29952667DB9}" of the
WLAN card,
switched FileAccess.All to Read || Write (What value is it? 0xC0000000
or 0x00000003?)...

and DeviceIoControl returns False with "error: cannot obtain value".

Is it at least possible to get it to work under XP?

Sorry for posting off topic here, but you know the source code. I don't
think that the OpenNetCF code is familiar to the people from the XP
newsgroups ;-)

Thanks and kind regards,

Benjamin Lukner
 
P

Paul G. Tobey [eMVP]

Who knows!? You'll have to read up in MSDN or somewhere on how to get
wireless information from adapters there. If it's the same, which seems
unlikely to me, then you'd be able to use it. Isn't there a C sample
somewhere that gets the signal strength for an RF card?

Paul T.
 
M

Malc

Yes its possible with ndisuio, or it might be easier for you to just use
WMI. Connect to the root\wmi namespace and look at the classes in msndis.
 
P

Paul G. Tobey [eMVP]

If it is possible with ndisuio, there is little, if any, documentation on
the structures which are to be passed or the format in which they are
passed. There is, at least, some documentation on WMI, although I'd
consider its quality poor and find that, although it must have a target
audiance, I can't figure out who it is (driver writers, I guess, but it
seems poor, even for them). I'd go WMI, if I had to write something for XP,
right now...

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top