Solved

setting NDIS OID.

Posted on 2004-09-16
7
1,027 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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
Course of the Month7 days, 2 hours left to enroll

623 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