Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

setting NDIS OID.

Posted on 2004-09-16
7
Medium Priority
?
1,036 Views
Last Modified: 2012-06-21
Hi experts,
How will set NDIS OIDs. I can use deviceiocontrol and query OIDs. But i can not set any OID. How this could be done?
IOCTL_NDIS_QUERY_GLOBAL_STATS works for query. Is there a set constant for this purpose?

Thanks
0
Comment
Question by:mmurat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 15

Expert Comment

by:unknown_routine
ID: 12076625
objects registered by the NDIS WMI provider have a one-to-one correspondence with NDIS object identifiers (OIDs).
therefore you can not set OID's directly.


have a look here:

http://www.ndis.com/faq/QA01050301/default.htm

and here

http://docsrv.sco.com:507/en/NetAdminG/CONTENTS.html


0
 

Author Comment

by:mmurat
ID: 12076688
so what should i do? I think some softwares like netstumbler, cirond winc or windows zero configuration can do this.
So what is the method doing this?
I need to associate and take the RSSI and NOISE. I dont have problem with RSSI or NOISE. But Association to a network needs to be made by setting OIDs.
or is there another method to do this?
thanx.
0
 
LVL 15

Expert Comment

by:unknown_routine
ID: 12076746
mmurat :

While im very experienced in VB and database but I have to confess that im a not

that good in network.

Add the 20 point question here:
http://www.experts-exchange.com/Networking/

and put a link to this page

http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21133313.html

there. in the question title mention this is a 500 points question.


the chances that you get an answer there is 10 times more than here(VB forum)


Good luck.


0
 

Author Comment

by:mmurat
ID: 12092378
well. I found the Prism OIDs. They are working. But I have problem with data type.
This is the data type of  802_11_SSID OID.

typedef UCHARNDIS_802_11_SSID;
{
  ULONG  SsidLength;
  UCHAR  Ssid[32];
} NSID_802_11_SSID, *PNDIS_802_11_SSID;

'vb form
Public Type testssid
    length(1) As long
    ssid(32) As Byte
End Type

     setssid.length = 7
     setssid.ssid(0) = &H41
     setssid.ssid(1) = &H69
     setssid.ssid(2) = &H72
     setssid.ssid(3) = &H74
     setssid.ssid(4) = &H69
     setssid.ssid(5) = &H65
     setssid.ssid(6) = &H73
' ssid is Airties
nret = DeviceIoControl(hDevice, IOCTL_NDIS_QUERY_GLOBAL_STATS, OID_802_11_SSID, 4, setssid, 36, lpret, 0&)
when i run this code, card disconnects from network. But it doesnt connect to Airties network either.
Pls help..
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12752449
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question